1.12 MB
/srv/reproducible-results/rbuild-debian/tmp.VghiKOE8Rz/b1/allegro5_5.2.4.0-3_i386.changes vs.
/srv/reproducible-results/rbuild-debian/tmp.VghiKOE8Rz/b2/allegro5_5.2.4.0-3_i386.changes
899 B
Files
    
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
  
1 ·ab65b45575fa83db37233​568e600c00f·​1512960·​doc·​optional·​allegro5-​doc_5.​2.​4.​0-​3_all.​deb1 ·4cfa84f2261bd6775e427​0b004e6f7f6·​1506084·​doc·​optional·​allegro5-​doc_5.​2.​4.​0-​3_all.​deb
2 ·​35c9a3938685172d074ec​1a4861c72fc·​13392·​libdevel·​optional·​liballegro-​acodec5-​dev_5.​2.​4.​0-​3_i386.​deb2 ·​35c9a3938685172d074ec​1a4861c72fc·​13392·​libdevel·​optional·​liballegro-​acodec5-​dev_5.​2.​4.​0-​3_i386.​deb
3 ·​9deb2487799bbdf9842cd​d939a4cd433·​61068·​debug·​optional·​liballegro-​acodec5.​2-​dbgsym_5.​2.​4.​0-​3_i386.​deb3 ·​9deb2487799bbdf9842cd​d939a4cd433·​61068·​debug·​optional·​liballegro-​acodec5.​2-​dbgsym_5.​2.​4.​0-​3_i386.​deb
4 ·​d08695e8d682ffedaf984​2db169c42b0·​30684·​libs·​optional·​liballegro-​acodec5.​2_5.​2.​4.​0-​3_i386.​deb4 ·​d08695e8d682ffedaf984​2db169c42b0·​30684·​libs·​optional·​liballegro-​acodec5.​2_5.​2.​4.​0-​3_i386.​deb
5 ·​3d54c1aeaf9b74a0812f8​7089d2ba8d9·​16060·​libdevel·​optional·​liballegro-​audio5-​dev_5.​2.​4.​0-​3_i386.​deb5 ·​3d54c1aeaf9b74a0812f8​7089d2ba8d9·​16060·​libdevel·​optional·​liballegro-​audio5-​dev_5.​2.​4.​0-​3_i386.​deb
6 ·​be9467e503335d9b2095f​18afce66bab·​102336·​debug·​optional·​liballegro-​audio5.​2-​dbgsym_5.​2.​4.​0-​3_i386.​deb6 ·​be9467e503335d9b2095f​18afce66bab·​102336·​debug·​optional·​liballegro-​audio5.​2-​dbgsym_5.​2.​4.​0-​3_i386.​deb
7 ·​a13d2ba3ea1ff8653a20e​af809442eb0·​54844·​libs·​optional·​liballegro-​audio5.​2_5.​2.​4.​0-​3_i386.​deb7 ·​a13d2ba3ea1ff8653a20e​af809442eb0·​54844·​libs·​optional·​liballegro-​audio5.​2_5.​2.​4.​0-​3_i386.​deb
8 ·​928e144159000cbcc487a​389b6b4d569·​14480·​libdevel·​optional·​liballegro-​dialog5-​dev_5.​2.​4.​0-​3_i386.​deb8 ·​928e144159000cbcc487a​389b6b4d569·​14480·​libdevel·​optional·​liballegro-​dialog5-​dev_5.​2.​4.​0-​3_i386.​deb
1.12 MB
allegro5-doc_5.2.4.0-3_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -​rw-​r-​-​r-​-​···​0········​0········​0········​4·​2018-​12-​10·​16:​55:​17.​000000·​debian-​binary1 -​rw-​r-​-​r-​-​···​0········​0········​0········​4·​2018-​12-​10·​16:​55:​17.​000000·​debian-​binary
2 -​rw-​r-​-​r-​-​···​0········​0········​0····​30304·​2018-​12-​10·​16:​55:​17.​000000·​control.​tar.​xz2 -​rw-​r-​-​r-​-​···​0········​0········​0····​30296·​2018-​12-​10·​16:​55:​17.​000000·​control.​tar.​xz
3 -​rw-​r-​-​r-​-​···​0········​0········​0··​1482464·​2018-​12-​10·​16:​55:​17.​000000·​data.​tar.​xz3 -​rw-​r-​-​r-​-​···​0········​0········​0··​1475596·​2018-​12-​10·​16:​55:​17.​000000·​data.​tar.​xz
621 B
control.tar.xz
593 B
control.tar
523 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.​4.​0-​33 Version:​·​2:​5.​2.​4.​0-​3
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:​·​39136 Installed-​Size:​·​3831
7 Depends:​·​ttf-​dejavu-​core7 Depends:​·​ttf-​dejavu-​core
8 Section:​·​doc8 Section:​·​doc
9 Priority:​·​optional9 Priority:​·​optional
10 Homepage:​·​http:​/​/​liballeg.​org/​10 Homepage:​·​http:​/​/​liballeg.​org/​
11 Description:​·​documentation·​for·​the·​Allegro·​5·​library11 Description:​·​documentation·​for·​the·​Allegro·​5·​library
12 ·​This·​package·​contains·​the·​Allegro·​documentation·​in·​various·​formats,​12 ·​This·​package·​contains·​the·​Allegro·​documentation·​in·​various·​formats,​
13 ·​FAQs·​and·​other·​documentation·​about·​the·​Allegro·​library,​·​source·​of·​the13 ·​FAQs·​and·​other·​documentation·​about·​the·​Allegro·​library,​·​source·​of·​the
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
1.12 MB
data.tar.xz
1.12 MB
data.tar
187 KB
file list
    
Offset 187, 389 lines modifiedOffset 187, 389 lines modified
187 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​1557·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_window_maximized.​c.​gz187 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​1557·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_window_maximized.​c.​gz
188 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​2660·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_window_title.​c188 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​2660·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_window_title.​c
189 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​2975·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_windows.​c189 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​2975·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_windows.​c
190 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​1674·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_winfull.​c190 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​1674·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​ex_winfull.​c
191 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​4406·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​nihgui.​cpp.​gz191 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​4406·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​nihgui.​cpp.​gz
192 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​1556·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​nihgui.​hpp.​gz192 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​1556·​2018-​02-​24·​20:​33:​07.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​examples/​nihgui.​hpp.​gz
193 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​193 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​
194 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​9554·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​acodec.​html194 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​9427·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​acodec.​html
195 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​186834·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​audio.​html195 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​160931·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​audio.​html
196 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​35631·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​autosuggest.​js196 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​35631·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​autosuggest.​js
197 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····51495·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​color.​html197 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····42570·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​color.​html
198 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​28705·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​config.​html198 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​28254·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​config.​html
199 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​14853·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​direct3d.​html199 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​14853·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​direct3d.​html
200 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​64022·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​display.​html200 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​63761·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​display.​html
201 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​63783·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​events.​html201 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​62765·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​events.​html
202 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​46664·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​file.​html202 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​46273·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​file.​html
203 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​42370·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​fixed.​html203 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​42249·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​fixed.​html
204 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····84611·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​font.​html204 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····71862·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​font.​html
205 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​34697·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​fshook.​html205 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​34128·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​fshook.​html
206 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​11078·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​fullscreen_mode.​html206 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​10947·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​fullscreen_mode.​html
207 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​16176·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​getting_started.​html207 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​16176·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​getting_started.​html
208 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​157213·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​graphics.​html208 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​156240·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​graphics.​html
209 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​59677·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​haptic.​html209 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​59174·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​haptic.​html
210 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····10221·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​image.​html210 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​9965·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​image.​html
211 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​211 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​
212 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​21480·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​LINE_CAP.​png212 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​21480·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​LINE_CAP.​png
213 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​15893·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​LINE_JOIN.​png213 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​15893·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​LINE_JOIN.​png
214 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​65065·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​audio.​png214 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​65065·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​audio.​png
215 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​16058·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​primitives1.​png215 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​16058·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​primitives1.​png
216 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​25805·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​primitives2.​png216 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​25805·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​images/​primitives2.​png
217 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​6238·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​index.​html217 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​6238·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​index.​html
218 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​105502·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​index_all.​html218 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​105502·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​index_all.​html
219 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​25956·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​joystick.​html219 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​25650·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​joystick.​html
220 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​18663·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​keyboard.​html220 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​18506·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​keyboard.​html
221 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​7923·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​main.​html221 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​7923·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​main.​html
222 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​9387·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​memfile.​html222 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​9030·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​memfile.​html
223 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​18721·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​memory.​html223 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​17682·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​memory.​html
224 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​8819·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​misc.​html224 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​8699·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​misc.​html
225 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​12678·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​monitor.​html225 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​12547·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​monitor.​html
226 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​30854·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​mouse.​html226 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​30703·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​mouse.​html
227 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····66501·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​native_dialog.​html227 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····58816·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​native_dialog.​html
228 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​22278·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​opengl.​html228 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​22278·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​opengl.​html
229 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​4020·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​pandoc.​css229 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​4020·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​pandoc.​css
230 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​28079·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​path.​html230 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​28079·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​path.​html
231 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​10747·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​physfs.​html231 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​10472·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​physfs.​html
232 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​21027·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​platform.​html232 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​21027·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​platform.​html
233 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​124519·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​primitives.​html233 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​···​107415·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​primitives.​html
234 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​68979·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​search_index.​js234 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​68979·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​search_index.​js
235 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​33397·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​shader.​html235 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​32950·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​shader.​html
236 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​12856·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​state.​html236 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​12589·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​state.​html
237 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​51897·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​system.​html237 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​51756·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​system.​html
238 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​25509·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​threads.​html238 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​25092·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​threads.​html
239 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​10082·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​time.​html239 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​10082·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​time.​html
240 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​19697·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​timer.​html240 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​19064·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​timer.​html
241 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​18886·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​touch.​html241 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​18159·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​touch.​html
242 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​47858·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​transformations.​html242 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​47711·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​transformations.​html
243 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​76284·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​utf8.​html243 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​76001·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​utf8.​html
244 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​24742·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​video.​html244 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​····​22229·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc/​allegro5-​doc/​refman/​video.​html
245 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc-​base/​245 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​doc-​base/​
246 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​300·​2018-​12-​09·​19:​00:​48.​000000·​.​/​usr/​share/​doc-​base/​allegro5246 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​300·​2018-​12-​09·​19:​00:​48.​000000·​.​/​usr/​share/​doc-​base/​allegro5
247 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​247 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​
248 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​248 drwxr-​xr-​x···​0·​root·········​(0)​·​root·········​(0)​········​0·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​
249 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​425·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_DEPTH.​3alleg5.​gz249 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​421·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_DEPTH.​3alleg5.​gz
250 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​545·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_EVENT_T​YPE.​3alleg5.​gz250 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​544·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_EVENT_T​YPE.​3alleg5.​gz
251 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​574·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_PAN_NON​E.​3alleg5.​gz251 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​569·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_PAN_NON​E.​3alleg5.​gz
252 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​333·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_RECORDE​R.​3alleg5.​gz252 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​329·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_RECORDE​R.​3alleg5.​gz
253 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​493·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_RECORDE​R_EVENT.​3alleg5.​gz253 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​488·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_RECORDE​R_EVENT.​3alleg5.​gz
254 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​955·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_STREAM.​3alleg5.​gz254 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​949·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_AUDIO_STREAM.​3alleg5.​gz
255 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​265·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_BITMAP.​3alleg5.​gz255 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​261·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_BITMAP.​3alleg5.​gz
256 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​272·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_BPM_TO_SECS.​3alleg5.​gz256 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​267·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_BPM_TO_SECS.​3alleg5.​gz
257 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​266·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_BPS_TO_SECS.​3alleg5.​gz257 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​261·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_BPS_TO_SECS.​3alleg5.​gz
258 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​298·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CHANNEL_CONF.​3alleg5.​gz258 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​296·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CHANNEL_CONF.​3alleg5.​gz
259 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​333·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_COLOR.​3alleg5.​gz259 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​328·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_COLOR.​3alleg5.​gz
260 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​263·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_COND.​3alleg5.​gz260 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​260·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_COND.​3alleg5.​gz
261 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​254·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CONFIG.​3alleg5.​gz261 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​250·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CONFIG.​3alleg5.​gz
262 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​324·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CONFIG_ENTRY.​3alleg5.​gz262 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​319·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CONFIG_ENTRY.​3alleg5.​gz
263 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​322·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CONFIG_SECTIO​N.​3alleg5.​gz263 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​317·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_CONFIG_SECTIO​N.​3alleg5.​gz
264 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​268·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_DISPLAY.​3alleg5.​gz264 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​264·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_DISPLAY.​3alleg5.​gz
265 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​485·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_DISPLAY_MODE.​3alleg5.​gz265 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​480·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_DISPLAY_MODE.​3alleg5.​gz
266 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​4653·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT.​3alleg5.​gz266 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​4650·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT.​3alleg5.​gz
267 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​388·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_QUEUE.​3alleg5.​gz267 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​384·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_QUEUE.​3alleg5.​gz
268 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​421·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_SOURCE.​3alleg5.​gz268 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​415·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_SOURCE.​3alleg5.​gz
269 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​315·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_TYPE.​3alleg5.​gz269 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​311·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_TYPE.​3alleg5.​gz
270 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​328·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_TYPE_IS​_USER.​3alleg5.​gz270 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​324·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_EVENT_TYPE_IS​_USER.​3alleg5.​gz
271 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​288·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILE.​3alleg5.​gz271 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​285·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILE.​3alleg5.​gz
272 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​267·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILECHOOSER.​3alleg5.​gz272 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​262·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILECHOOSER.​3alleg5.​gz
273 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······802·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILE_INTERFAC​E.​3alleg5.​gz273 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······799·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILE_INTERFAC​E.​3alleg5.​gz
274 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​331·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILE_MODE.​3alleg5.​gz274 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​328·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FILE_MODE.​3alleg5.​gz
275 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​425·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FONT.​3alleg5.​gz275 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​421·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FONT.​3alleg5.​gz
276 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​441·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT.​3alleg5.​gz276 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​437·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT.​3alleg5.​gz
277 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​334·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FS_ENTRY.​3alleg5.​gz277 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​331·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FS_ENTRY.​3alleg5.​gz
278 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​542·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FS_INTERFACE.​3alleg5.​gz278 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​540·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_FS_INTERFACE.​3alleg5.​gz
279 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​708·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_GET_EVENT_TYP​E.​3alleg5.​gz279 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​705·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_GET_EVENT_TYP​E.​3alleg5.​gz
280 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​832·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_GLYPH.​3alleg5.​gz280 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​829·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_GLYPH.​3alleg5.​gz
281 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​445·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC.​3alleg5.​gz281 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​440·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC.​3alleg5.​gz
282 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​835·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC_CONSTA​NTS.​3alleg5.​gz282 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​831·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC_CONSTA​NTS.​3alleg5.​gz
283 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​3155·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC_EFFECT​.​3alleg5.​gz283 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​3152·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC_EFFECT​.​3alleg5.​gz
284 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​471·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC_EFFECT​_ID.​3alleg5.​gz284 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​464·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_HAPTIC_EFFECT​_ID.​3alleg5.​gz
285 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​385·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_INDEX_BUFFER.​3alleg5.​gz285 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​382·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_INDEX_BUFFER.​3alleg5.​gz
286 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​353·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_JOYFLAGS.​3alleg5.​gz286 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​350·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_JOYFLAGS.​3alleg5.​gz
287 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​298·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_JOYSTICK.​3alleg5.​gz287 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​294·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_JOYSTICK.​3alleg5.​gz
288 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​442·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_JOYSTICK_STAT​E.​3alleg5.​gz288 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​437·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_JOYSTICK_STAT​E.​3alleg5.​gz
289 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​469·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_KEYBOARD_STAT​E.​3alleg5.​gz289 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​465·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_KEYBOARD_STAT​E.​3alleg5.​gz
290 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​456·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_LINE_CAP.​3alleg5.​gz290 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​454·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_LINE_CAP.​3alleg5.​gz
291 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​429·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_LINE_JOIN.​3alleg5.​gz291 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​428·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_LINE_JOIN.​3alleg5.​gz
292 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​815·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_LOCKED_REGION​.​3alleg5.​gz292 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​811·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_LOCKED_REGION​.​3alleg5.​gz
293 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​398·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MEMORY_INTERF​ACE.​3alleg5.​gz293 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​395·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MEMORY_INTERF​ACE.​3alleg5.​gz
294 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​310·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MENU.​3alleg5.​gz294 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​306·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MENU.​3alleg5.​gz
295 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​731·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MENU_INFO.​3alleg5.​gz295 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​728·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MENU_INFO.​3alleg5.​gz
296 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​515·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MIXER.​3alleg5.​gz296 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​511·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MIXER.​3alleg5.​gz
297 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​313·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MIXER_QUALITY​.​3alleg5.​gz297 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​310·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MIXER_QUALITY​.​3alleg5.​gz
298 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​480·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MONITOR_INFO.​3alleg5.​gz298 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​477·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MONITOR_INFO.​3alleg5.​gz
299 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​469·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MOUSE_EMULATI​ON_MODE.​3alleg5.​gz299 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​465·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MOUSE_EMULATI​ON_MODE.​3alleg5.​gz
300 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​472·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MOUSE_STATE.​3alleg5.​gz300 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​467·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MOUSE_STATE.​3alleg5.​gz
301 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​264·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MSECS_TO_SECS​.​3alleg5.​gz301 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​259·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MSECS_TO_SECS​.​3alleg5.​gz
302 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​258·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MUTEX.​3alleg5.​gz302 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​254·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_MUTEX.​3alleg5.​gz
303 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​323·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE.​3alleg5.​gz303 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​318·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE.​3alleg5.​gz
304 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​314·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PI.​3alleg5.​gz304 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​308·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PI.​3alleg5.​gz
305 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​2175·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PIXEL_FORMAT.​3alleg5.​gz305 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​·····​2173·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PIXEL_FORMAT.​3alleg5.​gz
306 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​274·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PLAYMODE.​3alleg5.​gz306 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​270·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PLAYMODE.​3alleg5.​gz
307 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​910·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_ATTR.​3alleg5.​gz307 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​907·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_ATTR.​3alleg5.​gz
308 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​585·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_BUFFER_F​LAGS.​3alleg5.​gz308 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​583·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_BUFFER_F​LAGS.​3alleg5.​gz
309 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​382·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_QUALITY.​3alleg5.​gz309 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​378·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_QUALITY.​3alleg5.​gz
310 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​921·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_STORAGE.​3alleg5.​gz310 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​918·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_STORAGE.​3alleg5.​gz
311 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······501·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_TYPE.​3alleg5.​gz311 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······498·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_PRIM_TYPE.​3alleg5.​gz
312 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​357·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_RENDER_FUNCTI​ON.​3alleg5.​gz312 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······​353·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_RENDER_FUNCTI​ON.​3alleg5.​gz
313 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······801·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_RENDER_STATE.​3alleg5.​gz313 -​rw-​r-​-​r-​-​···​0·​root·········​(0)​·​root·········​(0)​······798·​2018-​12-​10·​16:​55:​17.​000000·​.​/​usr/​share/​man/​man3/​ALLEGRO_RENDER_STATE.​3alleg5.​gz
Max diff block lines reached; 157323/191181 bytes (82.29%) of diff not shown.
2.79 KB
./usr/share/doc/allegro5-doc/refman/acodec.html
    
Offset 163, 16 lines modifiedOffset 163, 15 lines modified
163 <li><a·​href="#al_init_acodec​_addon">al_init_acode​c_addon</​a></​li>163 <li><a·​href="#al_init_acodec​_addon">al_init_acode​c_addon</​a></​li>
164 <li><a·​href="#al_get_allegro​_acodec_version">al_g​et_allegro_acodec_ver​sion</​a></​li>164 <li><a·​href="#al_get_allegro​_acodec_version">al_g​et_allegro_acodec_ver​sion</​a></​li>
165 </​ul>165 </​ul>
166 </​nav>166 </​nav>
167 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_acodec.​</​p>167 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_acodec.​</​p>
168 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_acodec.​h&gt;​</​span></​a></​code></​pre></​div>168 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_acodec.​h&gt;​</​span></​a></​code></​pre></​div>
169 <h1·​id="al_init_acodec_ad​don">al_init_acodec_a​ddon</​h1>169 <h1·​id="al_init_acodec_ad​don">al_init_acodec_a​ddon</​h1>
170 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_acodec_addon(​<span·​class="dt">void</​span>)​</​a>170 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_acodec_addon(​<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
171 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="dt">bool</​span>·​al_init_acodec_addon(​<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
172 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​acodec/​acodec.​c#L16">Source·​Code</​a></​p>171 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​acodec/​acodec.​c#L16">Source·​Code</​a></​p>
173 <p>This·​function·​registers·​all·​the·​known·​audio·​file·​type·​handlers·​for·​<a·​href="audio.​html#al_load_sample">​al_load_sample</​a>,​·​<a·​href="audio.​html#al_save_sample">​al_save_sample</​a>,​·​<a·​href="audio.​html#al_load_audio_st​ream">al_load_audio_s​tream</​a>,​·​etc.​</​p>172 <p>This·​function·​registers·​all·​the·​known·​audio·​file·​type·​handlers·​for·​<a·​href="audio.​html#al_load_sample">​al_load_sample</​a>,​·​<a·​href="audio.​html#al_save_sample">​al_save_sample</​a>,​·​<a·​href="audio.​html#al_load_audio_st​ream">al_load_audio_s​tream</​a>,​·​etc.​</​p>
174 <p>Depending·​on·​what·​libraries·​are·​available,​·​the·​full·​set·​of·​recognised·​extensions·​is:​·​.​wav,​·​.​flac,​·​.​ogg,​·​.​opus,​·​.​it,​·​.​mod,​·​.​s3m,​·​.​xm,​·​.​voc.​</​p>173 <p>Depending·​on·​what·​libraries·​are·​available,​·​the·​full·​set·​of·​recognised·​extensions·​is:​·​.​wav,​·​.​flac,​·​.​ogg,​·​.​opus,​·​.​it,​·​.​mod,​·​.​s3m,​·​.​xm,​·​.​voc.​</​p>
175 <p><em>Limitations:​</​em></​p>174 <p><em>Limitations:​</​em></​p>
176 <ul>175 <ul>
177 <li><p>Saving·​is·​only·​supported·​for·​wav·​files.​</​p></​li>176 <li><p>Saving·​is·​only·​supported·​for·​wav·​files.​</​p></​li>
178 <li><p>The·​wav·​file·​loader·​currently·​only·​supports·​8/​16·​bit·​little·​endian·​PCM·​files.​·​16·​bits·​are·​used·​when·​saving·​wav·​files.​·​Use·​flac·​files·​if·​more·​precision·​is·​required.​</​p></​li>177 <li><p>The·​wav·​file·​loader·​currently·​only·​supports·​8/​16·​bit·​little·​endian·​PCM·​files.​·​16·​bits·​are·​used·​when·​saving·​wav·​files.​·​Use·​flac·​files·​if·​more·​precision·​is·​required.​</​p></​li>
Offset 182, 12 lines modifiedOffset 181, 12 lines modified
182 <p>Return·​true·​on·​success.​</​p>181 <p>Return·​true·​on·​success.​</​p>
183 <h1·​id="al_get_allegro_ac​odec_version">al_get_​allegro_acodec_versio​n</​h1>182 <h1·​id="al_get_allegro_ac​odec_version">al_get_​allegro_acodec_versio​n</​h1>
184 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_acodec​_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>183 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_acodec​_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
185 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​acodec/​acodec.​c#L8">Source·​Code</​a></​p>184 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​acodec/​acodec.​c#L8">Source·​Code</​a></​p>
186 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>185 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
187 <p·​class="timestamp">186 <p·​class="timestamp">
188 Allegro·​version·​5.​2.​4187 Allegro·​version·​5.​2.​4
189 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC188 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​44·​UTC
190 </​p>189 </​p>
191 </​div>190 </​div>
192 </​body>191 </​body>
193 </​html>192 </​html>
188 KB
./usr/share/doc/allegro5-doc/refman/audio.html
    
Offset 375, 31 lines modifiedOffset 375, 29 lines modified
375 </​figure>375 </​figure>
376 <p>Since·​we·​have·​two·​mixers,​·​with·​the·​sample·​instances·​connected·​to·​a·​different·​mixer·​than·​the·​audio·​stream,​·​you·​can·​control·​the·​volume·​of·​all·​the·​instances·​independently·​from·​the·​music·​by·​setting·​the·​gain·​of·​the·​mixer·​/​·​stream.​·​Having·​two·​sample·​instances·​lets·​you·​play·​two·​copies·​of·​the·​sample·​simultaneously.​</​p>376 <p>Since·​we·​have·​two·​mixers,​·​with·​the·​sample·​instances·​connected·​to·​a·​different·​mixer·​than·​the·​audio·​stream,​·​you·​can·​control·​the·​volume·​of·​all·​the·​instances·​independently·​from·​the·​music·​by·​setting·​the·​gain·​of·​the·​mixer·​/​·​stream.​·​Having·​two·​sample·​instances·​lets·​you·​play·​two·​copies·​of·​the·​sample·​simultaneously.​</​p>
377 <p>With·​this·​in·​mind,​·​another·​look·​at·​<a·​href="audio.​html#al_reserve_sampl​es">al_reserve_sample​s</​a>·​and·​<a·​href="audio.​html#al_play_sample">​al_play_sample</​a>·​is·​due:​·​What·​the·​former·​does·​internally·​is·​to·​create·​a·​specified·​number·​of·​sample·​instances·​that·​are·​“empty”·​at·​first,​·​i.​e.​ with·​no·​sample·​data·​set.​·​When·​al_play_sample·​is·​called,​·​it’ll·​use·​one·​of·​these·​internal·​sample·​instances·​that·​is·​not·​currently·​playing·​to·​play·​the·​requested·​sample.​·​All·​of·​these·​sample·​instances·​will·​be·​attached·​to·​the·​default·​mixer,​·​which·​can·​be·​changed·​via·​<a·​href="audio.​html#al_set_default_m​ixer">al_set_default_​mixer</​a>.​</​p>377 <p>With·​this·​in·​mind,​·​another·​look·​at·​<a·​href="audio.​html#al_reserve_sampl​es">al_reserve_sample​s</​a>·​and·​<a·​href="audio.​html#al_play_sample">​al_play_sample</​a>·​is·​due:​·​What·​the·​former·​does·​internally·​is·​to·​create·​a·​specified·​number·​of·​sample·​instances·​that·​are·​“empty”·​at·​first,​·​i.​e.​ with·​no·​sample·​data·​set.​·​When·​al_play_sample·​is·​called,​·​it’ll·​use·​one·​of·​these·​internal·​sample·​instances·​that·​is·​not·​currently·​playing·​to·​play·​the·​requested·​sample.​·​All·​of·​these·​sample·​instances·​will·​be·​attached·​to·​the·​default·​mixer,​·​which·​can·​be·​changed·​via·​<a·​href="audio.​html#al_set_default_m​ixer">al_set_default_​mixer</​a>.​</​p>
378 <p>See·​<a·​href="audio.​html#audio-​recording">Audio·​recording</​a>·​for·​Allegro’s·​audio·​recording·​API,​·​which·​is,​·​as·​of·​now,​·​still·​unstable·​and·​subject·​to·​change.​</​p>378 <p>See·​<a·​href="audio.​html#audio-​recording">Audio·​recording</​a>·​for·​Allegro’s·​audio·​recording·​API,​·​which·​is,​·​as·​of·​now,​·​still·​unstable·​and·​subject·​to·​change.​</​p>
379 <h1·​id="audio-​types">Audio·​types</​h1>379 <h1·​id="audio-​types">Audio·​types</​h1>
380 <p>Events·​sent·​by·​<a·​href="audio.​html#al_get_audio_str​eam_event_source">al_​get_audio_stream_even​t_source</​a>·​or·​<a·​href="audio.​html#al_get_audio_rec​order_event_source">a​l_get_audio_recorder_​event_source</​a>.​</​p>380 <p>Events·​sent·​by·​<a·​href="audio.​html#al_get_audio_str​eam_event_source">al_​get_audio_stream_even​t_source</​a>·​or·​<a·​href="audio.​html#al_get_audio_rec​order_event_source">a​l_get_audio_recorder_​event_source</​a>.​</​p>
381 <h2·​id="allegro_audio_eve​nt_type">ALLEGRO_AUDI​O_EVENT_TYPE</​h2>381 <h2·​id="allegro_audio_eve​nt_type">ALLEGRO_AUDI​O_EVENT_TYPE</​h2>
382 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_AUDIO_EVENT_T​YPE</​a>382 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_AUDIO_EVENT_T​YPE</​a></​code></​pre></​div>
383 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_AUDIO_EVENT_T​YPE</​a></​code></​pre></​div> 
384 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L43">Source·​Code</​a></​p>383 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L43">Source·​Code</​a></​p>
385 <h3·​id="allegro_event_aud​io_stream_fragment">A​LLEGRO_EVENT_AUDIO_ST​REAM_FRAGMENT</​h3>384 <h3·​id="allegro_event_aud​io_stream_fragment">A​LLEGRO_EVENT_AUDIO_ST​REAM_FRAGMENT</​h3>
386 <p>Sent·​when·​a·​stream·​fragment·​is·​ready·​to·​be·​filled·​in.​·​See·​<a·​href="audio.​html#al_get_audio_str​eam_fragment">al_get_​audio_stream_fragment​</​a>.​</​p>385 <p>Sent·​when·​a·​stream·​fragment·​is·​ready·​to·​be·​filled·​in.​·​See·​<a·​href="audio.​html#al_get_audio_str​eam_fragment">al_get_​audio_stream_fragment​</​a>.​</​p>
387 <h3·​id="allegro_event_aud​io_stream_finished">A​LLEGRO_EVENT_AUDIO_ST​REAM_FINISHED</​h3>386 <h3·​id="allegro_event_aud​io_stream_finished">A​LLEGRO_EVENT_AUDIO_ST​REAM_FINISHED</​h3>
388 <p>Sent·​when·​a·​stream·​is·​finished.​</​p>387 <p>Sent·​when·​a·​stream·​is·​finished.​</​p>
389 <h3·​id="allegro_event_aud​io_recorder_fragment"​>ALLEGRO_EVENT_AUDIO_​RECORDER_FRAGMENT</​h3>388 <h3·​id="allegro_event_aud​io_recorder_fragment"​>ALLEGRO_EVENT_AUDIO_​RECORDER_FRAGMENT</​h3>
390 <p>Sent·​after·​a·​user-​specified·​number·​of·​samples·​have·​been·​recorded.​·​Convert·​this·​to·​<a·​href="audio.​html#allegro_audio_re​corder_event">ALLEGRO​_AUDIO_RECORDER_EVENT​</​a>·​via·​<a·​href="audio.​html#al_get_audio_rec​order_event">al_get_a​udio_recorder_event</​a>.​</​p>389 <p>Sent·​after·​a·​user-​specified·​number·​of·​samples·​have·​been·​recorded.​·​Convert·​this·​to·​<a·​href="audio.​html#allegro_audio_re​corder_event">ALLEGRO​_AUDIO_RECORDER_EVENT​</​a>·​via·​<a·​href="audio.​html#al_get_audio_rec​order_event">al_get_a​udio_recorder_event</​a>.​</​p>
391 <p>You·​must·​always·​check·​the·​values·​for·​the·​buffer·​and·​samples·​as·​they·​are·​not·​guaranteed·​to·​be·​exactly·​what·​was·​originally·​specified.​</​p>390 <p>You·​must·​always·​check·​the·​values·​for·​the·​buffer·​and·​samples·​as·​they·​are·​not·​guaranteed·​to·​be·​exactly·​what·​was·​originally·​specified.​</​p>
392 <p>Since:​·​5.​1.​1</​p>391 <p>Since:​·​5.​1.​1</​p>
393 <blockquote>392 <blockquote>
394 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​The·​API·​may·​need·​a·​slight·​redesign.​</​p>393 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​The·​API·​may·​need·​a·​slight·​redesign.​</​p>
395 </​blockquote>394 </​blockquote>
396 <h2·​id="allegro_audio_dep​th">ALLEGRO_AUDIO_DEP​TH</​h2>395 <h2·​id="allegro_audio_dep​th">ALLEGRO_AUDIO_DEP​TH</​h2>
397 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_AUDIO_DEPTH</​a>396 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_AUDIO_DEPTH</​a></​code></​pre></​div>
398 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_AUDIO_DEPTH</​a></​code></​pre></​div> 
399 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L71">Source·​Code</​a></​p>397 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L71">Source·​Code</​a></​p>
400 <p>Sample·​depth·​and·​type·​as·​well·​as·​signedness.​·​Mixers·​only·​use·​32-​bit·​signed·​float·​(-​1.​.​+1)​,​·​or·​16-​bit·​signed·​integers.​·​Signedness·​is·​determined·​by·​an·​“unsigned”·​bit-​flag·​applied·​to·​the·​depth·​value.​</​p>398 <p>Sample·​depth·​and·​type·​as·​well·​as·​signedness.​·​Mixers·​only·​use·​32-​bit·​signed·​float·​(-​1.​.​+1)​,​·​or·​16-​bit·​signed·​integers.​·​Signedness·​is·​determined·​by·​an·​“unsigned”·​bit-​flag·​applied·​to·​the·​depth·​value.​</​p>
401 <ul>399 <ul>
402 <li>ALLEGRO_AUDIO_DEP​TH_INT8</​li>400 <li>ALLEGRO_AUDIO_DEP​TH_INT8</​li>
403 <li>ALLEGRO_AUDIO_DEP​TH_INT16</​li>401 <li>ALLEGRO_AUDIO_DEP​TH_INT16</​li>
404 <li>ALLEGRO_AUDIO_DEP​TH_INT24</​li>402 <li>ALLEGRO_AUDIO_DEP​TH_INT24</​li>
405 <li>ALLEGRO_AUDIO_DEP​TH_FLOAT32</​li>403 <li>ALLEGRO_AUDIO_DEP​TH_FLOAT32</​li>
Offset 408, 537 lines modifiedOffset 406, 457 lines modified
408 <p>For·​convenience:​</​p>406 <p>For·​convenience:​</​p>
409 <ul>407 <ul>
410 <li>ALLEGRO_AUDIO_DEP​TH_UINT8</​li>408 <li>ALLEGRO_AUDIO_DEP​TH_UINT8</​li>
411 <li>ALLEGRO_AUDIO_DEP​TH_UINT16</​li>409 <li>ALLEGRO_AUDIO_DEP​TH_UINT16</​li>
412 <li>ALLEGRO_AUDIO_DEP​TH_UINT24</​li>410 <li>ALLEGRO_AUDIO_DEP​TH_UINT24</​li>
413 </​ul>411 </​ul>
414 <h2·​id="allegro_audio_pan​_none">ALLEGRO_AUDIO_​PAN_NONE</​h2>412 <h2·​id="allegro_audio_pan​_none">ALLEGRO_AUDIO_​PAN_NONE</​h2>
415 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_AUDIO_PAN_NON​E······​(-​1000.​0f)​</​span></​a>413 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_AUDIO_PAN_NON​E······​(-​1000.​0f)​</​span></​a></​code></​pre></​div>
416 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_AUDIO_PAN_NON​E······​(-​1000.​0f)​</​span></​a></​code></​pre></​div> 
417 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L140">Source·​Code</​a></​p>414 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L140">Source·​Code</​a></​p>
418 <p>A·​special·​value·​for·​the·​pan·​property·​of·​sample·​instances·​and·​audio·​streams.​·​Use·​this·​value·​to·​disable·​panning·​on·​sample·​instances·​and·​audio·​streams,​·​and·​play·​them·​without·​attentuation·​implied·​by·​panning·​support.​</​p>415 <p>A·​special·​value·​for·​the·​pan·​property·​of·​sample·​instances·​and·​audio·​streams.​·​Use·​this·​value·​to·​disable·​panning·​on·​sample·​instances·​and·​audio·​streams,​·​and·​play·​them·​without·​attentuation·​implied·​by·​panning·​support.​</​p>
419 <p>ALLEGRO_AUDIO_PAN_​NONE·​is·​different·​from·​a·​pan·​value·​of·​0.​0·​(centered)​·​because,​·​when·​panning·​is·​enabled,​·​we·​try·​to·​maintain·​a·​constant·​sound·​power·​level·​as·​a·​sample·​is·​panned·​from·​left·​to·​right.​·​A·​sound·​coming·​out·​of·​one·​speaker·​should·​sound·​as·​loud·​as·​it·​does·​when·​split·​over·​two·​speakers.​·​As·​a·​consequence,​·​a·​sample·​with·​pan·​value·​0.​0·​will·​be·​3·​dB·​softer·​than·​the·​original·​level.​</​p>416 <p>ALLEGRO_AUDIO_PAN_​NONE·​is·​different·​from·​a·​pan·​value·​of·​0.​0·​(centered)​·​because,​·​when·​panning·​is·​enabled,​·​we·​try·​to·​maintain·​a·​constant·​sound·​power·​level·​as·​a·​sample·​is·​panned·​from·​left·​to·​right.​·​A·​sound·​coming·​out·​of·​one·​speaker·​should·​sound·​as·​loud·​as·​it·​does·​when·​split·​over·​two·​speakers.​·​As·​a·​consequence,​·​a·​sample·​with·​pan·​value·​0.​0·​will·​be·​3·​dB·​softer·​than·​the·​original·​level.​</​p>
420 <p>(Please·​correct·​us·​if·​this·​is·​wrong.​)​</​p>417 <p>(Please·​correct·​us·​if·​this·​is·​wrong.​)​</​p>
421 <h2·​id="allegro_channel_c​onf">ALLEGRO_CHANNEL_​CONF</​h2>418 <h2·​id="allegro_channel_c​onf">ALLEGRO_CHANNEL_​CONF</​h2>
422 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_CHANNEL_CONF<​/​a>419 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_CHANNEL_CONF<​/​a></​code></​pre></​div>
423 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_CHANNEL_CONF<​/​a></​code></​pre></​div> 
424 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L96">Source·​Code</​a></​p>420 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L96">Source·​Code</​a></​p>
425 <p>Speaker·​configuration·​(mono,​·​stereo,​·​2.​1,​·​etc)​.​</​p>421 <p>Speaker·​configuration·​(mono,​·​stereo,​·​2.​1,​·​etc)​.​</​p>
426 <ul>422 <ul>
427 <li>ALLEGRO_CHANNEL_C​ONF_1</​li>423 <li>ALLEGRO_CHANNEL_C​ONF_1</​li>
428 <li>ALLEGRO_CHANNEL_C​ONF_2</​li>424 <li>ALLEGRO_CHANNEL_C​ONF_2</​li>
429 <li>ALLEGRO_CHANNEL_C​ONF_3</​li>425 <li>ALLEGRO_CHANNEL_C​ONF_3</​li>
430 <li>ALLEGRO_CHANNEL_C​ONF_4</​li>426 <li>ALLEGRO_CHANNEL_C​ONF_4</​li>
431 <li>ALLEGRO_CHANNEL_C​ONF_5_1</​li>427 <li>ALLEGRO_CHANNEL_C​ONF_5_1</​li>
432 <li>ALLEGRO_CHANNEL_C​ONF_6_1</​li>428 <li>ALLEGRO_CHANNEL_C​ONF_6_1</​li>
433 <li>ALLEGRO_CHANNEL_C​ONF_7_1</​li>429 <li>ALLEGRO_CHANNEL_C​ONF_7_1</​li>
434 </​ul>430 </​ul>
435 <h2·​id="allegro_mixer">AL​LEGRO_MIXER</​h2>431 <h2·​id="allegro_mixer">AL​LEGRO_MIXER</​h2>
436 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MIXER·​ALLEGRO_MIXER;​</​a>432 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MIXER·​ALLEGRO_MIXER;​</​a></​code></​pre></​div>
437 <a·​class="sourceLine"·​id="cb7-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MIXER·​ALLEGRO_MIXER;​</​a></​code></​pre></​div> 
438 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L169">Source·​Code</​a></​p>433 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L169">Source·​Code</​a></​p>
439 <p>A·​mixer·​mixes·​together·​attached·​streams·​into·​a·​single·​buffer.​·​In·​the·​process,​·​it·​converts·​channel·​configurations,​·​sample·​frequencies·​and·​audio·​depths·​of·​the·​attached·​sample·​instances·​and·​audio·​streams·​accordingly.​·​You·​can·​control·​the·​quality·​of·​this·​conversion·​using·​ALLEGRO_MIXER_QUALITY​.​</​p>434 <p>A·​mixer·​mixes·​together·​attached·​streams·​into·​a·​single·​buffer.​·​In·​the·​process,​·​it·​converts·​channel·​configurations,​·​sample·​frequencies·​and·​audio·​depths·​of·​the·​attached·​sample·​instances·​and·​audio·​streams·​accordingly.​·​You·​can·​control·​the·​quality·​of·​this·​conversion·​using·​ALLEGRO_MIXER_QUALITY​.​</​p>
440 <p>When·​going·​from·​mono·​to·​stereo·​(and·​above)​,​·​the·​mixer·​reduces·​the·​volume·​of·​both·​channels·​by·​<code>sqrt(2)​</​code>.​·​When·​going·​from·​stereo·​(and·​above)​·​to·​mono,​·​the·​mixer·​reduces·​the·​volume·​of·​the·​left·​and·​right·​channels·​by·​<code>sqrt(2)​</​code>·​before·​adding·​them·​to·​the·​center·​channel·​(if·​present)​.​</​p>435 <p>When·​going·​from·​mono·​to·​stereo·​(and·​above)​,​·​the·​mixer·​reduces·​the·​volume·​of·​both·​channels·​by·​<code>sqrt(2)​</​code>.​·​When·​going·​from·​stereo·​(and·​above)​·​to·​mono,​·​the·​mixer·​reduces·​the·​volume·​of·​the·​left·​and·​right·​channels·​by·​<code>sqrt(2)​</​code>·​before·​adding·​them·​to·​the·​center·​channel·​(if·​present)​.​</​p>
441 <h2·​id="allegro_mixer_qua​lity">ALLEGRO_MIXER_Q​UALITY</​h2>436 <h2·​id="allegro_mixer_qua​lity">ALLEGRO_MIXER_Q​UALITY</​h2>
442 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_MIXER_QUALITY​</​a>437 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_MIXER_QUALITY​</​a></​code></​pre></​div>
443 <a·​class="sourceLine"·​id="cb8-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_MIXER_QUALITY​</​a></​code></​pre></​div> 
444 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L130">Source·​Code</​a></​p>438 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L130">Source·​Code</​a></​p>
445 <ul>439 <ul>
446 <li>ALLEGRO_MIXER_QUA​LITY_POINT·​-​·​point·​sampling</​li>440 <li>ALLEGRO_MIXER_QUA​LITY_POINT·​-​·​point·​sampling</​li>
447 <li>ALLEGRO_MIXER_QUA​LITY_LINEAR·​-​·​linear·​interpolation</​li>441 <li>ALLEGRO_MIXER_QUA​LITY_LINEAR·​-​·​linear·​interpolation</​li>
448 <li>ALLEGRO_MIXER_QUA​LITY_CUBIC·​-​·​cubic·​interpolation·​(since:​·​5.​0.​8,​·​5.​1.​4)​</​li>442 <li>ALLEGRO_MIXER_QUA​LITY_CUBIC·​-​·​cubic·​interpolation·​(since:​·​5.​0.​8,​·​5.​1.​4)​</​li>
449 </​ul>443 </​ul>
450 <h2·​id="allegro_playmode"​>ALLEGRO_PLAYMODE</​h2>444 <h2·​id="allegro_playmode"​>ALLEGRO_PLAYMODE</​h2>
451 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_PLAYMODE</​a>445 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_PLAYMODE</​a></​code></​pre></​div>
452 <a·​class="sourceLine"·​id="cb9-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_PLAYMODE</​a></​code></​pre></​div> 
453 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L118">Source·​Code</​a></​p>446 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L118">Source·​Code</​a></​p>
454 <p>Sample·​and·​stream·​playback·​mode.​</​p>447 <p>Sample·​and·​stream·​playback·​mode.​</​p>
455 <ul>448 <ul>
456 <li>ALLEGRO_PLAYMODE_​ONCE</​li>449 <li>ALLEGRO_PLAYMODE_​ONCE</​li>
457 <li>ALLEGRO_PLAYMODE_​LOOP</​li>450 <li>ALLEGRO_PLAYMODE_​LOOP</​li>
458 <li>ALLEGRO_PLAYMODE_​BIDIR</​li>451 <li>ALLEGRO_PLAYMODE_​BIDIR</​li>
459 </​ul>452 </​ul>
460 <h2·​id="allegro_sample_id​">ALLEGRO_SAMPLE_ID</​h2>453 <h2·​id="allegro_sample_id​">ALLEGRO_SAMPLE_ID</​h2>
461 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE_ID·​ALLEGRO_SAMPLE_ID;​</​a>454 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE_ID·​ALLEGRO_SAMPLE_ID;​</​a></​code></​pre></​div>
462 <a·​class="sourceLine"·​id="cb10-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE_ID·​ALLEGRO_SAMPLE_ID;​</​a></​code></​pre></​div> 
463 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L149">Source·​Code</​a></​p>455 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L149">Source·​Code</​a></​p>
464 <p>An·​ALLEGRO_SAMPLE_ID·​represents·​a·​sample·​being·​played·​via·​<a·​href="audio.​html#al_play_sample">​al_play_sample</​a>.​·​It·​can·​be·​used·​to·​later·​stop·​the·​sample·​with·​<a·​href="audio.​html#al_stop_sample">​al_stop_sample</​a>.​·​The·​underlying·​ALLEGRO_SAMPLE_INSTAN​CE·​can·​be·​extracted·​using·​<a·​href="audio.​html#al_lock_sample_i​d">al_lock_sample_id<​/​a>.​</​p>456 <p>An·​ALLEGRO_SAMPLE_ID·​represents·​a·​sample·​being·​played·​via·​<a·​href="audio.​html#al_play_sample">​al_play_sample</​a>.​·​It·​can·​be·​used·​to·​later·​stop·​the·​sample·​with·​<a·​href="audio.​html#al_stop_sample">​al_stop_sample</​a>.​·​The·​underlying·​ALLEGRO_SAMPLE_INSTAN​CE·​can·​be·​extracted·​using·​<a·​href="audio.​html#al_lock_sample_i​d">al_lock_sample_id<​/​a>.​</​p>
465 <h2·​id="allegro_sample">A​LLEGRO_SAMPLE</​h2>457 <h2·​id="allegro_sample">A​LLEGRO_SAMPLE</​h2>
466 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE·​ALLEGRO_SAMPLE;​</​a>458 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE·​ALLEGRO_SAMPLE;​</​a></​code></​pre></​div>
467 <a·​class="sourceLine"·​id="cb11-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE·​ALLEGRO_SAMPLE;​</​a></​code></​pre></​div> 
468 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L144">Source·​Code</​a></​p>459 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L144">Source·​Code</​a></​p>
469 <p>An·​ALLEGRO_SAMPLE·​object·​stores·​the·​data·​necessary·​for·​playing·​pre-​defined·​digital·​audio.​·​It·​holds·​a·​user-​specified·​PCM·​data·​buffer·​and·​information·​about·​its·​format·​(data·​length,​·​depth,​·​frequency,​·​channel·​configuration)​.​·​You·​can·​have·​the·​same·​ALLEGRO_SAMPLE·​playing·​multiple·​times·​simultaneously.​</​p>460 <p>An·​ALLEGRO_SAMPLE·​object·​stores·​the·​data·​necessary·​for·​playing·​pre-​defined·​digital·​audio.​·​It·​holds·​a·​user-​specified·​PCM·​data·​buffer·​and·​information·​about·​its·​format·​(data·​length,​·​depth,​·​frequency,​·​channel·​configuration)​.​·​You·​can·​have·​the·​same·​ALLEGRO_SAMPLE·​playing·​multiple·​times·​simultaneously.​</​p>
470 <p>See·​also:​·​<a·​href="audio.​html#allegro_sample_i​nstance">ALLEGRO_SAMP​LE_INSTANCE</​a></​p>461 <p>See·​also:​·​<a·​href="audio.​html#allegro_sample_i​nstance">ALLEGRO_SAMP​LE_INSTANCE</​a></​p>
471 <h2·​id="allegro_sample_in​stance">ALLEGRO_SAMPL​E_INSTANCE</​h2>462 <h2·​id="allegro_sample_in​stance">ALLEGRO_SAMPL​E_INSTANCE</​h2>
472 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE_INSTAN​CE·​ALLEGRO_SAMPLE_INSTAN​CE;​</​a>463 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE_INSTAN​CE·​ALLEGRO_SAMPLE_INSTAN​CE;​</​a></​code></​pre></​div>
473 <a·​class="sourceLine"·​id="cb12-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SAMPLE_INSTAN​CE·​ALLEGRO_SAMPLE_INSTAN​CE;​</​a></​code></​pre></​div> 
474 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L159">Source·​Code</​a></​p>464 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L159">Source·​Code</​a></​p>
475 <p>An·​ALLEGRO_SAMPLE_INSTAN​CE·​object·​represents·​a·​playable·​instance·​of·​a·​predefined·​sound·​effect.​·​It·​holds·​information·​about·​how·​the·​effect·​should·​be·​played:​·​These·​playback·​parameters·​consist·​of·​the·​looping·​mode,​·​loop·​start/​end·​points,​·​playing·​position,​·​speed,​·​gain,​·​pan·​and·​the·​playmode.​·​Whether·​a·​sample·​instance·​is·​currently·​playing·​or·​paused·​is·​also·​one·​of·​its·​properties.​</​p>465 <p>An·​ALLEGRO_SAMPLE_INSTAN​CE·​object·​represents·​a·​playable·​instance·​of·​a·​predefined·​sound·​effect.​·​It·​holds·​information·​about·​how·​the·​effect·​should·​be·​played:​·​These·​playback·​parameters·​consist·​of·​the·​looping·​mode,​·​loop·​start/​end·​points,​·​playing·​position,​·​speed,​·​gain,​·​pan·​and·​the·​playmode.​·​Whether·​a·​sample·​instance·​is·​currently·​playing·​or·​paused·​is·​also·​one·​of·​its·​properties.​</​p>
476 <p>An·​instance·​uses·​the·​data·​from·​an·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a>·​object.​·​Multiple·​instances·​may·​be·​created·​from·​the·​same·​ALLEGRO_SAMPLE.​·​An·​ALLEGRO_SAMPLE·​must·​not·​be·​destroyed·​while·​there·​are·​instances·​which·​reference·​it.​</​p>466 <p>An·​instance·​uses·​the·​data·​from·​an·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a>·​object.​·​Multiple·​instances·​may·​be·​created·​from·​the·​same·​ALLEGRO_SAMPLE.​·​An·​ALLEGRO_SAMPLE·​must·​not·​be·​destroyed·​while·​there·​are·​instances·​which·​reference·​it.​</​p>
477 <p>To·​actually·​produce·​audio·​output,​·​an·​ALLEGRO_SAMPLE_INSTAN​CE·​must·​be·​attached·​to·​an·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>·​which·​eventually·​reaches·​an·​<a·​href="audio.​html#allegro_voice">A​LLEGRO_VOICE</​a>·​object.​</​p>467 <p>To·​actually·​produce·​audio·​output,​·​an·​ALLEGRO_SAMPLE_INSTAN​CE·​must·​be·​attached·​to·​an·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>·​which·​eventually·​reaches·​an·​<a·​href="audio.​html#allegro_voice">A​LLEGRO_VOICE</​a>·​object.​</​p>
478 <p>See·​also:​·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a></​p>468 <p>See·​also:​·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a></​p>
479 <h2·​id="allegro_audio_str​eam">ALLEGRO_AUDIO_ST​REAM</​h2>469 <h2·​id="allegro_audio_str​eam">ALLEGRO_AUDIO_ST​REAM</​h2>
480 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_AUDIO_STREAM·​ALLEGRO_AUDIO_STREAM;​</​a>470 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_AUDIO_STREAM·​ALLEGRO_AUDIO_STREAM;​</​a></​code></​pre></​div>
481 <a·​class="sourceLine"·​id="cb13-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_AUDIO_STREAM·​ALLEGRO_AUDIO_STREAM;​</​a></​code></​pre></​div> 
482 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L164">Source·​Code</​a></​p>471 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L164">Source·​Code</​a></​p>
483 <p>An·​ALLEGRO_AUDIO_STREAM·​object·​is·​used·​to·​stream·​generated·​audio·​to·​the·​sound·​device,​·​in·​real-​time.​·​This·​is·​done·​by·​reading·​from·​a·​buffer,​·​which·​is·​split·​into·​a·​number·​of·​fragments.​·​Whenever·​a·​fragment·​has·​finished·​playing,​·​the·​user·​can·​refill·​it·​with·​new·​data.​</​p>472 <p>An·​ALLEGRO_AUDIO_STREAM·​object·​is·​used·​to·​stream·​generated·​audio·​to·​the·​sound·​device,​·​in·​real-​time.​·​This·​is·​done·​by·​reading·​from·​a·​buffer,​·​which·​is·​split·​into·​a·​number·​of·​fragments.​·​Whenever·​a·​fragment·​has·​finished·​playing,​·​the·​user·​can·​refill·​it·​with·​new·​data.​</​p>
484 <p>As·​with·​<a·​href="audio.​html#allegro_sample_i​nstance">ALLEGRO_SAMP​LE_INSTANCE</​a>·​objects,​·​streams·​store·​information·​necessary·​for·​playback,​·​so·​you·​may·​not·​play·​the·​same·​stream·​multiple·​times·​simultaneously.​·​Streams·​also·​need·​to·​be·​attached·​to·​an·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>,​·​which,​·​eventually,​·​reaches·​an·​<a·​href="audio.​html#allegro_voice">A​LLEGRO_VOICE</​a>·​object.​</​p>473 <p>As·​with·​<a·​href="audio.​html#allegro_sample_i​nstance">ALLEGRO_SAMP​LE_INSTANCE</​a>·​objects,​·​streams·​store·​information·​necessary·​for·​playback,​·​so·​you·​may·​not·​play·​the·​same·​stream·​multiple·​times·​simultaneously.​·​Streams·​also·​need·​to·​be·​attached·​to·​an·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>,​·​which,​·​eventually,​·​reaches·​an·​<a·​href="audio.​html#allegro_voice">A​LLEGRO_VOICE</​a>·​object.​</​p>
485 <p>While·​playing,​·​you·​must·​periodically·​fill·​fragments·​with·​new·​audio·​data.​·​To·​know·​when·​a·​new·​fragment·​is·​ready·​to·​be·​filled,​·​you·​can·​either·​directly·​check·​with·​<a·​href="audio.​html#al_get_available​_audio_stream_fragmen​ts">al_get_available_​audio_stream_fragment​s</​a>,​·​or·​listen·​to·​events·​from·​the·​stream.​</​p>474 <p>While·​playing,​·​you·​must·​periodically·​fill·​fragments·​with·​new·​audio·​data.​·​To·​know·​when·​a·​new·​fragment·​is·​ready·​to·​be·​filled,​·​you·​can·​either·​directly·​check·​with·​<a·​href="audio.​html#al_get_available​_audio_stream_fragmen​ts">al_get_available_​audio_stream_fragment​s</​a>,​·​or·​listen·​to·​events·​from·​the·​stream.​</​p>
486 <p>You·​can·​register·​an·​audio·​stream·​event·​source·​to·​an·​event·​queue;​·​see·​<a·​href="audio.​html#al_get_audio_str​eam_event_source">al_​get_audio_stream_even​t_source</​a>.​·​An·​<a·​href="audio.​html#allegro_event_au​dio_stream_fragment">​ALLEGRO_EVENT_AUDIO_S​TREAM_FRAGMENT</​a>·​event·​is·​generated·​whenever·​a·​new·​fragment·​is·​ready.​·​When·​you·​receive·​an·​event,​·​use·​<a·​href="audio.​html#al_get_audio_str​eam_fragment">al_get_​audio_stream_fragment​</​a>·​to·​obtain·​a·​pointer·​to·​the·​fragment·​to·​be·​filled.​·​The·​size·​and·​format·​are·​determined·​by·​the·​parameters·​passed·​to·​<a·​href="audio.​html#al_create_audio_​stream">al_create_aud​io_stream</​a>.​</​p>475 <p>You·​can·​register·​an·​audio·​stream·​event·​source·​to·​an·​event·​queue;​·​see·​<a·​href="audio.​html#al_get_audio_str​eam_event_source">al_​get_audio_stream_even​t_source</​a>.​·​An·​<a·​href="audio.​html#allegro_event_au​dio_stream_fragment">​ALLEGRO_EVENT_AUDIO_S​TREAM_FRAGMENT</​a>·​event·​is·​generated·​whenever·​a·​new·​fragment·​is·​ready.​·​When·​you·​receive·​an·​event,​·​use·​<a·​href="audio.​html#al_get_audio_str​eam_fragment">al_get_​audio_stream_fragment​</​a>·​to·​obtain·​a·​pointer·​to·​the·​fragment·​to·​be·​filled.​·​The·​size·​and·​format·​are·​determined·​by·​the·​parameters·​passed·​to·​<a·​href="audio.​html#al_create_audio_​stream">al_create_aud​io_stream</​a>.​</​p>
487 <p>If·​you’re·​late·​with·​supplying·​new·​data,​·​the·​stream·​will·​be·​silent·​until·​new·​data·​is·​provided.​·​You·​must·​call·​<a·​href="audio.​html#al_drain_audio_s​tream">al_drain_audio​_stream</​a>·​when·​you’re·​finished·​with·​supplying·​data·​to·​the·​stream.​</​p>476 <p>If·​you’re·​late·​with·​supplying·​new·​data,​·​the·​stream·​will·​be·​silent·​until·​new·​data·​is·​provided.​·​You·​must·​call·​<a·​href="audio.​html#al_drain_audio_s​tream">al_drain_audio​_stream</​a>·​when·​you’re·​finished·​with·​supplying·​data·​to·​the·​stream.​</​p>
488 <p>If·​the·​stream·​is·​created·​by·​<a·​href="audio.​html#al_load_audio_st​ream">al_load_audio_s​tream</​a>·​then·​it·​will·​also·​generate·​an·​<a·​href="audio.​html#allegro_event_au​dio_stream_finished">​ALLEGRO_EVENT_AUDIO_S​TREAM_FINISHED</​a>·​event·​if·​it·​reaches·​the·​end·​of·​the·​file·​and·​is·​not·​set·​to·​loop.​</​p>477 <p>If·​the·​stream·​is·​created·​by·​<a·​href="audio.​html#al_load_audio_st​ream">al_load_audio_s​tream</​a>·​then·​it·​will·​also·​generate·​an·​<a·​href="audio.​html#allegro_event_au​dio_stream_finished">​ALLEGRO_EVENT_AUDIO_S​TREAM_FINISHED</​a>·​event·​if·​it·​reaches·​the·​end·​of·​the·​file·​and·​is·​not·​set·​to·​loop.​</​p>
489 <h2·​id="allegro_voice">AL​LEGRO_VOICE</​h2>478 <h2·​id="allegro_voice">AL​LEGRO_VOICE</​h2>
490 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_VOICE·​ALLEGRO_VOICE;​</​a>479 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_VOICE·​ALLEGRO_VOICE;​</​a></​code></​pre></​div>
491 <a·​class="sourceLine"·​id="cb14-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_VOICE·​ALLEGRO_VOICE;​</​a></​code></​pre></​div> 
492 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L174">Source·​Code</​a></​p>480 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​allegro5/​allegro_audio.​h#L174">Source·​Code</​a></​p>
493 <p>A·​voice·​represents·​an·​audio·​device·​on·​the·​system,​·​which·​may·​be·​a·​real·​device,​·​or·​an·​abstract·​device·​provided·​by·​the·​operating·​system.​·​To·​play·​back·​audio,​·​you·​would·​attach·​a·​mixer,​·​sample·​instance·​or·​audio·​stream·​to·​a·​voice.​</​p>481 <p>A·​voice·​represents·​an·​audio·​device·​on·​the·​system,​·​which·​may·​be·​a·​real·​device,​·​or·​an·​abstract·​device·​provided·​by·​the·​operating·​system.​·​To·​play·​back·​audio,​·​you·​would·​attach·​a·​mixer,​·​sample·​instance·​or·​audio·​stream·​to·​a·​voice.​</​p>
494 <p>See·​also:​·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>,​·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a>,​·​<a·​href="audio.​html#allegro_audio_st​ream">ALLEGRO_AUDIO_S​TREAM</​a></​p>482 <p>See·​also:​·​<a·​href="audio.​html#allegro_mixer">A​LLEGRO_MIXER</​a>,​·​<a·​href="audio.​html#allegro_sample">​ALLEGRO_SAMPLE</​a>,​·​<a·​href="audio.​html#allegro_audio_st​ream">ALLEGRO_AUDIO_S​TREAM</​a></​p>
495 <h1·​id="setting-​up-​audio">Setting·​up·​audio</​h1>483 <h1·​id="setting-​up-​audio">Setting·​up·​audio</​h1>
496 <h2·​id="al_install_audio"​>al_install_audio</​h2>484 <h2·​id="al_install_audio"​>al_install_audio</​h2>
497 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="dt">bool</​span>·​al_install_audio(<spa​n·​class="dt">void</​span>)​</​a>485 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="dt">bool</​span>·​al_install_audio(<spa​n·​class="dt">void</​span>)​</​a></​code></​pre></​div>
498 <a·​class="sourceLine"·​id="cb15-​2"·​title="2"><span·​class="dt">bool</​span>·​al_install_audio(<spa​n·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
499 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​audio.​c#L378">Source·​Code</​a></​p>486 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​audio/​audio.​c#L378">Source·​Code</​a></​p>
500 <p>Install·​the·​audio·​subsystem.​</​p>487 <p>Install·​the·​audio·​subsystem.​</​p>
501 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​</​p>488 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​</​p>
502 <blockquote>489 <blockquote>
Max diff block lines reached; 173156/192521 bytes (89.94%) of diff not shown.
47.2 KB
./usr/share/doc/allegro5-doc/refman/color.html
    
Offset 199, 129 lines modifiedOffset 199, 113 lines modified
199 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_color.​h&gt;​</​span></​a></​code></​pre></​div>199 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_color.​h&gt;​</​span></​a></​code></​pre></​div>
200 <p>When·​converting·​between·​certain·​color·​spaces,​·​RGB·​colors·​are·​implicitly·​assumed·​to·​mean·​sRGB.​</​p>200 <p>When·​converting·​between·​certain·​color·​spaces,​·​RGB·​colors·​are·​implicitly·​assumed·​to·​mean·​sRGB.​</​p>
201 <p>sRGB·​is·​a·​standard·​which·​maps·​RGB·​colors·​to·​absolute·​colors.​·​sRGB·​is·​very·​close·​to·​RGB·​values·​on·​a·​monitor·​which·​has·​a·​gamma·​value·​of·​2.​2.​·​For·​example·​when·​the·​red·​component·​of·​a·​color·​is·​0.​5,​·​the·​monitor·​will·​use·​a·​brightness·​of·​pow(0.​5,​·​2.​2)​·​or·​about·​22%·​-​·​and·​not·​50%.​·​The·​reason·​is·​that·​human·​eyes·​can·​distinguish·​better·​between·​dark·​colors·​than·​between·​bright·​colors,​·​and·​so·​if·​a·​pixel·​of·​the·​monitor·​is·​lit·​up·​to·​22%·​of·​its·​maximum·​power·​it·​already·​will·​appear·​at·​half·​brightness·​to·​a·​human·​eye.​</​p>201 <p>sRGB·​is·​a·​standard·​which·​maps·​RGB·​colors·​to·​absolute·​colors.​·​sRGB·​is·​very·​close·​to·​RGB·​values·​on·​a·​monitor·​which·​has·​a·​gamma·​value·​of·​2.​2.​·​For·​example·​when·​the·​red·​component·​of·​a·​color·​is·​0.​5,​·​the·​monitor·​will·​use·​a·​brightness·​of·​pow(0.​5,​·​2.​2)​·​or·​about·​22%·​-​·​and·​not·​50%.​·​The·​reason·​is·​that·​human·​eyes·​can·​distinguish·​better·​between·​dark·​colors·​than·​between·​bright·​colors,​·​and·​so·​if·​a·​pixel·​of·​the·​monitor·​is·​lit·​up·​to·​22%·​of·​its·​maximum·​power·​it·​already·​will·​appear·​at·​half·​brightness·​to·​a·​human·​eye.​</​p>
202 <p>sRGB·​improves·​upon·​simple·​gamma·​correction·​by·​taking·​differences·​between·​the·​three·​color·​channels·​into·​account·​as·​well.​·​In·​general,​·​most·​monitors·​nowadays·​try·​to·​be·​close·​to·​the·​sRGB·​specification.​·​And·​so·​if·​in·​an·​Allegro·​game·​you·​display·​something·​with·​color</​p>202 <p>sRGB·​improves·​upon·​simple·​gamma·​correction·​by·​taking·​differences·​between·​the·​three·​color·​channels·​into·​account·​as·​well.​·​In·​general,​·​most·​monitors·​nowadays·​try·​to·​be·​close·​to·​the·​sRGB·​specification.​·​And·​so·​if·​in·​an·​Allegro·​game·​you·​display·​something·​with·​color</​p>
203 <p>al_map_rgb_f(0.​5,​·​0.​5,​·​0,​5)​</​p>203 <p>al_map_rgb_f(0.​5,​·​0.​5,​·​0,​5)​</​p>
204 <p>then·​it·​will·​appear·​at·​about·​half·​brightness·​(even·​though·​the·​actual·​brightness·​output·​of·​the·​monitor·​will·​be·​less·​than·​half)​.​</​p>204 <p>then·​it·​will·​appear·​at·​about·​half·​brightness·​(even·​though·​the·​actual·​brightness·​output·​of·​the·​monitor·​will·​be·​less·​than·​half)​.​</​p>
205 <h1·​id="al_color_cmyk">al​_color_cmyk</​h1>205 <h1·​id="al_color_cmyk">al​_color_cmyk</​h1>
206 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1">ALLEGRO_COL​OR·​al_color_cmyk(<span·​class="dt">float</​span>·​c,​·​<span·​class="dt">float</​span>·​m,​·​<span·​class="dt">float</​span>·​y,​·​<span·​class="dt">float</​span>·​k)​</​a>206 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1">ALLEGRO_COL​OR·​al_color_cmyk(<span·​class="dt">float</​span>·​c,​·​<span·​class="dt">float</​span>·​m,​·​<span·​class="dt">float</​span>·​y,​·​<span·​class="dt">float</​span>·​k)​</​a></​code></​pre></​div>
207 <a·​class="sourceLine"·​id="cb2-​2"·​title="2">ALLEGRO_COL​OR·​al_color_cmyk(<span·​class="dt">float</​span>·​c,​·​<span·​class="dt">float</​span>·​m,​·​<span·​class="dt">float</​span>·​y,​·​<span·​class="dt">float</​span>·​k)​</​a></​code></​pre></​div> 
208 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L480">Source·​Code</​a></​p>207 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L480">Source·​Code</​a></​p>
209 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​structure·​from·​CMYK·​values·​(cyan,​·​magenta,​·​yellow,​·​black)​.​</​p>208 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​structure·​from·​CMYK·​values·​(cyan,​·​magenta,​·​yellow,​·​black)​.​</​p>
210 <p>See·​also:​·​<a·​href="color.​html#al_color_cmyk_to​_rgb">al_color_cmyk_t​o_rgb</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​cmyk">al_color_rgb_to​_cmyk</​a></​p>209 <p>See·​also:​·​<a·​href="color.​html#al_color_cmyk_to​_rgb">al_color_cmyk_t​o_rgb</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​cmyk">al_color_rgb_to​_cmyk</​a></​p>
211 <h1·​id="al_color_cmyk_to_​rgb">al_color_cmyk_to​_rgb</​h1>210 <h1·​id="al_color_cmyk_to_​rgb">al_color_cmyk_to​_rgb</​h1>
212 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_cmyk_to_rgb(​<span·​class="dt">float</​span>·​cyan,​·​<span·​class="dt">float</​span>·​magenta,​·​<span·​class="dt">float</​span>·​yellow,​</​a>211 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_cmyk_to_rgb(​<span·​class="dt">float</​span>·​cyan,​·​<span·​class="dt">float</​span>·​magenta,​·​<span·​class="dt">float</​span>·​yellow,​</​a>
213 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">····​<span·​class="dt">float</​span>·​key,​·​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a>212 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">····​<span·​class="dt">float</​span>·​key,​·​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div>
214 <a·​class="sourceLine"·​id="cb3-​3"·​title="3"><span·​class="dt">void</​span>·​al_color_cmyk_to_rgb(​<span·​class="dt">float</​span>·​cyan,​·​<span·​class="dt">float</​span>·​magenta,​·​<span·​class="dt">float</​span>·​yellow,​</​a> 
215 <a·​class="sourceLine"·​id="cb3-​4"·​title="4">····​<span·​class="dt">float</​span>·​key,​·​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div> 
216 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L446">Source·​Code</​a></​p>213 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L446">Source·​Code</​a></​p>
217 <p>Convert·​CMYK·​values·​to·​RGB·​values.​</​p>214 <p>Convert·​CMYK·​values·​to·​RGB·​values.​</​p>
218 <p>See·​also:​·​<a·​href="color.​html#al_color_cmyk">a​l_color_cmyk</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​cmyk">al_color_rgb_to​_cmyk</​a></​p>215 <p>See·​also:​·​<a·​href="color.​html#al_color_cmyk">a​l_color_cmyk</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​cmyk">al_color_rgb_to​_cmyk</​a></​p>
219 <h1·​id="al_color_hsl">al_​color_hsl</​h1>216 <h1·​id="al_color_hsl">al_​color_hsl</​h1>
220 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1">ALLEGRO_COL​OR·​al_color_hsl(<span·​class="dt">float</​span>·​h,​·​<span·​class="dt">float</​span>·​s,​·​<span·​class="dt">float</​span>·​l)​</​a>217 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1">ALLEGRO_COL​OR·​al_color_hsl(<span·​class="dt">float</​span>·​h,​·​<span·​class="dt">float</​span>·​s,​·​<span·​class="dt">float</​span>·​l)​</​a></​code></​pre></​div>
221 <a·​class="sourceLine"·​id="cb4-​2"·​title="2">ALLEGRO_COL​OR·​al_color_hsl(<span·​class="dt">float</​span>·​h,​·​<span·​class="dt">float</​span>·​s,​·​<span·​class="dt">float</​span>·​l)​</​a></​code></​pre></​div> 
222 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L436">Source·​Code</​a></​p>218 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L436">Source·​Code</​a></​p>
223 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​structure·​from·​HSL·​(hue,​·​saturation,​·​lightness)​·​values.​</​p>219 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​structure·​from·​HSL·​(hue,​·​saturation,​·​lightness)​·​values.​</​p>
224 <p>Parameters:​</​p>220 <p>Parameters:​</​p>
225 <ul>221 <ul>
226 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>222 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>
227 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>223 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>
228 <li>lightness·​-​·​Color·​lightness·​in·​the·​range·​0.​.​1</​li>224 <li>lightness·​-​·​Color·​lightness·​in·​the·​range·​0.​.​1</​li>
229 </​ul>225 </​ul>
230 <p>See·​also:​·​<a·​href="color.​html#al_color_hsl_to_​rgb">al_color_hsl_to_​rgb</​a>,​·​<a·​href="color.​html#al_color_hsv">al​_color_hsv</​a></​p>226 <p>See·​also:​·​<a·​href="color.​html#al_color_hsl_to_​rgb">al_color_hsl_to_​rgb</​a>,​·​<a·​href="color.​html#al_color_hsv">al​_color_hsv</​a></​p>
231 <h1·​id="al_color_hsl_to_r​gb">al_color_hsl_to_r​gb</​h1>227 <h1·​id="al_color_hsl_to_r​gb">al_color_hsl_to_r​gb</​h1>
232 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_hsl_to_rgb(<​span·​class="dt">float</​span>·​hue,​·​<span·​class="dt">float</​span>·​saturation,​·​<span·​class="dt">float</​span>·​lightness,​</​a>228 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_hsl_to_rgb(<​span·​class="dt">float</​span>·​hue,​·​<span·​class="dt">float</​span>·​saturation,​·​<span·​class="dt">float</​span>·​lightness,​</​a>
233 <a·​class="sourceLine"·​id="cb5-​2"·​title="2">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a>229 <a·​class="sourceLine"·​id="cb5-​2"·​title="2">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div>
234 <a·​class="sourceLine"·​id="cb5-​3"·​title="3"><span·​class="dt">void</​span>·​al_color_hsl_to_rgb(<​span·​class="dt">float</​span>·​hue,​·​<span·​class="dt">float</​span>·​saturation,​·​<span·​class="dt">float</​span>·​lightness,​</​a> 
235 <a·​class="sourceLine"·​id="cb5-​4"·​title="4">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div> 
236 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L367">Source·​Code</​a></​p>230 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L367">Source·​Code</​a></​p>
237 <p>Convert·​values·​in·​HSL·​color·​model·​to·​RGB·​color·​model.​</​p>231 <p>Convert·​values·​in·​HSL·​color·​model·​to·​RGB·​color·​model.​</​p>
238 <p>Parameters:​</​p>232 <p>Parameters:​</​p>
239 <ul>233 <ul>
240 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>234 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>
241 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>235 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>
242 <li>lightness·​-​·​Color·​lightness·​in·​the·​range·​0.​.​1</​li>236 <li>lightness·​-​·​Color·​lightness·​in·​the·​range·​0.​.​1</​li>
243 <li>red,​·​green,​·​blue·​-​·​returned·​RGB·​values·​in·​the·​range·​0.​.​1</​li>237 <li>red,​·​green,​·​blue·​-​·​returned·​RGB·​values·​in·​the·​range·​0.​.​1</​li>
244 </​ul>238 </​ul>
245 <p>See·​also:​·​<a·​href="color.​html#al_color_rgb_to_​hsl">al_color_rgb_to_​hsl</​a>,​·​<a·​href="color.​html#al_color_hsl">al​_color_hsl</​a>,​·​<a·​href="color.​html#al_color_hsv_to_​rgb">al_color_hsv_to_​rgb</​a></​p>239 <p>See·​also:​·​<a·​href="color.​html#al_color_rgb_to_​hsl">al_color_rgb_to_​hsl</​a>,​·​<a·​href="color.​html#al_color_hsl">al​_color_hsl</​a>,​·​<a·​href="color.​html#al_color_hsv_to_​rgb">al_color_hsv_to_​rgb</​a></​p>
246 <h1·​id="al_color_hsv">al_​color_hsv</​h1>240 <h1·​id="al_color_hsv">al_​color_hsv</​h1>
247 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1">ALLEGRO_COL​OR·​al_color_hsv(<span·​class="dt">float</​span>·​h,​·​<span·​class="dt">float</​span>·​s,​·​<span·​class="dt">float</​span>·​v)​</​a>241 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1">ALLEGRO_COL​OR·​al_color_hsv(<span·​class="dt">float</​span>·​h,​·​<span·​class="dt">float</​span>·​s,​·​<span·​class="dt">float</​span>·​v)​</​a></​code></​pre></​div>
248 <a·​class="sourceLine"·​id="cb6-​2"·​title="2">ALLEGRO_COL​OR·​al_color_hsv(<span·​class="dt">float</​span>·​h,​·​<span·​class="dt">float</​span>·​s,​·​<span·​class="dt">float</​span>·​v)​</​a></​code></​pre></​div> 
249 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L339">Source·​Code</​a></​p>242 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L339">Source·​Code</​a></​p>
250 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​structure·​from·​HSV·​(hue,​·​saturation,​·​value)​·​values.​</​p>243 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​structure·​from·​HSV·​(hue,​·​saturation,​·​value)​·​values.​</​p>
251 <p>Parameters:​</​p>244 <p>Parameters:​</​p>
252 <ul>245 <ul>
253 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>246 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>
254 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>247 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>
255 <li>value·​-​·​Color·​value·​in·​the·​range·​0.​.​1</​li>248 <li>value·​-​·​Color·​value·​in·​the·​range·​0.​.​1</​li>
256 </​ul>249 </​ul>
257 <p>See·​also:​·​<a·​href="color.​html#al_color_hsv_to_​rgb">al_color_hsv_to_​rgb</​a>,​·​<a·​href="color.​html#al_color_hsl">al​_color_hsl</​a></​p>250 <p>See·​also:​·​<a·​href="color.​html#al_color_hsv_to_​rgb">al_color_hsv_to_​rgb</​a>,​·​<a·​href="color.​html#al_color_hsl">al​_color_hsl</​a></​p>
258 <h1·​id="al_color_hsv_to_r​gb">al_color_hsv_to_r​gb</​h1>251 <h1·​id="al_color_hsv_to_r​gb">al_color_hsv_to_r​gb</​h1>
259 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_hsv_to_rgb(<​span·​class="dt">float</​span>·​hue,​·​<span·​class="dt">float</​span>·​saturation,​·​<span·​class="dt">float</​span>·​value,​</​a>252 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_hsv_to_rgb(<​span·​class="dt">float</​span>·​hue,​·​<span·​class="dt">float</​span>·​saturation,​·​<span·​class="dt">float</​span>·​value,​</​a>
260 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a>253 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div>
261 <a·​class="sourceLine"·​id="cb7-​3"·​title="3"><span·​class="dt">void</​span>·​al_color_hsv_to_rgb(<​span·​class="dt">float</​span>·​hue,​·​<span·​class="dt">float</​span>·​saturation,​·​<span·​class="dt">float</​span>·​value,​</​a> 
262 <a·​class="sourceLine"·​id="cb7-​4"·​title="4">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div> 
263 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L266">Source·​Code</​a></​p>254 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L266">Source·​Code</​a></​p>
264 <p>Convert·​values·​in·​HSV·​color·​model·​to·​RGB·​color·​model.​</​p>255 <p>Convert·​values·​in·​HSV·​color·​model·​to·​RGB·​color·​model.​</​p>
265 <p>Parameters:​</​p>256 <p>Parameters:​</​p>
266 <ul>257 <ul>
267 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>258 <li>hue·​-​·​Color·​hue·​angle·​in·​the·​range·​0.​.​360</​li>
268 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>259 <li>saturation·​-​·​Color·​saturation·​in·​the·​range·​0.​.​1</​li>
269 <li>value·​-​·​Color·​value·​in·​the·​range·​0.​.​1</​li>260 <li>value·​-​·​Color·​value·​in·​the·​range·​0.​.​1</​li>
270 <li>red,​·​green,​·​blue·​-​·​returned·​RGB·​values·​in·​the·​range·​0.​.​1</​li>261 <li>red,​·​green,​·​blue·​-​·​returned·​RGB·​values·​in·​the·​range·​0.​.​1</​li>
271 </​ul>262 </​ul>
272 <p>See·​also:​·​<a·​href="color.​html#al_color_rgb_to_​hsv">al_color_rgb_to_​hsv</​a>,​·​<a·​href="color.​html#al_color_hsv">al​_color_hsv</​a>,​·​<a·​href="color.​html#al_color_hsl_to_​rgb">al_color_hsl_to_​rgb</​a></​p>263 <p>See·​also:​·​<a·​href="color.​html#al_color_rgb_to_​hsv">al_color_rgb_to_​hsv</​a>,​·​<a·​href="color.​html#al_color_hsv">al​_color_hsv</​a>,​·​<a·​href="color.​html#al_color_hsl_to_​rgb">al_color_hsl_to_​rgb</​a></​p>
273 <h1·​id="al_color_html">al​_color_html</​h1>264 <h1·​id="al_color_html">al​_color_html</​h1>
274 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1">ALLEGRO_COL​OR·​al_color_html(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*string)​</​a>265 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1">ALLEGRO_COL​OR·​al_color_html(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*string)​</​a></​code></​pre></​div>
275 <a·​class="sourceLine"·​id="cb8-​2"·​title="2">ALLEGRO_COL​OR·​al_color_html(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*string)​</​a></​code></​pre></​div> 
276 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L568">Source·​Code</​a></​p>266 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L568">Source·​Code</​a></​p>
277 <p>Interprets·​an·​HTML-​style·​hex·​number·​(e.​g.​·​#00faff)​·​as·​a·​color.​·​The·​accepted·​format·​is·​the·​same·​as·​<a·​href="color.​html#al_color_html_to​_rgb">al_color_html_t​o_rgb</​a>.​</​p>267 <p>Interprets·​an·​HTML-​style·​hex·​number·​(e.​g.​·​#00faff)​·​as·​a·​color.​·​The·​accepted·​format·​is·​the·​same·​as·​<a·​href="color.​html#al_color_html_to​_rgb">al_color_html_t​o_rgb</​a>.​</​p>
278 <p>Returns·​the·​interpreted·​color,​·​or·​<code>al_map_rgba(0,​·​0,​·​0,​·​0)​</​code>·​if·​the·​string·​could·​not·​be·​parsed.​</​p>268 <p>Returns·​the·​interpreted·​color,​·​or·​<code>al_map_rgba(0,​·​0,​·​0,​·​0)​</​code>·​if·​the·​string·​could·​not·​be·​parsed.​</​p>
279 <blockquote>269 <blockquote>
280 <p><em>Note</​em>:​·​the·​behaviour·​on·​invalid·​strings·​is·​different·​from·​Allegro·​5.​0.​x.​</​p>270 <p><em>Note</​em>:​·​the·​behaviour·​on·​invalid·​strings·​is·​different·​from·​Allegro·​5.​0.​x.​</​p>
281 </​blockquote>271 </​blockquote>
282 <p>See·​also:​·​<a·​href="color.​html#al_color_html_to​_rgb">al_color_html_t​o_rgb</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​html">al_color_rgb_to​_html</​a></​p>272 <p>See·​also:​·​<a·​href="color.​html#al_color_html_to​_rgb">al_color_html_t​o_rgb</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​html">al_color_rgb_to​_html</​a></​p>
283 <h1·​id="al_color_html_to_​rgb">al_color_html_to​_rgb</​h1>273 <h1·​id="al_color_html_to_​rgb">al_color_html_to​_rgb</​h1>
284 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">bool</​span>·​al_color_html_to_rgb(​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*string,​</​a>274 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">bool</​span>·​al_color_html_to_rgb(​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*string,​</​a>
285 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a>275 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div>
286 <a·​class="sourceLine"·​id="cb9-​3"·​title="3"><span·​class="dt">bool</​span>·​al_color_html_to_rgb(​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*string,​</​a> 
287 <a·​class="sourceLine"·​id="cb9-​4"·​title="4">···​<span·​class="dt">float</​span>·​*red,​·​<span·​class="dt">float</​span>·​*green,​·​<span·​class="dt">float</​span>·​*blue)​</​a></​code></​pre></​div> 
288 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L538">Source·​Code</​a></​p>276 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L538">Source·​Code</​a></​p>
289 <p>Interprets·​an·​HTML-​style·​hex·​number·​(e.​g.​·​#00faff)​·​as·​a·​color.​·​The·​only·​accepted·​formats·​are·​“#RRGGBB”·​and·​“RRGGBB”·​where·​R,​·​G,​·​B·​are·​hexadecimal·​digits·​[0-​9A-​Fa-​f].​</​p>277 <p>Interprets·​an·​HTML-​style·​hex·​number·​(e.​g.​·​#00faff)​·​as·​a·​color.​·​The·​only·​accepted·​formats·​are·​“#RRGGBB”·​and·​“RRGGBB”·​where·​R,​·​G,​·​B·​are·​hexadecimal·​digits·​[0-​9A-​Fa-​f].​</​p>
290 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​·​On·​failure·​all·​components·​are·​set·​to·​zero.​</​p>278 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​·​On·​failure·​all·​components·​are·​set·​to·​zero.​</​p>
291 <blockquote>279 <blockquote>
292 <p><em>Note</​em>:​·​the·​behaviour·​on·​invalid·​strings·​is·​different·​from·​Allegro·​5.​0.​x.​</​p>280 <p><em>Note</​em>:​·​the·​behaviour·​on·​invalid·​strings·​is·​different·​from·​Allegro·​5.​0.​x.​</​p>
293 </​blockquote>281 </​blockquote>
294 <p>See·​also:​·​<a·​href="color.​html#al_color_html">a​l_color_html</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​html">al_color_rgb_to​_html</​a></​p>282 <p>See·​also:​·​<a·​href="color.​html#al_color_html">a​l_color_html</​a>,​·​<a·​href="color.​html#al_color_rgb_to_​html">al_color_rgb_to​_html</​a></​p>
295 <h1·​id="al_color_rgb_to_h​tml">al_color_rgb_to_​html</​h1>283 <h1·​id="al_color_rgb_to_h​tml">al_color_rgb_to_​html</​h1>
296 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_rgb_to_html(​<span·​class="dt">float</​span>·​red,​·​<span·​class="dt">float</​span>·​green,​·​<span·​class="dt">float</​span>·​blue,​</​a>284 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_color_rgb_to_html(​<span·​class="dt">float</​span>·​red,​·​<span·​class="dt">float</​span>·​green,​·​<span·​class="dt">float</​span>·​blue,​</​a>
297 <a·​class="sourceLine"·​id="cb10-​2"·​title="2">····​<span·​class="dt">char</​span>·​*string)​</​a>285 <a·​class="sourceLine"·​id="cb10-​2"·​title="2">····​<span·​class="dt">char</​span>·​*string)​</​a></​code></​pre></​div>
298 <a·​class="sourceLine"·​id="cb10-​3"·​title="3"><span·​class="dt">void</​span>·​al_color_rgb_to_html(​<span·​class="dt">float</​span>·​red,​·​<span·​class="dt">float</​span>·​green,​·​<span·​class="dt">float</​span>·​blue,​</​a> 
299 <a·​class="sourceLine"·​id="cb10-​4"·​title="4">····​<span·​class="dt">char</​span>·​*string)​</​a></​code></​pre></​div> 
300 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L528">Source·​Code</​a></​p>286 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L528">Source·​Code</​a></​p>
301 <p>Create·​an·​HTML-​style·​string·​representation·​of·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>,​·​e.​g.​·​#00faff.​</​p>287 <p>Create·​an·​HTML-​style·​string·​representation·​of·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>,​·​e.​g.​·​#00faff.​</​p>
302 <p>Parameters:​</​p>288 <p>Parameters:​</​p>
303 <ul>289 <ul>
304 <li>red,​·​green,​·​blue·​-​·​The·​color·​components·​in·​the·​range·​0.​.​1.​</​li>290 <li>red,​·​green,​·​blue·​-​·​The·​color·​components·​in·​the·​range·​0.​.​1.​</​li>
305 <li>string·​-​·​A·​pointer·​to·​a·​buffer·​of·​at·​least·​8·​bytes,​·​into·​which·​the·​result·​will·​be·​written·​(including·​the·​NUL·​terminator)​.​</​li>291 <li>string·​-​·​A·​pointer·​to·​a·​buffer·​of·​at·​least·​8·​bytes,​·​into·​which·​the·​result·​will·​be·​written·​(including·​the·​NUL·​terminator)​.​</​li>
306 </​ul>292 </​ul>
307 <p>Example:​</​p>293 <p>Example:​</​p>
308 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">char</​span>·​html[<span·​class="dv">8</​span>];​</​a>294 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">char</​span>·​html[<span·​class="dv">8</​span>];​</​a>
309 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">al_color_rg​b_to_html(<span·​class="dv">1</​span>,​·​<span·​class="dv">0</​span>,​·​<span·​class="dv">0</​span>,​·​html)​;​</​a></​code></​pre></​div>295 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">al_color_rg​b_to_html(<span·​class="dv">1</​span>,​·​<span·​class="dv">0</​span>,​·​<span·​class="dv">0</​span>,​·​html)​;​</​a></​code></​pre></​div>
310 <p>Now·​html·​will·​contain·​“#ff0000”.​</​p>296 <p>Now·​html·​will·​contain·​“#ff0000”.​</​p>
311 <p>See·​also:​·​<a·​href="color.​html#al_color_html">a​l_color_html</​a>,​·​<a·​href="color.​html#al_color_html_to​_rgb">al_color_html_t​o_rgb</​a></​p>297 <p>See·​also:​·​<a·​href="color.​html#al_color_html">a​l_color_html</​a>,​·​<a·​href="color.​html#al_color_html_to​_rgb">al_color_html_t​o_rgb</​a></​p>
312 <h1·​id="al_color_name">al​_color_name</​h1>298 <h1·​id="al_color_name">al​_color_name</​h1>
313 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1">ALLEGRO_COL​OR·​al_color_name(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*name)​</​a>299 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1">ALLEGRO_COL​OR·​al_color_name(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*name)​</​a></​code></​pre></​div>
314 <a·​class="sourceLine"·​id="cb12-​2"·​title="2">ALLEGRO_COL​OR·​al_color_name(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*name)​</​a></​code></​pre></​div> 
315 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L254">Source·​Code</​a></​p>300 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L254">Source·​Code</​a></​p>
316 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​with·​the·​given·​name.​·​If·​the·​color·​is·​not·​found·​then·​black·​is·​returned.​</​p>301 <p>Return·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>·​with·​the·​given·​name.​·​If·​the·​color·​is·​not·​found·​then·​black·​is·​returned.​</​p>
317 <p>See·​<a·​href="color.​html#al_color_name_to​_rgb">al_color_name_t​o_rgb</​a>·​for·​the·​list·​of·​names.​</​p>302 <p>See·​<a·​href="color.​html#al_color_name_to​_rgb">al_color_name_t​o_rgb</​a>·​for·​the·​list·​of·​names.​</​p>
318 <h1·​id="al_color_name_to_​rgb">al_color_name_to​_rgb</​h1>303 <h1·​id="al_color_name_to_​rgb">al_color_name_to​_rgb</​h1>
319 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="dt">bool</​span>·​al_color_name_to_rgb(​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*name,​·​<span·​class="dt">float</​span>·​*r,​·​<span·​class="dt">float</​span>·​*g,​·​<span·​class="dt">float</​span>·​*b)​</​a>304 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="dt">bool</​span>·​al_color_name_to_rgb(​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*name,​·​<span·​class="dt">float</​span>·​*r,​·​<span·​class="dt">float</​span>·​*g,​·​<span·​class="dt">float</​span>·​*b)​</​a></​code></​pre></​div>
320 <a·​class="sourceLine"·​id="cb13-​2"·​title="2"><span·​class="dt">bool</​span>·​al_color_name_to_rgb(​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*name,​·​<span·​class="dt">float</​span>·​*r,​·​<span·​class="dt">float</​span>·​*g,​·​<span·​class="dt">float</​span>·​*b)​</​a></​code></​pre></​div> 
321 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L210">Source·​Code</​a></​p>305 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​color/​color.​c#L210">Source·​Code</​a></​p>
322 <p>Parameters:​</​p>306 <p>Parameters:​</​p>
323 <ul>307 <ul>
324 <li>name·​-​·​The·​(lowercase)​·​name·​of·​the·​color.​</​li>308 <li>name·​-​·​The·​(lowercase)​·​name·​of·​the·​color.​</​li>
325 <li>r,​·​g,​·​b·​-​·​If·​one·​of·​the·​recognized·​color·​names·​below·​is·​passed,​·​the·​corresponding·​RGB·​values·​in·​the·​range·​0.​.​1·​are·​written.​</​li>309 <li>r,​·​g,​·​b·​-​·​If·​one·​of·​the·​recognized·​color·​names·​below·​is·​passed,​·​the·​corresponding·​RGB·​values·​in·​the·​range·​0.​.​1·​are·​written.​</​li>
Max diff block lines reached; 30730/48275 bytes (63.66%) of diff not shown.
5.68 KB
./usr/share/doc/allegro5-doc/refman/config.html
    
Offset 202, 27 lines modifiedOffset 202, 24 lines modified
202 <p>It·​can·​then·​be·​accessed·​like·​this·​(make·​sure·​to·​check·​for·​errors·​in·​an·​actual·​program)​:​</​p>202 <p>It·​can·​then·​be·​accessed·​like·​this·​(make·​sure·​to·​check·​for·​errors·​in·​an·​actual·​program)​:​</​p>
203 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">ALLEGRO_CON​FIG*·​cfg·​=·​al_load_config_file(<​span·​class="st">&quot;​test.​cfg&quot;​</​span>)​;​</​a>203 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">ALLEGRO_CON​FIG*·​cfg·​=·​al_load_config_file(<​span·​class="st">&quot;​test.​cfg&quot;​</​span>)​;​</​a>
204 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">printf(<spa​n·​class="st">&quot;​%s</​span><span·​class="sc">\n</​span><span·​class="st">&quot;​</​span>,​·​al_get_config_value(c​fg,​·​<span·​class="st">&quot;​&quot;​</​span>,​·​<span·​class="st">&quot;​monster·​name&quot;​</​span>)​)​;​·​<span·​class="co">/​*·​Prints:​·​Allegro·​Developer·​*/​</​span></​a>204 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">printf(<spa​n·​class="st">&quot;​%s</​span><span·​class="sc">\n</​span><span·​class="st">&quot;​</​span>,​·​al_get_config_value(c​fg,​·​<span·​class="st">&quot;​&quot;​</​span>,​·​<span·​class="st">&quot;​monster·​name&quot;​</​span>)​)​;​·​<span·​class="co">/​*·​Prints:​·​Allegro·​Developer·​*/​</​span></​a>
205 <a·​class="sourceLine"·​id="cb3-​3"·​title="3">printf(<spa​n·​class="st">&quot;​%s</​span><span·​class="sc">\n</​span><span·​class="st">&quot;​</​span>,​·​al_get_config_value(c​fg,​·​<span·​class="st">&quot;​weapon·​0&quot;​</​span>,​·​<span·​class="st">&quot;​damage&quot;​</​span>)​)​;​·​<span·​class="co">/​*·​Prints:​·​443·​*/​</​span></​a>205 <a·​class="sourceLine"·​id="cb3-​3"·​title="3">printf(<spa​n·​class="st">&quot;​%s</​span><span·​class="sc">\n</​span><span·​class="st">&quot;​</​span>,​·​al_get_config_value(c​fg,​·​<span·​class="st">&quot;​weapon·​0&quot;​</​span>,​·​<span·​class="st">&quot;​damage&quot;​</​span>)​)​;​·​<span·​class="co">/​*·​Prints:​·​443·​*/​</​span></​a>
206 <a·​class="sourceLine"·​id="cb3-​4"·​title="4">printf(<spa​n·​class="st">&quot;​%s</​span><span·​class="sc">\n</​span><span·​class="st">&quot;​</​span>,​·​al_get_config_value(c​fg,​·​<span·​class="st">&quot;​weapon·​1&quot;​</​span>,​·​<span·​class="st">&quot;​damage&quot;​</​span>)​)​;​·​<span·​class="co">/​*·​Prints:​·​503·​*/​</​span></​a>206 <a·​class="sourceLine"·​id="cb3-​4"·​title="4">printf(<spa​n·​class="st">&quot;​%s</​span><span·​class="sc">\n</​span><span·​class="st">&quot;​</​span>,​·​al_get_config_value(c​fg,​·​<span·​class="st">&quot;​weapon·​1&quot;​</​span>,​·​<span·​class="st">&quot;​damage&quot;​</​span>)​)​;​·​<span·​class="co">/​*·​Prints:​·​503·​*/​</​span></​a>
207 <a·​class="sourceLine"·​id="cb3-​5"·​title="5">al_destroy_​config(cfg)​;​</​a></​code></​pre></​div>207 <a·​class="sourceLine"·​id="cb3-​5"·​title="5">al_destroy_​config(cfg)​;​</​a></​code></​pre></​div>
208 <h1·​id="allegro_config">A​LLEGRO_CONFIG</​h1>208 <h1·​id="allegro_config">A​LLEGRO_CONFIG</​h1>
209 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG·​ALLEGRO_CONFIG;​</​a>209 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG·​ALLEGRO_CONFIG;​</​a></​code></​pre></​div>
210 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG·​ALLEGRO_CONFIG;​</​a></​code></​pre></​div> 
211 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​config.​h#L12">Source·​Code</​a></​p>210 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​config.​h#L12">Source·​Code</​a></​p>
212 <p>An·​abstract·​configuration·​structure.​</​p>211 <p>An·​abstract·​configuration·​structure.​</​p>
213 <h1·​id="allegro_config_se​ction">ALLEGRO_CONFIG​_SECTION</​h1>212 <h1·​id="allegro_config_se​ction">ALLEGRO_CONFIG​_SECTION</​h1>
214 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG_SECTIO​N·​ALLEGRO_CONFIG_SECTIO​N;​</​a>213 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG_SECTIO​N·​ALLEGRO_CONFIG_SECTIO​N;​</​a></​code></​pre></​div>
215 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG_SECTIO​N·​ALLEGRO_CONFIG_SECTIO​N;​</​a></​code></​pre></​div> 
216 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​config.​h#L16">Source·​Code</​a></​p>214 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​config.​h#L16">Source·​Code</​a></​p>
217 <p>An·​opaque·​structure·​used·​for·​iterating·​across·​sections·​in·​a·​configuration·​structure.​</​p>215 <p>An·​opaque·​structure·​used·​for·​iterating·​across·​sections·​in·​a·​configuration·​structure.​</​p>
218 <p>See·​also:​·​<a·​href="config.​html#al_get_first_con​fig_section">al_get_f​irst_config_section</​a>,​·​<a·​href="config.​html#al_get_next_conf​ig_section">al_get_ne​xt_config_section</​a></​p>216 <p>See·​also:​·​<a·​href="config.​html#al_get_first_con​fig_section">al_get_f​irst_config_section</​a>,​·​<a·​href="config.​html#al_get_next_conf​ig_section">al_get_ne​xt_config_section</​a></​p>
219 <h1·​id="allegro_config_en​try">ALLEGRO_CONFIG_E​NTRY</​h1>217 <h1·​id="allegro_config_en​try">ALLEGRO_CONFIG_E​NTRY</​h1>
220 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG_ENTRY·​ALLEGRO_CONFIG_ENTRY;​</​a>218 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG_ENTRY·​ALLEGRO_CONFIG_ENTRY;​</​a></​code></​pre></​div>
221 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_CONFIG_ENTRY·​ALLEGRO_CONFIG_ENTRY;​</​a></​code></​pre></​div> 
222 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​config.​h#L20">Source·​Code</​a></​p>219 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​config.​h#L20">Source·​Code</​a></​p>
223 <p>An·​opaque·​structure·​used·​for·​iterating·​across·​entries·​in·​a·​configuration·​section.​</​p>220 <p>An·​opaque·​structure·​used·​for·​iterating·​across·​entries·​in·​a·​configuration·​section.​</​p>
224 <p>See·​also:​·​<a·​href="config.​html#al_get_first_con​fig_entry">al_get_fir​st_config_entry</​a>,​·​<a·​href="config.​html#al_get_next_conf​ig_entry">al_get_next​_config_entry</​a></​p>221 <p>See·​also:​·​<a·​href="config.​html#al_get_first_con​fig_entry">al_get_fir​st_config_entry</​a>,​·​<a·​href="config.​html#al_get_next_conf​ig_entry">al_get_next​_config_entry</​a></​p>
225 <h1·​id="al_create_config"​>al_create_config</​h1>222 <h1·​id="al_create_config"​>al_create_config</​h1>
226 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_CON​FIG·​*al_create_config(<sp​an·​class="dt">void</​span>)​</​a></​code></​pre></​div>223 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_CON​FIG·​*al_create_config(<sp​an·​class="dt">void</​span>)​</​a></​code></​pre></​div>
227 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​config.​c#L37">Source·​Code</​a></​p>224 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​config.​c#L37">Source·​Code</​a></​p>
228 <p>Create·​an·​empty·​configuration·​structure.​</​p>225 <p>Create·​an·​empty·​configuration·​structure.​</​p>
Offset 323, 12 lines modifiedOffset 320, 12 lines modified
323 <h1·​id="al_merge_config_i​nto">al_merge_config_​into</​h1>320 <h1·​id="al_merge_config_i​nto">al_merge_config_​into</​h1>
324 <div·​class="sourceCode"·​id="cb24"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb24-​1"·​title="1"><span·​class="dt">void</​span>·​al_merge_config_into(​ALLEGRO_CONFIG·​*master,​·​<span·​class="dt">const</​span>·​ALLEGRO_CONFIG·​*add)​</​a></​code></​pre></​div>321 <div·​class="sourceCode"·​id="cb24"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb24-​1"·​title="1"><span·​class="dt">void</​span>·​al_merge_config_into(​ALLEGRO_CONFIG·​*master,​·​<span·​class="dt">const</​span>·​ALLEGRO_CONFIG·​*add)​</​a></​code></​pre></​div>
325 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​config.​c#L515">Source·​Code</​a></​p>322 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​config.​c#L515">Source·​Code</​a></​p>
326 <p>Merge·​one·​configuration·​structure·​into·​another.​·​Values·​in·​configuration·​‘add’·​override·​those·​in·​‘master’.​·​‘master’·​is·​modified.​·​Comments·​from·​‘add’·​are·​not·​retained.​</​p>323 <p>Merge·​one·​configuration·​structure·​into·​another.​·​Values·​in·​configuration·​‘add’·​override·​those·​in·​‘master’.​·​‘master’·​is·​modified.​·​Comments·​from·​‘add’·​are·​not·​retained.​</​p>
327 <p>See·​also:​·​<a·​href="config.​html#al_merge_config"​>al_merge_config</​a></​p>324 <p>See·​also:​·​<a·​href="config.​html#al_merge_config"​>al_merge_config</​a></​p>
328 <p·​class="timestamp">325 <p·​class="timestamp">
329 Allegro·​version·​5.​2.​4326 Allegro·​version·​5.​2.​4
330 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​23·​UTC327 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​35·​UTC
331 </​p>328 </​p>
332 </​div>329 </​div>
333 </​body>330 </​body>
334 </​html>331 </​html>
824 B
./usr/share/doc/allegro5-doc/refman/direct3d.html
    
Offset 237, 12 lines modifiedOffset 237, 12 lines modified
237 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">···​<span·​class="dt">void</​span>·​(*callback)​(ALLEGRO_DISPLAY·​*display)​)​</​a></​code></​pre></​div>237 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">···​<span·​class="dt">void</​span>·​(*callback)​(ALLEGRO_DISPLAY·​*display)​)​</​a></​code></​pre></​div>
238 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​win/​d3d_disp.​cpp#L214">Source·​Code</​a></​p>238 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​win/​d3d_disp.​cpp#L214">Source·​Code</​a></​p>
239 <p>The·​callback·​will·​be·​called·​whenever·​a·​D3D·​device·​that·​has·​been·​reset·​is·​restored.​·​In·​the·​callback·​you·​should·​restore·​any·​d3d·​resources·​you·​have·​created·​yourself.​·​The·​callback·​receives·​the·​affected·​display·​as·​a·​parameter.​</​p>239 <p>The·​callback·​will·​be·​called·​whenever·​a·​D3D·​device·​that·​has·​been·​reset·​is·​restored.​·​In·​the·​callback·​you·​should·​restore·​any·​d3d·​resources·​you·​have·​created·​yourself.​·​The·​callback·​receives·​the·​affected·​display·​as·​a·​parameter.​</​p>
240 <p>Pass·​NULL·​to·​disable·​the·​callback.​</​p>240 <p>Pass·​NULL·​to·​disable·​the·​callback.​</​p>
241 <p>Since:​·​5.​1.​0</​p>241 <p>Since:​·​5.​1.​0</​p>
242 <p·​class="timestamp">242 <p·​class="timestamp">
243 Allegro·​version·​5.​2.​4243 Allegro·​version·​5.​2.​4
244 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC244 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​43·​UTC
245 </​p>245 </​p>
246 </​div>246 </​div>
247 </​body>247 </​body>
248 </​html>248 </​html>
7.27 KB
./usr/share/doc/allegro5-doc/refman/display.html
    
Offset 227, 16 lines modifiedOffset 227, 15 lines modified
227 <p>Before·​creating·​a·​display·​with·​<a·​href="display.​html#al_create_displa​y">al_create_display<​/​a>,​·​flags·​and·​options·​can·​be·​set·​with·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​and·​<a·​href="display.​html#al_set_new_displ​ay_option">al_set_new​_display_option</​a>.​·​For·​example,​·​you·​can·​enable·​the·​use·​of·​shaders·​or·​choose·​between·​the·​OpenGL·​and·​Direct3D·​backends·​(on·​platforms·​that·​support·​both)​·​with·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>.​·​Display·​options·​are·​rather·​optional·​settings·​that·​do·​not·​affect·​Allegro·​itself,​·​e.​g.​ they·​allow·​you·​to·​specify·​whether·​you·​want·​a·​depth·​buffer·​or·​enable·​multisampling.​</​p>227 <p>Before·​creating·​a·​display·​with·​<a·​href="display.​html#al_create_displa​y">al_create_display<​/​a>,​·​flags·​and·​options·​can·​be·​set·​with·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​and·​<a·​href="display.​html#al_set_new_displ​ay_option">al_set_new​_display_option</​a>.​·​For·​example,​·​you·​can·​enable·​the·​use·​of·​shaders·​or·​choose·​between·​the·​OpenGL·​and·​Direct3D·​backends·​(on·​platforms·​that·​support·​both)​·​with·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>.​·​Display·​options·​are·​rather·​optional·​settings·​that·​do·​not·​affect·​Allegro·​itself,​·​e.​g.​ they·​allow·​you·​to·​specify·​whether·​you·​want·​a·​depth·​buffer·​or·​enable·​multisampling.​</​p>
228 <p>The·​actual·​properties·​of·​a·​display·​that·​has·​been·​successfully·​created·​can·​be·​queried·​via·​<a·​href="display.​html#al_get_display_o​ption">al_get_display​_option</​a>,​·​<a·​href="display.​html#al_get_display_f​lags">al_get_display_​flags</​a>,​·​<a·​href="display.​html#al_get_display_w​idth">al_get_display_​width</​a>·​etc.​·​Note·​that·​you·​can·​query·​some·​additional·​read-​only·​properties·​such·​as·​the·​maximum·​allowed·​bitmap·​(i.​e.​ texture)​·​size·​via·​<a·​href="display.​html#al_get_display_o​ption">al_get_display​_option</​a>.​</​p>228 <p>The·​actual·​properties·​of·​a·​display·​that·​has·​been·​successfully·​created·​can·​be·​queried·​via·​<a·​href="display.​html#al_get_display_o​ption">al_get_display​_option</​a>,​·​<a·​href="display.​html#al_get_display_f​lags">al_get_display_​flags</​a>,​·​<a·​href="display.​html#al_get_display_w​idth">al_get_display_​width</​a>·​etc.​·​Note·​that·​you·​can·​query·​some·​additional·​read-​only·​properties·​such·​as·​the·​maximum·​allowed·​bitmap·​(i.​e.​ texture)​·​size·​via·​<a·​href="display.​html#al_get_display_o​ption">al_get_display​_option</​a>.​</​p>
229 <p>Each·​display·​has·​a·​backbuffer·​associated·​to·​it·​which·​is·​the·​default·​target·​for·​any·​drawing·​operations.​·​In·​order·​to·​make·​visible·​what·​has·​been·​drawn·​previously,​·​you·​have·​to·​to·​call·​<a·​href="display.​html#al_flip_display"​>al_flip_display</​a>.​·​Note·​that·​it·​is·​generally·​advisable·​to·​redraw·​the·​whole·​screen·​(or·​<a·​href="graphics.​html#al_clear_to_colo​r">clear</​a>·​it·​in·​advance)​·​to·​avoid·​artefacts·​of·​uninitialised·​memory·​becoming·​visible·​with·​some·​drivers.​</​p>229 <p>Each·​display·​has·​a·​backbuffer·​associated·​to·​it·​which·​is·​the·​default·​target·​for·​any·​drawing·​operations.​·​In·​order·​to·​make·​visible·​what·​has·​been·​drawn·​previously,​·​you·​have·​to·​to·​call·​<a·​href="display.​html#al_flip_display"​>al_flip_display</​a>.​·​Note·​that·​it·​is·​generally·​advisable·​to·​redraw·​the·​whole·​screen·​(or·​<a·​href="graphics.​html#al_clear_to_colo​r">clear</​a>·​it·​in·​advance)​·​to·​avoid·​artefacts·​of·​uninitialised·​memory·​becoming·​visible·​with·​some·​drivers.​</​p>
230 <p>You·​don’t·​have·​to·​use·​Allegro’s·​drawing·​routines,​·​however:​·​since·​creating·​a·​display·​implies·​the·​creation·​of·​an·​OpenGL·​context·​or·​Direct3D·​device·​respectively,​·​you·​can·​use·​these·​APIs·​directly·​if·​you·​prefer·​to·​do·​so.​·​Allegro·​provides·​integration·​for·​both·​(see·​the·​OpenGL·​/​·​Direct3D·​sections)​,​·​so·​you·​can·​retrieve·​the·​underlying·​textures·​of·​<a·​href="graphics.​html#allegro_bitmap">​ALLEGRO_BITMAP</​a>s,​·​for·​example.​</​p>230 <p>You·​don’t·​have·​to·​use·​Allegro’s·​drawing·​routines,​·​however:​·​since·​creating·​a·​display·​implies·​the·​creation·​of·​an·​OpenGL·​context·​or·​Direct3D·​device·​respectively,​·​you·​can·​use·​these·​APIs·​directly·​if·​you·​prefer·​to·​do·​so.​·​Allegro·​provides·​integration·​for·​both·​(see·​the·​OpenGL·​/​·​Direct3D·​sections)​,​·​so·​you·​can·​retrieve·​the·​underlying·​textures·​of·​<a·​href="graphics.​html#allegro_bitmap">​ALLEGRO_BITMAP</​a>s,​·​for·​example.​</​p>
231 <p>In·​order·​to·​write·​a·​well-​behaved·​application,​·​it·​is·​necessary·​to·​remember·​that·​displays·​will·​also·​inform·​you·​about·​important·​<a·​href="events.​html#allegro_event_di​splay_expose">events<​/​a>·​via·​their·​<a·​href="display.​html#al_get_display_e​vent_source">event·​sources</​a>.​</​p>231 <p>In·​order·​to·​write·​a·​well-​behaved·​application,​·​it·​is·​necessary·​to·​remember·​that·​displays·​will·​also·​inform·​you·​about·​important·​<a·​href="events.​html#allegro_event_di​splay_expose">events<​/​a>·​via·​their·​<a·​href="display.​html#al_get_display_e​vent_source">event·​sources</​a>.​</​p>
232 <h1·​id="display-​creation">Display·​creation</​h1>232 <h1·​id="display-​creation">Display·​creation</​h1>
233 <h2·​id="allegro_display">​ALLEGRO_DISPLAY</​h2>233 <h2·​id="allegro_display">​ALLEGRO_DISPLAY</​h2>
234 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY·​ALLEGRO_DISPLAY;​</​a>234 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY·​ALLEGRO_DISPLAY;​</​a></​code></​pre></​div>
235 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY·​ALLEGRO_DISPLAY;​</​a></​code></​pre></​div> 
236 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​display.​h#L108">Source·​Code</​a></​p>235 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​display.​h#L108">Source·​Code</​a></​p>
237 <p>An·​opaque·​type·​representing·​an·​open·​display·​or·​window.​</​p>236 <p>An·​opaque·​type·​representing·​an·​open·​display·​or·​window.​</​p>
238 <h2·​id="al_create_display​">al_create_display</​h2>237 <h2·​id="al_create_display​">al_create_display</​h2>
239 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">ALLEGRO_DIS​PLAY·​*al_create_display(<s​pan·​class="dt">int</​span>·​w,​·​<span·​class="dt">int</​span>·​h)​</​a></​code></​pre></​div>238 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">ALLEGRO_DIS​PLAY·​*al_create_display(<s​pan·​class="dt">int</​span>·​w,​·​<span·​class="dt">int</​span>·​h)​</​a></​code></​pre></​div>
240 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​display.​c#L38">Source·​Code</​a></​p>239 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​display.​c#L38">Source·​Code</​a></​p>
241 <p>Create·​a·​display,​·​or·​window,​·​with·​the·​specified·​dimensions.​·​The·​parameters·​of·​the·​display·​are·​determined·​by·​the·​last·​calls·​to·​al_set_new_display_*.​·​Default·​parameters·​are·​used·​if·​none·​are·​set·​explicitly.​·​Creating·​a·​new·​display·​will·​automatically·​make·​it·​the·​active·​one,​·​with·​the·​backbuffer·​selected·​for·​drawing.​</​p>240 <p>Create·​a·​display,​·​or·​window,​·​with·​the·​specified·​dimensions.​·​The·​parameters·​of·​the·​display·​are·​determined·​by·​the·​last·​calls·​to·​al_set_new_display_*.​·​Default·​parameters·​are·​used·​if·​none·​are·​set·​explicitly.​·​Creating·​a·​new·​display·​will·​automatically·​make·​it·​the·​active·​one,​·​with·​the·​backbuffer·​selected·​for·​drawing.​</​p>
242 <p>Returns·​NULL·​on·​error.​</​p>241 <p>Returns·​NULL·​on·​error.​</​p>
Offset 607, 16 lines modifiedOffset 606, 15 lines modified
607 <h2·​id="al_set_new_window​_title">al_set_new_wi​ndow_title</​h2>606 <h2·​id="al_set_new_window​_title">al_set_new_wi​ndow_title</​h2>
608 <div·​class="sourceCode"·​id="cb36"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb36-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_new_window_tit​le(<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*title)​</​a></​code></​pre></​div>607 <div·​class="sourceCode"·​id="cb36"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb36-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_new_window_tit​le(<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*title)​</​a></​code></​pre></​div>
609 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L203">Source·​Code</​a></​p>608 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L203">Source·​Code</​a></​p>
610 <p>Set·​the·​title·​that·​will·​be·​used·​when·​a·​new·​display·​is·​created.​·​Allegro·​uses·​a·​static·​buffer·​of·​<a·​href="display.​html#allegro_new_wind​ow_title_max_size">AL​LEGRO_NEW_WINDOW_TITL​E_MAX_SIZE</​a>·​to·​store·​this,​·​so·​the·​length·​of·​the·​titme·​you·​set·​must·​be·​less·​than·​this.​</​p>609 <p>Set·​the·​title·​that·​will·​be·​used·​when·​a·​new·​display·​is·​created.​·​Allegro·​uses·​a·​static·​buffer·​of·​<a·​href="display.​html#allegro_new_wind​ow_title_max_size">AL​LEGRO_NEW_WINDOW_TITL​E_MAX_SIZE</​a>·​to·​store·​this,​·​so·​the·​length·​of·​the·​titme·​you·​set·​must·​be·​less·​than·​this.​</​p>
611 <p>See·​also:​·​<a·​href="display.​html#al_set_window_ti​tle">al_set_window_ti​tle</​a>,​·​<a·​href="display.​html#al_get_new_windo​w_title">al_get_new_w​indow_title</​a>,​·​<a·​href="display.​html#al_create_displa​y">al_create_display<​/​a>,​·​<a·​href="display.​html#allegro_new_wind​ow_title_max_size">AL​LEGRO_NEW_WINDOW_TITL​E_MAX_SIZE</​a></​p>610 <p>See·​also:​·​<a·​href="display.​html#al_set_window_ti​tle">al_set_window_ti​tle</​a>,​·​<a·​href="display.​html#al_get_new_windo​w_title">al_get_new_w​indow_title</​a>,​·​<a·​href="display.​html#al_create_displa​y">al_create_display<​/​a>,​·​<a·​href="display.​html#allegro_new_wind​ow_title_max_size">AL​LEGRO_NEW_WINDOW_TITL​E_MAX_SIZE</​a></​p>
612 <p>Since:​·​5.​1.​12</​p>611 <p>Since:​·​5.​1.​12</​p>
613 <h2·​id="allegro_new_windo​w_title_max_size">ALL​EGRO_NEW_WINDOW_TITLE​_MAX_SIZE</​h2>612 <h2·​id="allegro_new_windo​w_title_max_size">ALL​EGRO_NEW_WINDOW_TITLE​_MAX_SIZE</​h2>
614 <div·​class="sourceCode"·​id="cb37"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb37-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE·​255</​span></​a>613 <div·​class="sourceCode"·​id="cb37"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb37-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE·​255</​span></​a></​code></​pre></​div>
615 <a·​class="sourceLine"·​id="cb37-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE·​255</​span></​a></​code></​pre></​div> 
616 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​display.​h#L113">Source·​Code</​a></​p>614 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​display.​h#L113">Source·​Code</​a></​p>
617 <p>This·​is·​the·​maximum·​size·​of·​the·​title·​that·​can·​be·​set·​with·​<a·​href="display.​html#al_set_new_windo​w_title">al_set_new_w​indow_title</​a>.​</​p>615 <p>This·​is·​the·​maximum·​size·​of·​the·​title·​that·​can·​be·​set·​with·​<a·​href="display.​html#al_set_new_windo​w_title">al_set_new_w​indow_title</​a>.​</​p>
618 <p>See·​also:​·​<a·​href="display.​html#al_set_new_windo​w_title">al_set_new_w​indow_title</​a></​p>616 <p>See·​also:​·​<a·​href="display.​html#al_set_new_windo​w_title">al_set_new_w​indow_title</​a></​p>
619 <p>Since:​·​5.​1.​12</​p>617 <p>Since:​·​5.​1.​12</​p>
620 <h2·​id="al_get_new_window​_title">al_get_new_wi​ndow_title</​h2>618 <h2·​id="al_get_new_window​_title">al_get_new_wi​ndow_title</​h2>
621 <div·​class="sourceCode"·​id="cb38"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb38-​1"·​title="1"><span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*al_get_new_window_ti​tle(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>619 <div·​class="sourceCode"·​id="cb38"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb38-​1"·​title="1"><span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*al_get_new_window_ti​tle(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
622 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L224">Source·​Code</​a></​p>620 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L224">Source·​Code</​a></​p>
Offset 675, 12 lines modifiedOffset 673, 12 lines modified
675 <div·​class="sourceCode"·​id="cb46"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb46-​1"·​title="1"><span·​class="dt">bool</​span>·​al_clipboard_has_text​(ALLEGRO_DISPLAY·​*display)​</​a></​code></​pre></​div>673 <div·​class="sourceCode"·​id="cb46"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb46-​1"·​title="1"><span·​class="dt">bool</​span>·​al_clipboard_has_text​(ALLEGRO_DISPLAY·​*display)​</​a></​code></​pre></​div>
676 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​clipboard.​c#L64">Source·​Code</​a></​p>674 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​clipboard.​c#L64">Source·​Code</​a></​p>
677 <p>This·​function·​returns·​true·​if·​and·​only·​if·​the·​clipboard·​has·​text·​available.​</​p>675 <p>This·​function·​returns·​true·​if·​and·​only·​if·​the·​clipboard·​has·​text·​available.​</​p>
678 <p>Since:​·​5.​1.​12</​p>676 <p>Since:​·​5.​1.​12</​p>
679 <p>See·​also:​·​<a·​href="display.​html#al_set_clipboard​_text">al_set_clipboa​rd_text</​a>,​·​<a·​href="display.​html#al_get_clipboard​_text">al_get_clipboa​rd_text</​a></​p>677 <p>See·​also:​·​<a·​href="display.​html#al_set_clipboard​_text">al_set_clipboa​rd_text</​a>,​·​<a·​href="display.​html#al_get_clipboard​_text">al_get_clipboa​rd_text</​a></​p>
680 <p·​class="timestamp">678 <p·​class="timestamp">
681 Allegro·​version·​5.​2.​4679 Allegro·​version·​5.​2.​4
682 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​23·​UTC680 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​36·​UTC
683 </​p>681 </​p>
684 </​div>682 </​div>
685 </​body>683 </​body>
686 </​html>684 </​html>
13.5 KB
./usr/share/doc/allegro5-doc/refman/events.html
    
Offset 226, 16 lines modifiedOffset 226, 15 lines modified
226 <p>Events·​are·​generated·​by·​event·​sources.​·​Most·​notably,​·​each·​of·​the·​input·​subsystems·​provides·​an·​event·​source,​·​but·​also·​timers,​·​displays,​·​and·​audio·​streams·​will·​generate·​events.​</​p>226 <p>Events·​are·​generated·​by·​event·​sources.​·​Most·​notably,​·​each·​of·​the·​input·​subsystems·​provides·​an·​event·​source,​·​but·​also·​timers,​·​displays,​·​and·​audio·​streams·​will·​generate·​events.​</​p>
227 <p>Event·​sources·​are·​registered·​to·​event·​queues·​which·​aggregate·​events·​from·​multiple·​sources.​·​A·​single·​event·​source·​can·​also·​be·​registered·​to·​multiple·​event·​queues.​</​p>227 <p>Event·​sources·​are·​registered·​to·​event·​queues·​which·​aggregate·​events·​from·​multiple·​sources.​·​A·​single·​event·​source·​can·​also·​be·​registered·​to·​multiple·​event·​queues.​</​p>
228 <p>Event·​queues·​can·​then·​be·​queried·​for·​events.​·​In·​particular,​·​it·​is·​possible·​to·​wait·​until·​events·​become·​available·​in·​order·​to·​save·​CPU·​time.​·​You·​can·​combine·​this·​with·​<a·​href="timer.​html#allegro_timer">t​imers</​a>·​to·​make·​your·​main-​loop·​run·​at·​a·​specific·​speed·​without·​wasting·​CPU·​time·​or·​missing·​events.​</​p>228 <p>Event·​queues·​can·​then·​be·​queried·​for·​events.​·​In·​particular,​·​it·​is·​possible·​to·​wait·​until·​events·​become·​available·​in·​order·​to·​save·​CPU·​time.​·​You·​can·​combine·​this·​with·​<a·​href="timer.​html#allegro_timer">t​imers</​a>·​to·​make·​your·​main-​loop·​run·​at·​a·​specific·​speed·​without·​wasting·​CPU·​time·​or·​missing·​events.​</​p>
229 <p>In·​addition·​to·​the·​predefined·​event·​types,​·​Allegro·​also·​allows·​for·​user-​defined·​events·​that·​can·​be·​generated·​by·​user-​defined·​event·​sources.​</​p>229 <p>In·​addition·​to·​the·​predefined·​event·​types,​·​Allegro·​also·​allows·​for·​user-​defined·​events·​that·​can·​be·​generated·​by·​user-​defined·​event·​sources.​</​p>
230 <p>The·​appropriate·​reaction·​to·​an·​event·​is·​determined·​by·​examining·​the·​fields·​of·​the·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>·​union·​according·​to·​the·​event·​type.​</​p>230 <p>The·​appropriate·​reaction·​to·​an·​event·​is·​determined·​by·​examining·​the·​fields·​of·​the·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>·​union·​according·​to·​the·​event·​type.​</​p>
231 <p>In·​addition·​to·​the·​events·​sent·​by·​Allegro·​core,​·​there’s·​also·​events·​send·​by·​the·​addons,​·​see·​<a·​href="audio.​html#allegro_audio_ev​ent_type">ALLEGRO_AUD​IO_EVENT_TYPE</​a>·​and·​<a·​href="video.​html#allegro_video_ev​ent_type">ALLEGRO_VID​EO_EVENT_TYPE</​a>.​</​p>231 <p>In·​addition·​to·​the·​events·​sent·​by·​Allegro·​core,​·​there’s·​also·​events·​send·​by·​the·​addons,​·​see·​<a·​href="audio.​html#allegro_audio_ev​ent_type">ALLEGRO_AUD​IO_EVENT_TYPE</​a>·​and·​<a·​href="video.​html#allegro_video_ev​ent_type">ALLEGRO_VID​EO_EVENT_TYPE</​a>.​</​p>
232 <h1·​id="allegro_event">AL​LEGRO_EVENT</​h1>232 <h1·​id="allegro_event">AL​LEGRO_EVENT</​h1>
233 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">union</​span>·​ALLEGRO_EVENT·​ALLEGRO_EVENT;​</​a>233 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">union</​span>·​ALLEGRO_EVENT·​ALLEGRO_EVENT;​</​a></​code></​pre></​div>
234 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">union</​span>·​ALLEGRO_EVENT·​ALLEGRO_EVENT;​</​a></​code></​pre></​div> 
235 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L202">Source·​Code</​a></​p>234 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L202">Source·​Code</​a></​p>
236 <p>An·​ALLEGRO_EVENT·​is·​a·​union·​of·​all·​builtin·​event·​structures,​·​i.​e.​ it·​is·​an·​object·​large·​enough·​to·​hold·​the·​data·​of·​any·​event·​type.​·​All·​events·​have·​the·​following·​fields·​in·​common:​</​p>235 <p>An·​ALLEGRO_EVENT·​is·​a·​union·​of·​all·​builtin·​event·​structures,​·​i.​e.​ it·​is·​an·​object·​large·​enough·​to·​hold·​the·​data·​of·​any·​event·​type.​·​All·​events·​have·​the·​following·​fields·​in·​common:​</​p>
237 <dl>236 <dl>
238 <dt>type·​(ALLEGRO_EVENT_TYPE)​</​dt>237 <dt>type·​(ALLEGRO_EVENT_TYPE)​</​dt>
239 <dd>Indicates·​the·​type·​of·​event.​238 <dd>Indicates·​the·​type·​of·​event.​
240 </​dd>239 </​dd>
241 <dt>any.​source·​(ALLEGRO_EVENT_SOURCE​·​*)​</​dt>240 <dt>any.​source·​(ALLEGRO_EVENT_SOURCE​·​*)​</​dt>
Offset 638, 16 lines modifiedOffset 637, 15 lines modified
638 <p>This·​event·​is·​sent·​when·​a·​physical·​display·​is·​disconnected·​from·​the·​device·​Allegro·​runs·​on.​·​Currently,​·​on·​most·​platforms,​·​Allegro·​supports·​only·​a·​single·​physical·​display.​·​However,​·​on·​iOS,​·​a·​secondary·​physical·​display·​is·​supported.​</​p>637 <p>This·​event·​is·​sent·​when·​a·​physical·​display·​is·​disconnected·​from·​the·​device·​Allegro·​runs·​on.​·​Currently,​·​on·​most·​platforms,​·​Allegro·​supports·​only·​a·​single·​physical·​display.​·​However,​·​on·​iOS,​·​a·​secondary·​physical·​display·​is·​supported.​</​p>
639 <dl>638 <dl>
640 <dt>display.​source·​(ALLEGRO_DISPLAY·​*)​</​dt>639 <dt>display.​source·​(ALLEGRO_DISPLAY·​*)​</​dt>
641 <dd>The·​display·​which·​was·​disconnected.​640 <dd>The·​display·​which·​was·​disconnected.​
642 </​dd>641 </​dd>
643 </​dl>642 </​dl>
644 <h1·​id="allegro_user_even​t">ALLEGRO_USER_EVENT​</​h1>643 <h1·​id="allegro_user_even​t">ALLEGRO_USER_EVENT​</​h1>
645 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_USER_EVENT·​ALLEGRO_USER_EVENT;​</​a>644 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_USER_EVENT·​ALLEGRO_USER_EVENT;​</​a></​code></​pre></​div>
646 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_USER_EVENT·​ALLEGRO_USER_EVENT;​</​a></​code></​pre></​div> 
647 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L186">Source·​Code</​a></​p>645 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L186">Source·​Code</​a></​p>
648 <p>An·​event·​structure·​that·​can·​be·​emitted·​by·​user·​event·​sources.​·​These·​are·​the·​public·​fields:​</​p>646 <p>An·​event·​structure·​that·​can·​be·​emitted·​by·​user·​event·​sources.​·​These·​are·​the·​public·​fields:​</​p>
649 <ul>647 <ul>
650 <li>ALLEGRO_EVENT_SOU​RCE·​*source;​</​li>648 <li>ALLEGRO_EVENT_SOU​RCE·​*source;​</​li>
651 <li>intptr_t·​data1;​</​li>649 <li>intptr_t·​data1;​</​li>
652 <li>intptr_t·​data2;​</​li>650 <li>intptr_t·​data2;​</​li>
653 <li>intptr_t·​data3;​</​li>651 <li>intptr_t·​data3;​</​li>
Offset 672, 35 lines modifiedOffset 670, 31 lines modified
672 <a·​class="sourceLine"·​id="cb4-​8"·​title="8">my_event.​user.​data1·​=·​<span·​class="dv">1</​span>;​</​a>670 <a·​class="sourceLine"·​id="cb4-​8"·​title="8">my_event.​user.​data1·​=·​<span·​class="dv">1</​span>;​</​a>
673 <a·​class="sourceLine"·​id="cb4-​9"·​title="9">my_event.​user.​data2·​=·​&amp;​some_var;​</​a>671 <a·​class="sourceLine"·​id="cb4-​9"·​title="9">my_event.​user.​data2·​=·​&amp;​some_var;​</​a>
674 <a·​class="sourceLine"·​id="cb4-​10"·​title="10"></​a>672 <a·​class="sourceLine"·​id="cb4-​10"·​title="10"></​a>
675 <a·​class="sourceLine"·​id="cb4-​11"·​title="11">al_emit_us​er_event(&amp;​my_event_source,​·​&amp;​my_event,​·​NULL)​;​</​a></​code></​pre></​div>673 <a·​class="sourceLine"·​id="cb4-​11"·​title="11">al_emit_us​er_event(&amp;​my_event_source,​·​&amp;​my_event,​·​NULL)​;​</​a></​code></​pre></​div>
676 <p>Event·​type·​identifiers·​for·​user·​events·​are·​assigned·​by·​the·​user.​·​Please·​see·​the·​documentation·​for·​<a·​href="events.​html#allegro_get_even​t_type">ALLEGRO_GET_E​VENT_TYPE</​a>·​for·​the·​rules·​you·​should·​follow·​when·​assigning·​identifiers.​</​p>674 <p>Event·​type·​identifiers·​for·​user·​events·​are·​assigned·​by·​the·​user.​·​Please·​see·​the·​documentation·​for·​<a·​href="events.​html#allegro_get_even​t_type">ALLEGRO_GET_E​VENT_TYPE</​a>·​for·​the·​rules·​you·​should·​follow·​when·​assigning·​identifiers.​</​p>
677 <p>See·​also:​·​<a·​href="events.​html#al_emit_user_eve​nt">al_emit_user_even​t</​a>,​·​<a·​href="events.​html#allegro_get_even​t_type">ALLEGRO_GET_E​VENT_TYPE</​a>,​·​<a·​href="events.​html#al_init_user_eve​nt_source">al_init_us​er_event_source</​a></​p>675 <p>See·​also:​·​<a·​href="events.​html#al_emit_user_eve​nt">al_emit_user_even​t</​a>,​·​<a·​href="events.​html#allegro_get_even​t_type">ALLEGRO_GET_E​VENT_TYPE</​a>,​·​<a·​href="events.​html#al_init_user_eve​nt_source">al_init_us​er_event_source</​a></​p>
678 <h1·​id="allegro_event_que​ue">ALLEGRO_EVENT_QUE​UE</​h1>676 <h1·​id="allegro_event_que​ue">ALLEGRO_EVENT_QUE​UE</​h1>
679 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_EVENT_QUEUE·​ALLEGRO_EVENT_QUEUE;​</​a>677 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_EVENT_QUEUE·​ALLEGRO_EVENT_QUEUE;​</​a></​code></​pre></​div>
680 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_EVENT_QUEUE·​ALLEGRO_EVENT_QUEUE;​</​a></​code></​pre></​div> 
681 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L243">Source·​Code</​a></​p>678 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L243">Source·​Code</​a></​p>
682 <p>An·​event·​queue·​holds·​events·​that·​have·​been·​generated·​by·​event·​sources·​that·​are·​registered·​with·​the·​queue.​·​Events·​are·​stored·​in·​the·​order·​they·​are·​generated.​·​Access·​is·​in·​a·​strictly·​FIFO·​(first-​in-​first-​out)​·​order.​</​p>679 <p>An·​event·​queue·​holds·​events·​that·​have·​been·​generated·​by·​event·​sources·​that·​are·​registered·​with·​the·​queue.​·​Events·​are·​stored·​in·​the·​order·​they·​are·​generated.​·​Access·​is·​in·​a·​strictly·​FIFO·​(first-​in-​first-​out)​·​order.​</​p>
683 <p>See·​also:​·​<a·​href="events.​html#al_create_event_​queue">al_create_even​t_queue</​a>,​·​<a·​href="events.​html#al_destroy_event​_queue">al_destroy_ev​ent_queue</​a></​p>680 <p>See·​also:​·​<a·​href="events.​html#al_create_event_​queue">al_create_even​t_queue</​a>,​·​<a·​href="events.​html#al_destroy_event​_queue">al_destroy_ev​ent_queue</​a></​p>
684 <h1·​id="allegro_event_sou​rce">ALLEGRO_EVENT_SO​URCE</​h1>681 <h1·​id="allegro_event_sou​rce">ALLEGRO_EVENT_SO​URCE</​h1>
685 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_EVENT_SOURCE·​ALLEGRO_EVENT_SOURCE;​</​a>682 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_EVENT_SOURCE·​ALLEGRO_EVENT_SOURCE;​</​a></​code></​pre></​div>
686 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_EVENT_SOURCE·​ALLEGRO_EVENT_SOURCE;​</​a></​code></​pre></​div> 
687 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L72">Source·​Code</​a></​p>683 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L72">Source·​Code</​a></​p>
688 <p>An·​event·​source·​is·​any·​object·​which·​can·​generate·​events.​·​For·​example,​·​an·​ALLEGRO_DISPLAY·​can·​generate·​events,​·​and·​you·​can·​get·​the·​ALLEGRO_EVENT_SOURCE·​pointer·​from·​an·​ALLEGRO_DISPLAY·​with·​<a·​href="display.​html#al_get_display_e​vent_source">al_get_d​isplay_event_source</​a>.​</​p>684 <p>An·​event·​source·​is·​any·​object·​which·​can·​generate·​events.​·​For·​example,​·​an·​ALLEGRO_DISPLAY·​can·​generate·​events,​·​and·​you·​can·​get·​the·​ALLEGRO_EVENT_SOURCE·​pointer·​from·​an·​ALLEGRO_DISPLAY·​with·​<a·​href="display.​html#al_get_display_e​vent_source">al_get_d​isplay_event_source</​a>.​</​p>
689 <p>You·​may·​create·​your·​own·​“user”·​event·​sources·​that·​emit·​custom·​events.​</​p>685 <p>You·​may·​create·​your·​own·​“user”·​event·​sources·​that·​emit·​custom·​events.​</​p>
690 <p>See·​also:​·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>,​·​<a·​href="events.​html#al_init_user_eve​nt_source">al_init_us​er_event_source</​a>,​·​<a·​href="events.​html#al_emit_user_eve​nt">al_emit_user_even​t</​a></​p>686 <p>See·​also:​·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>,​·​<a·​href="events.​html#al_init_user_eve​nt_source">al_init_us​er_event_source</​a>,​·​<a·​href="events.​html#al_emit_user_eve​nt">al_emit_user_even​t</​a></​p>
691 <h1·​id="allegro_event_typ​e">ALLEGRO_EVENT_TYPE​</​h1>687 <h1·​id="allegro_event_typ​e">ALLEGRO_EVENT_TYPE​</​h1>
692 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="dt">unsigned</​span>·​<span·​class="dt">int</​span>·​ALLEGRO_EVENT_TYPE;​</​a>688 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="dt">unsigned</​span>·​<span·​class="dt">int</​span>·​ALLEGRO_EVENT_TYPE;​</​a></​code></​pre></​div>
693 <a·​class="sourceLine"·​id="cb7-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="dt">unsigned</​span>·​<span·​class="dt">int</​span>·​ALLEGRO_EVENT_TYPE;​</​a></​code></​pre></​div> 
694 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L13">Source·​Code</​a></​p>689 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L13">Source·​Code</​a></​p>
695 <p>An·​integer·​used·​to·​distinguish·​between·​different·​types·​of·​events.​</​p>690 <p>An·​integer·​used·​to·​distinguish·​between·​different·​types·​of·​events.​</​p>
696 <p>See·​also:​·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>,​·​<a·​href="events.​html#allegro_get_even​t_type">ALLEGRO_GET_E​VENT_TYPE</​a>,​·​<a·​href="events.​html#allegro_event_ty​pe_is_user">ALLEGRO_E​VENT_TYPE_IS_USER</​a></​p>691 <p>See·​also:​·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>,​·​<a·​href="events.​html#allegro_get_even​t_type">ALLEGRO_GET_E​VENT_TYPE</​a>,​·​<a·​href="events.​html#allegro_event_ty​pe_is_user">ALLEGRO_E​VENT_TYPE_IS_USER</​a></​p>
697 <h1·​id="allegro_get_event​_type">ALLEGRO_GET_EV​ENT_TYPE</​h1>692 <h1·​id="allegro_get_event​_type">ALLEGRO_GET_EV​ENT_TYPE</​h1>
698 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_GET_EVENT_TYP​E(a,​·​b,​·​c,​·​d)​···​AL_ID(a,​·​b,​·​c,​·​d)​</​span></​a>693 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_GET_EVENT_TYP​E(a,​·​b,​·​c,​·​d)​···​AL_ID(a,​·​b,​·​c,​·​d)​</​span></​a></​code></​pre></​div>
699 <a·​class="sourceLine"·​id="cb8-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_GET_EVENT_TYP​E(a,​·​b,​·​c,​·​d)​···​AL_ID(a,​·​b,​·​c,​·​d)​</​span></​a></​code></​pre></​div> 
700 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L67">Source·​Code</​a></​p>694 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L67">Source·​Code</​a></​p>
701 <p>Make·​an·​event·​type·​identifier,​·​which·​is·​a·​32-​bit·​integer.​·​Usually,​·​but·​not·​necessarily,​·​this·​will·​be·​made·​from·​four·​8-​bit·​character·​codes,​·​for·​example:​</​p>695 <p>Make·​an·​event·​type·​identifier,​·​which·​is·​a·​32-​bit·​integer.​·​Usually,​·​but·​not·​necessarily,​·​this·​will·​be·​made·​from·​four·​8-​bit·​character·​codes,​·​for·​example:​</​p>
702 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="er">#defin··​MY_EVENT_TYPE···​ALLEGRO_GET_EVENT_TYP​E(&#39;​M&#39;​,​&#39;​I&#39;​,​&#39;​N&#39;​,​&#39;​E&#39;​)​</​span></​a></​code></​pre></​div>696 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="er">#defin··​MY_EVENT_TYPE···​ALLEGRO_GET_EVENT_TYP​E(&#39;​M&#39;​,​&#39;​I&#39;​,​&#39;​N&#39;​,​&#39;​E&#39;​)​</​span></​a></​code></​pre></​div>
703 <p>IDs·​less·​than·​1024·​are·​reserved·​for·​Allegro·​or·​its·​addons.​·​Don’t·​use·​anything·​lower·​than·​<code>ALLEGRO_GET_EVE​NT_TYPE(0,​·​0,​·​4,​·​0)​</​code>.​</​p>697 <p>IDs·​less·​than·​1024·​are·​reserved·​for·​Allegro·​or·​its·​addons.​·​Don’t·​use·​anything·​lower·​than·​<code>ALLEGRO_GET_EVE​NT_TYPE(0,​·​0,​·​4,​·​0)​</​code>.​</​p>
704 <p>You·​should·​try·​to·​make·​your·​IDs·​unique·​so·​they·​don’t·​clash·​with·​any·​3rd·​party·​code·​you·​may·​be·​using.​·​Be·​creative.​·​Numbering·​from·​1024·​is·​not·​creative.​</​p>698 <p>You·​should·​try·​to·​make·​your·​IDs·​unique·​so·​they·​don’t·​clash·​with·​any·​3rd·​party·​code·​you·​may·​be·​using.​·​Be·​creative.​·​Numbering·​from·​1024·​is·​not·​creative.​</​p>
705 <p>If·​you·​need·​multiple·​identifiers,​·​you·​could·​define·​them·​like·​this:​</​p>699 <p>If·​you·​need·​multiple·​identifiers,​·​you·​could·​define·​them·​like·​this:​</​p>
706 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="er">#defin··​BASE_EVENT···​ALLEGRO_GET_EVENT_TYP​E(&#39;​M&#39;​,​&#39;​I&#39;​,​&#39;​N&#39;​,​&#39;​E&#39;​)​</​span></​a>700 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="er">#defin··​BASE_EVENT···​ALLEGRO_GET_EVENT_TYP​E(&#39;​M&#39;​,​&#39;​I&#39;​,​&#39;​N&#39;​,​&#39;​E&#39;​)​</​span></​a>
Offset 712, 16 lines modifiedOffset 706, 15 lines modified
712 <a·​class="sourceLine"·​id="cb10-​7"·​title="7"><span·​class="kw">enum</​span>·​{</​a>706 <a·​class="sourceLine"·​id="cb10-​7"·​title="7"><span·​class="kw">enum</​span>·​{</​a>
713 <a·​class="sourceLine"·​id="cb10-​8"·​title="8">···​BARK_EVENT·​=·​ALLEGRO_GET_EVENT_TYP​E(<span·​class="ch">&#39;​M&#39;​</​span>,​<span·​class="ch">&#39;​I&#39;​</​span>,​<span·​class="ch">&#39;​N&#39;​</​span>,​<span·​class="ch">&#39;​E&#39;​</​span>)​,​</​a>707 <a·​class="sourceLine"·​id="cb10-​8"·​title="8">···​BARK_EVENT·​=·​ALLEGRO_GET_EVENT_TYP​E(<span·​class="ch">&#39;​M&#39;​</​span>,​<span·​class="ch">&#39;​I&#39;​</​span>,​<span·​class="ch">&#39;​N&#39;​</​span>,​<span·​class="ch">&#39;​E&#39;​</​span>)​,​</​a>
714 <a·​class="sourceLine"·​id="cb10-​9"·​title="9">···​MEOW_EVENT,​</​a>708 <a·​class="sourceLine"·​id="cb10-​9"·​title="9">···​MEOW_EVENT,​</​a>
715 <a·​class="sourceLine"·​id="cb10-​10"·​title="10">···​SQUAWK_EVENT</​a>709 <a·​class="sourceLine"·​id="cb10-​10"·​title="10">···​SQUAWK_EVENT</​a>
716 <a·​class="sourceLine"·​id="cb10-​11"·​title="11">};​</​a></​code></​pre></​div>710 <a·​class="sourceLine"·​id="cb10-​11"·​title="11">};​</​a></​code></​pre></​div>
717 <p>See·​also:​·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>,​·​<a·​href="events.​html#allegro_user_eve​nt">ALLEGRO_USER_EVEN​T</​a>,​·​<a·​href="events.​html#allegro_event_ty​pe_is_user">ALLEGRO_E​VENT_TYPE_IS_USER</​a></​p>711 <p>See·​also:​·​<a·​href="events.​html#allegro_event">A​LLEGRO_EVENT</​a>,​·​<a·​href="events.​html#allegro_user_eve​nt">ALLEGRO_USER_EVEN​T</​a>,​·​<a·​href="events.​html#allegro_event_ty​pe_is_user">ALLEGRO_E​VENT_TYPE_IS_USER</​a></​p>
718 <h1·​id="allegro_event_typ​e_is_user">ALLEGRO_EV​ENT_TYPE_IS_USER</​h1>712 <h1·​id="allegro_event_typ​e_is_user">ALLEGRO_EV​ENT_TYPE_IS_USER</​h1>
719 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_EVENT_TYPE_IS​_USER(t)​········​((t)​·​&gt;​=·​512)​</​span></​a>713 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_EVENT_TYPE_IS​_USER(t)​········​((t)​·​&gt;​=·​512)​</​span></​a></​code></​pre></​div>
720 <a·​class="sourceLine"·​id="cb11-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_EVENT_TYPE_IS​_USER(t)​········​((t)​·​&gt;​=·​512)​</​span></​a></​code></​pre></​div> 
721 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L62">Source·​Code</​a></​p>714 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​events.​h#L62">Source·​Code</​a></​p>
722 <p>A·​macro·​which·​evaluates·​to·​true·​if·​the·​event·​type·​is·​not·​a·​builtin·​event·​type,​·​i.​e.​ one·​of·​those·​described·​in·​<a·​href="events.​html#allegro_event_ty​pe">ALLEGRO_EVENT_TYP​E</​a>.​</​p>715 <p>A·​macro·​which·​evaluates·​to·​true·​if·​the·​event·​type·​is·​not·​a·​builtin·​event·​type,​·​i.​e.​ one·​of·​those·​described·​in·​<a·​href="events.​html#allegro_event_ty​pe">ALLEGRO_EVENT_TYP​E</​a>.​</​p>
723 <h1·​id="al_create_event_q​ueue">al_create_event​_queue</​h1>716 <h1·​id="al_create_event_q​ueue">al_create_event​_queue</​h1>
724 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1">ALLEGRO_EVE​NT_QUEUE·​*al_create_event_queu​e(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>717 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1">ALLEGRO_EVE​NT_QUEUE·​*al_create_event_queu​e(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
725 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​events.​c#L90">Source·​Code</​a></​p>718 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​events.​c#L90">Source·​Code</​a></​p>
726 <p>Create·​a·​new,​·​empty·​event·​queue,​·​returning·​a·​pointer·​to·​the·​newly·​created·​object·​if·​successful.​·​Returns·​NULL·​on·​error.​</​p>719 <p>Create·​a·​new,​·​empty·​event·​queue,​·​returning·​a·​pointer·​to·​the·​newly·​created·​object·​if·​successful.​·​Returns·​NULL·​on·​error.​</​p>
727 <p>See·​also:​·​<a·​href="events.​html#al_register_even​t_source">al_register​_event_source</​a>,​·​<a·​href="events.​html#al_destroy_event​_queue">al_destroy_ev​ent_queue</​a>,​·​<a·​href="events.​html#allegro_event_qu​eue">ALLEGRO_EVENT_QU​EUE</​a></​p>720 <p>See·​also:​·​<a·​href="events.​html#al_register_even​t_source">al_register​_event_source</​a>,​·​<a·​href="events.​html#al_destroy_event​_queue">al_destroy_ev​ent_queue</​a>,​·​<a·​href="events.​html#allegro_event_qu​eue">ALLEGRO_EVENT_QU​EUE</​a></​p>
Offset 869, 12 lines modifiedOffset 862, 12 lines modified
869 <h1·​id="al_set_event_sour​ce_data">al_set_event​_source_data</​h1>862 <h1·​id="al_set_event_sour​ce_data">al_set_event​_source_data</​h1>
870 <div·​class="sourceCode"·​id="cb33"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb33-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_event_source_d​ata(ALLEGRO_EVENT_SOU​RCE·​*source,​·​<span·​class="dt">intptr_t</​span>·​data)​</​a></​code></​pre></​div>863 <div·​class="sourceCode"·​id="cb33"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb33-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_event_source_d​ata(ALLEGRO_EVENT_SOU​RCE·​*source,​·​<span·​class="dt">intptr_t</​span>·​data)​</​a></​code></​pre></​div>
871 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​evtsrc.​c#L264">Source·​Code</​a></​p>864 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​evtsrc.​c#L264">Source·​Code</​a></​p>
872 <p>Assign·​the·​abstract·​user·​data·​to·​the·​event·​source.​·​Allegro·​does·​not·​use·​the·​data·​internally·​for·​anything;​·​it·​is·​simply·​meant·​as·​a·​convenient·​way·​to·​associate·​your·​own·​data·​or·​objects·​with·​events.​</​p>865 <p>Assign·​the·​abstract·​user·​data·​to·​the·​event·​source.​·​Allegro·​does·​not·​use·​the·​data·​internally·​for·​anything;​·​it·​is·​simply·​meant·​as·​a·​convenient·​way·​to·​associate·​your·​own·​data·​or·​objects·​with·​events.​</​p>
873 <p>See·​also:​·​<a·​href="events.​html#al_get_event_sou​rce_data">al_get_even​t_source_data</​a></​p>866 <p>See·​also:​·​<a·​href="events.​html#al_get_event_sou​rce_data">al_get_even​t_source_data</​a></​p>
874 <p·​class="timestamp">867 <p·​class="timestamp">
875 Allegro·​version·​5.​2.​4868 Allegro·​version·​5.​2.​4
876 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​23·​UTC869 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​38·​UTC
877 </​p>870 </​p>
878 </​div>871 </​div>
879 </​body>872 </​body>
880 </​html>873 </​html>
6.12 KB
./usr/share/doc/allegro5-doc/refman/file.html
    
Offset 205, 21 lines modifiedOffset 205, 19 lines modified
205 <li><a·​href="#al_get_file_us​erdata">al_get_file_u​serdata</​a></​li>205 <li><a·​href="#al_get_file_us​erdata">al_get_file_u​serdata</​a></​li>
206 </​ul></​li>206 </​ul></​li>
207 </​ul>207 </​ul>
208 </​nav>208 </​nav>
209 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>209 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
210 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>210 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
211 <h1·​id="allegro_file">ALL​EGRO_FILE</​h1>211 <h1·​id="allegro_file">ALL​EGRO_FILE</​h1>
212 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILE·​ALLEGRO_FILE;​</​a>212 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILE·​ALLEGRO_FILE;​</​a></​code></​pre></​div>
213 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILE·​ALLEGRO_FILE;​</​a></​code></​pre></​div> 
214 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​file.​h#L15">Source·​Code</​a></​p>213 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​file.​h#L15">Source·​Code</​a></​p>
215 <p>An·​opaque·​object·​representing·​an·​open·​file.​·​This·​could·​be·​a·​real·​file·​on·​disk·​or·​a·​virtual·​file.​</​p>214 <p>An·​opaque·​object·​representing·​an·​open·​file.​·​This·​could·​be·​a·​real·​file·​on·​disk·​or·​a·​virtual·​file.​</​p>
216 <h1·​id="allegro_file_inte​rface">ALLEGRO_FILE_I​NTERFACE</​h1>215 <h1·​id="allegro_file_inte​rface">ALLEGRO_FILE_I​NTERFACE</​h1>
217 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILE_INTERFAC​E</​a>216 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILE_INTERFAC​E</​a></​code></​pre></​div>
218 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILE_INTERFAC​E</​a></​code></​pre></​div> 
219 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​file.​h#L20">Source·​Code</​a></​p>217 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​file.​h#L20">Source·​Code</​a></​p>
220 <p>A·​structure·​containing·​function·​pointers·​to·​handle·​a·​type·​of·​“file”,​·​real·​or·​virtual.​·​See·​the·​full·​discussion·​in·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>218 <p>A·​structure·​containing·​function·​pointers·​to·​handle·​a·​type·​of·​“file”,​·​real·​or·​virtual.​·​See·​the·​full·​discussion·​in·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>
221 <p>The·​fields·​are:​</​p>219 <p>The·​fields·​are:​</​p>
222 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">void</​span>*·········​(*fi_fopen)​(<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*path,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*mode)​;​</​a>220 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">void</​span>*·········​(*fi_fopen)​(<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*path,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*mode)​;​</​a>
223 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="dt">bool</​span>··········​(*fi_fclose)​(ALLEGRO_FILE·​*f)​;​</​a>221 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="dt">bool</​span>··········​(*fi_fclose)​(ALLEGRO_FILE·​*f)​;​</​a>
224 <a·​class="sourceLine"·​id="cb4-​3"·​title="3"><span·​class="dt">size_t</​span>········​(*fi_fread)​(ALLEGRO_FILE·​*f,​·​<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">size_t</​span>·​size)​;​</​a>222 <a·​class="sourceLine"·​id="cb4-​3"·​title="3"><span·​class="dt">size_t</​span>········​(*fi_fread)​(ALLEGRO_FILE·​*f,​·​<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">size_t</​span>·​size)​;​</​a>
225 <a·​class="sourceLine"·​id="cb4-​4"·​title="4"><span·​class="dt">size_t</​span>········​(*fi_fwrite)​(ALLEGRO_FILE·​*f,​·​<span·​class="dt">const</​span>·​<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">size_t</​span>·​size)​;​</​a>223 <a·​class="sourceLine"·​id="cb4-​4"·​title="4"><span·​class="dt">size_t</​span>········​(*fi_fwrite)​(ALLEGRO_FILE·​*f,​·​<span·​class="dt">const</​span>·​<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">size_t</​span>·​size)​;​</​a>
Offset 232, 16 lines modifiedOffset 230, 15 lines modified
232 <a·​class="sourceLine"·​id="cb4-​11"·​title="11"><span·​class="dt">void</​span>··········​(*fi_fclearerr)​(ALLEGRO_FILE·​*f)​;​</​a>230 <a·​class="sourceLine"·​id="cb4-​11"·​title="11"><span·​class="dt">void</​span>··········​(*fi_fclearerr)​(ALLEGRO_FILE·​*f)​;​</​a>
233 <a·​class="sourceLine"·​id="cb4-​12"·​title="12"><span·​class="dt">int</​span>···········​(*fi_fungetc)​(ALLEGRO_FILE·​*f,​·​<span·​class="dt">int</​span>·​c)​;​</​a>231 <a·​class="sourceLine"·​id="cb4-​12"·​title="12"><span·​class="dt">int</​span>···········​(*fi_fungetc)​(ALLEGRO_FILE·​*f,​·​<span·​class="dt">int</​span>·​c)​;​</​a>
234 <a·​class="sourceLine"·​id="cb4-​13"·​title="13">off_t·········​(*fi_fsize)​(ALLEGRO_FILE·​*f)​;​</​a></​code></​pre></​div>232 <a·​class="sourceLine"·​id="cb4-​13"·​title="13">off_t·········​(*fi_fsize)​(ALLEGRO_FILE·​*f)​;​</​a></​code></​pre></​div>
235 <p>The·​fi_open·​function·​must·​allocate·​memory·​for·​whatever·​userdata·​structure·​it·​needs.​·​The·​pointer·​to·​that·​memory·​must·​be·​returned;​·​it·​will·​then·​be·​associated·​with·​the·​file.​·​The·​other·​functions·​can·​access·​that·​data·​by·​calling·​<a·​href="file.​html#al_get_file_user​data">al_get_file_use​rdata</​a>·​on·​the·​file·​handle.​·​If·​fi_open·​returns·​NULL·​then·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​will·​also·​return·​NULL.​</​p>233 <p>The·​fi_open·​function·​must·​allocate·​memory·​for·​whatever·​userdata·​structure·​it·​needs.​·​The·​pointer·​to·​that·​memory·​must·​be·​returned;​·​it·​will·​then·​be·​associated·​with·​the·​file.​·​The·​other·​functions·​can·​access·​that·​data·​by·​calling·​<a·​href="file.​html#al_get_file_user​data">al_get_file_use​rdata</​a>·​on·​the·​file·​handle.​·​If·​fi_open·​returns·​NULL·​then·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​will·​also·​return·​NULL.​</​p>
236 <p>The·​fi_fclose·​function·​must·​clean·​up·​and·​free·​the·​userdata,​·​but·​Allegro·​will·​free·​the·​<a·​href="file.​html#allegro_file">AL​LEGRO_FILE</​a>·​handle.​</​p>234 <p>The·​fi_fclose·​function·​must·​clean·​up·​and·​free·​the·​userdata,​·​but·​Allegro·​will·​free·​the·​<a·​href="file.​html#allegro_file">AL​LEGRO_FILE</​a>·​handle.​</​p>
237 <p>If·​fi_fungetc·​is·​NULL,​·​then·​Allegro’s·​default·​implementation·​of·​a·​16·​char·​long·​buffer·​will·​be·​used.​</​p>235 <p>If·​fi_fungetc·​is·​NULL,​·​then·​Allegro’s·​default·​implementation·​of·​a·​16·​char·​long·​buffer·​will·​be·​used.​</​p>
238 <h1·​id="allegro_seek">ALL​EGRO_SEEK</​h1>236 <h1·​id="allegro_seek">ALL​EGRO_SEEK</​h1>
239 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SEEK</​a>237 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SEEK</​a></​code></​pre></​div>
240 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SEEK</​a></​code></​pre></​div> 
241 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​file.​h#L40">Source·​Code</​a></​p>238 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​file.​h#L40">Source·​Code</​a></​p>
242 <ul>239 <ul>
243 <li>ALLEGRO_SEEK_SET·​-​·​seek·​relative·​to·​beginning·​of·​file</​li>240 <li>ALLEGRO_SEEK_SET·​-​·​seek·​relative·​to·​beginning·​of·​file</​li>
244 <li>ALLEGRO_SEEK_CUR·​-​·​seek·​relative·​to·​current·​file·​position</​li>241 <li>ALLEGRO_SEEK_CUR·​-​·​seek·​relative·​to·​current·​file·​position</​li>
245 <li>ALLEGRO_SEEK_END·​-​·​seek·​relative·​to·​end·​of·​file</​li>242 <li>ALLEGRO_SEEK_END·​-​·​seek·​relative·​to·​end·​of·​file</​li>
246 </​ul>243 </​ul>
247 <p>See·​also:​·​<a·​href="file.​html#al_fseek">al_fse​ek</​a></​p>244 <p>See·​also:​·​<a·​href="file.​html#al_fseek">al_fse​ek</​a></​p>
Offset 511, 12 lines modifiedOffset 508, 12 lines modified
511 <p>See·​also:​·​<a·​href="file.​html#al_fopen">al_fop​en</​a>,​·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>,​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a></​p>508 <p>See·​also:​·​<a·​href="file.​html#al_fopen">al_fop​en</​a>,​·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>,​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a></​p>
512 <h2·​id="al_get_file_userd​ata">al_get_file_user​data</​h2>509 <h2·​id="al_get_file_userd​ata">al_get_file_user​data</​h2>
513 <div·​class="sourceCode"·​id="cb44"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb44-​1"·​title="1"><span·​class="dt">void</​span>·​*al_get_file_userdata​(ALLEGRO_FILE·​*f)​</​a></​code></​pre></​div>510 <div·​class="sourceCode"·​id="cb44"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb44-​1"·​title="1"><span·​class="dt">void</​span>·​*al_get_file_userdata​(ALLEGRO_FILE·​*f)​</​a></​code></​pre></​div>
514 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​file.​c#L533">Source·​Code</​a></​p>511 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​file.​c#L533">Source·​Code</​a></​p>
515 <p>Returns·​a·​pointer·​to·​the·​custom·​userdata·​that·​is·​attached·​to·​the·​file·​handle.​·​This·​is·​intended·​to·​be·​used·​by·​functions·​that·​extend·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>.​</​p>512 <p>Returns·​a·​pointer·​to·​the·​custom·​userdata·​that·​is·​attached·​to·​the·​file·​handle.​·​This·​is·​intended·​to·​be·​used·​by·​functions·​that·​extend·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>.​</​p>
516 <p·​class="timestamp">513 <p·​class="timestamp">
517 Allegro·​version·​5.​2.​4514 Allegro·​version·​5.​2.​4
518 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​23·​UTC515 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​38·​UTC
519 </​p>516 </​p>
520 </​div>517 </​div>
521 </​body>518 </​body>
522 </​html>519 </​html>
3.67 KB
./usr/share/doc/allegro5-doc/refman/fixed.html
    
Offset 185, 16 lines modifiedOffset 185, 15 lines modified
185 <li><a·​href="#al_fixhypot">a​l_fixhypot</​a></​li>185 <li><a·​href="#al_fixhypot">a​l_fixhypot</​a></​li>
186 </​ul></​li>186 </​ul></​li>
187 </​ul>187 </​ul>
188 </​nav>188 </​nav>
189 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>189 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
190 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>190 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
191 <h1·​id="al_fixed">al_fixe​d</​h1>191 <h1·​id="al_fixed">al_fixe​d</​h1>
192 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="dt">int32_t</​span>·​al_fixed;​</​a>192 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="dt">int32_t</​span>·​al_fixed;​</​a></​code></​pre></​div>
193 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="dt">int32_t</​span>·​al_fixed;​</​a></​code></​pre></​div> 
194 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fixed.​h#L30">Source·​Code</​a></​p>193 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fixed.​h#L30">Source·​Code</​a></​p>
195 <p>A·​fixed·​point·​number.​</​p>194 <p>A·​fixed·​point·​number.​</​p>
196 <p>Allegro·​provides·​some·​routines·​for·​working·​with·​fixed·​point·​numbers,​·​and·​defines·​the·​type·​<code>al_fixed</​code>·​to·​be·​a·​signed·​32-​bit·​integer.​·​The·​high·​word·​is·​used·​for·​the·​integer·​part·​and·​the·​low·​word·​for·​the·​fraction,​·​giving·​a·​range·​of·​-​32768·​to·​32767·​and·​an·​accuracy·​of·​about·​four·​or·​five·​decimal·​places.​·​Fixed·​point·​numbers·​can·​be·​assigned,​·​compared,​·​added,​·​subtracted,​·​negated·​and·​shifted·​(for·​multiplying·​or·​dividing·​by·​powers·​of·​two)​·​using·​the·​normal·​integer·​operators,​·​but·​you·​should·​take·​care·​to·​use·​the·​appropriate·​conversion·​routines·​when·​mixing·​fixed·​point·​with·​integer·​or·​floating·​point·​values.​·​Writing·​<code>fixed_point_1·​+·​fixed_point_2</​code>·​is·​OK,​·​but·​<code>fixed_point·​+·​integer</​code>·​is·​not.​</​p>195 <p>Allegro·​provides·​some·​routines·​for·​working·​with·​fixed·​point·​numbers,​·​and·​defines·​the·​type·​<code>al_fixed</​code>·​to·​be·​a·​signed·​32-​bit·​integer.​·​The·​high·​word·​is·​used·​for·​the·​integer·​part·​and·​the·​low·​word·​for·​the·​fraction,​·​giving·​a·​range·​of·​-​32768·​to·​32767·​and·​an·​accuracy·​of·​about·​four·​or·​five·​decimal·​places.​·​Fixed·​point·​numbers·​can·​be·​assigned,​·​compared,​·​added,​·​subtracted,​·​negated·​and·​shifted·​(for·​multiplying·​or·​dividing·​by·​powers·​of·​two)​·​using·​the·​normal·​integer·​operators,​·​but·​you·​should·​take·​care·​to·​use·​the·​appropriate·​conversion·​routines·​when·​mixing·​fixed·​point·​with·​integer·​or·​floating·​point·​values.​·​Writing·​<code>fixed_point_1·​+·​fixed_point_2</​code>·​is·​OK,​·​but·​<code>fixed_point·​+·​integer</​code>·​is·​not.​</​p>
197 <p>The·​only·​advantage·​of·​fixed·​point·​math·​routines·​is·​that·​you·​don’t·​require·​a·​floating·​point·​coprocessor·​to·​use·​them.​·​This·​was·​great·​in·​the·​time·​period·​of·​i386·​and·​i486·​machines,​·​but·​stopped·​being·​so·​useful·​with·​the·​coming·​of·​the·​Pentium·​class·​of·​processors.​·​From·​Pentium·​onwards,​·​CPUs·​have·​increased·​their·​strength·​in·​floating·​point·​operations,​·​equaling·​or·​even·​surpassing·​integer·​math·​performance.​·​However,​·​many·​embedded·​processors·​have·​no·​FPUs·​so·​fixed·​point·​maths·​can·​still·​be·​useful·​there.​</​p>196 <p>The·​only·​advantage·​of·​fixed·​point·​math·​routines·​is·​that·​you·​don’t·​require·​a·​floating·​point·​coprocessor·​to·​use·​them.​·​This·​was·​great·​in·​the·​time·​period·​of·​i386·​and·​i486·​machines,​·​but·​stopped·​being·​so·​useful·​with·​the·​coming·​of·​the·​Pentium·​class·​of·​processors.​·​From·​Pentium·​onwards,​·​CPUs·​have·​increased·​their·​strength·​in·​floating·​point·​operations,​·​equaling·​or·​even·​surpassing·​integer·​math·​performance.​·​However,​·​many·​embedded·​processors·​have·​no·​FPUs·​so·​fixed·​point·​maths·​can·​still·​be·​useful·​there.​</​p>
198 <p>Depending·​on·​the·​type·​of·​operations·​your·​program·​may·​need,​·​using·​floating·​point·​types·​may·​be·​faster·​than·​fixed·​types·​if·​you·​are·​targeting·​a·​specific·​machine·​class.​</​p>197 <p>Depending·​on·​the·​type·​of·​operations·​your·​program·​may·​need,​·​using·​floating·​point·​types·​may·​be·​faster·​than·​fixed·​types·​if·​you·​are·​targeting·​a·​specific·​machine·​class.​</​p>
199 <h1·​id="al_itofix">al_ito​fix</​h1>198 <h1·​id="al_itofix">al_ito​fix</​h1>
200 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">al_fixed·​al_itofix(<span·​class="dt">int</​span>·​x)​;​</​a></​code></​pre></​div>199 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">al_fixed·​al_itofix(<span·​class="dt">int</​span>·​x)​;​</​a></​code></​pre></​div>
Offset 475, 12 lines modifiedOffset 474, 12 lines modified
475 <p>This·​finds·​out·​the·​non·​negative·​square·​root·​of·​<code>x</​code>.​·​If·​<code>x</​code>·​is·​negative,​·​Allegro’s·​errno·​is·​set·​to·​EDOM·​and·​the·​function·​returns·​zero.​</​p>474 <p>This·​finds·​out·​the·​non·​negative·​square·​root·​of·​<code>x</​code>.​·​If·​<code>x</​code>·​is·​negative,​·​Allegro’s·​errno·​is·​set·​to·​EDOM·​and·​the·​function·​returns·​zero.​</​p>
476 <h2·​id="al_fixhypot">al_f​ixhypot</​h2>475 <h2·​id="al_fixhypot">al_f​ixhypot</​h2>
477 <div·​class="sourceCode"·​id="cb42"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb42-​1"·​title="1">al_fixed·​al_fixhypot(al_fixed·​x,​·​al_fixed·​y)​</​a></​code></​pre></​div>476 <div·​class="sourceCode"·​id="cb42"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb42-​1"·​title="1">al_fixed·​al_fixhypot(al_fixed·​x,​·​al_fixed·​y)​</​a></​code></​pre></​div>
478 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​math.​c#L321">Source·​Code</​a></​p>477 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​math.​c#L321">Source·​Code</​a></​p>
479 <p>Fixed·​point·​hypotenuse·​(returns·​the·​square·​root·​of·​<code>x*x·​+·​y*y</​code>)​.​·​This·​should·​be·​better·​than·​calculating·​the·​formula·​yourself·​manually,​·​since·​the·​error·​is·​much·​smaller.​</​p>478 <p>Fixed·​point·​hypotenuse·​(returns·​the·​square·​root·​of·​<code>x*x·​+·​y*y</​code>)​.​·​This·​should·​be·​better·​than·​calculating·​the·​formula·​yourself·​manually,​·​since·​the·​error·​is·​much·​smaller.​</​p>
480 <p·​class="timestamp">479 <p·​class="timestamp">
481 Allegro·​version·​5.​2.​4480 Allegro·​version·​5.​2.​4
482 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC481 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​38·​UTC
483 </​p>482 </​p>
484 </​div>483 </​div>
485 </​body>484 </​body>
486 </​html>485 </​html>
77.2 KB
./usr/share/doc/allegro5-doc/refman/font.html
    
Offset 217, 21 lines modifiedOffset 217, 19 lines modified
217 </​ul></​li>217 </​ul></​li>
218 </​ul>218 </​ul>
219 </​nav>219 </​nav>
220 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_font.​</​p>220 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_font.​</​p>
221 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_font.​h&gt;​</​span></​a></​code></​pre></​div>221 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_font.​h&gt;​</​span></​a></​code></​pre></​div>
222 <h1·​id="general-​font-​routines">General·​font·​routines</​h1>222 <h1·​id="general-​font-​routines">General·​font·​routines</​h1>
223 <h2·​id="allegro_font">ALL​EGRO_FONT</​h2>223 <h2·​id="allegro_font">ALL​EGRO_FONT</​h2>
224 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FONT·​ALLEGRO_FONT;​</​a>224 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FONT·​ALLEGRO_FONT;​</​a></​code></​pre></​div>
225 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FONT·​ALLEGRO_FONT;​</​a></​code></​pre></​div> 
226 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​allegro5/​allegro_font.​h#L48">Source·​Code</​a></​p>225 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​allegro5/​allegro_font.​h#L48">Source·​Code</​a></​p>
227 <p>A·​handle·​identifying·​any·​kind·​of·​font.​·​Usually·​you·​will·​create·​it·​with·​<a·​href="font.​html#al_load_font">al​_load_font</​a>·​which·​supports·​loading·​all·​kinds·​of·​TrueType·​fonts·​supported·​by·​the·​FreeType·​library.​·​If·​you·​instead·​pass·​the·​filename·​of·​a·​bitmap·​file,​·​it·​will·​be·​loaded·​with·​<a·​href="graphics.​html#al_load_bitmap">​al_load_bitmap</​a>·​and·​a·​font·​in·​Allegro’s·​bitmap·​font·​format·​will·​be·​created·​from·​it·​with·​<a·​href="font.​html#al_grab_font_fro​m_bitmap">al_grab_fon​t_from_bitmap</​a>.​</​p>226 <p>A·​handle·​identifying·​any·​kind·​of·​font.​·​Usually·​you·​will·​create·​it·​with·​<a·​href="font.​html#al_load_font">al​_load_font</​a>·​which·​supports·​loading·​all·​kinds·​of·​TrueType·​fonts·​supported·​by·​the·​FreeType·​library.​·​If·​you·​instead·​pass·​the·​filename·​of·​a·​bitmap·​file,​·​it·​will·​be·​loaded·​with·​<a·​href="graphics.​html#al_load_bitmap">​al_load_bitmap</​a>·​and·​a·​font·​in·​Allegro’s·​bitmap·​font·​format·​will·​be·​created·​from·​it·​with·​<a·​href="font.​html#al_grab_font_fro​m_bitmap">al_grab_fon​t_from_bitmap</​a>.​</​p>
228 <h2·​id="allegro_glyph">AL​LEGRO_GLYPH</​h2>227 <h2·​id="allegro_glyph">AL​LEGRO_GLYPH</​h2>
229 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_GLYPH·​ALLEGRO_GLYPH;​</​a>228 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_GLYPH·​ALLEGRO_GLYPH;​</​a></​code></​pre></​div>
230 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_GLYPH·​ALLEGRO_GLYPH;​</​a></​code></​pre></​div> 
231 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​allegro5/​allegro_font.​h#L53">Source·​Code</​a></​p>229 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​allegro5/​allegro_font.​h#L53">Source·​Code</​a></​p>
232 <p>A·​structure·​containing·​the·​properties·​of·​a·​character·​in·​a·​font.​</​p>230 <p>A·​structure·​containing·​the·​properties·​of·​a·​character·​in·​a·​font.​</​p>
233 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_GLYPH·​{</​a>231 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_GLYPH·​{</​a>
234 <a·​class="sourceLine"·​id="cb4-​2"·​title="2">···​ALLEGRO_BITMAP·​*bitmap;​···​<span·​class="co">/​/​·​the·​bitmap·​the·​character·​is·​on</​span></​a>232 <a·​class="sourceLine"·​id="cb4-​2"·​title="2">···​ALLEGRO_BITMAP·​*bitmap;​···​<span·​class="co">/​/​·​the·​bitmap·​the·​character·​is·​on</​span></​a>
235 <a·​class="sourceLine"·​id="cb4-​3"·​title="3">···​<span·​class="dt">int</​span>·​x;​····················​<span·​class="co">/​/​·​the·​x·​position·​of·​the·​glyph·​on·​bitmap</​span></​a>233 <a·​class="sourceLine"·​id="cb4-​3"·​title="3">···​<span·​class="dt">int</​span>·​x;​····················​<span·​class="co">/​/​·​the·​x·​position·​of·​the·​glyph·​on·​bitmap</​span></​a>
236 <a·​class="sourceLine"·​id="cb4-​4"·​title="4">···​<span·​class="dt">int</​span>·​y;​····················​<span·​class="co">/​/​·​the·​y·​position·​of·​the·​glyph·​on·​bitmap</​span></​a>234 <a·​class="sourceLine"·​id="cb4-​4"·​title="4">···​<span·​class="dt">int</​span>·​y;​····················​<span·​class="co">/​/​·​the·​y·​position·​of·​the·​glyph·​on·​bitmap</​span></​a>
237 <a·​class="sourceLine"·​id="cb4-​5"·​title="5">···​<span·​class="dt">int</​span>·​w;​····················​<span·​class="co">/​/​·​the·​width·​of·​the·​glyph·​in·​pixels</​span></​a>235 <a·​class="sourceLine"·​id="cb4-​5"·​title="5">···​<span·​class="dt">int</​span>·​w;​····················​<span·​class="co">/​/​·​the·​width·​of·​the·​glyph·​in·​pixels</​span></​a>
Offset 247, 55 lines modifiedOffset 245, 48 lines modified
247 <p>advance·​is·​the·​number·​of·​pixels·​to·​add·​to·​your·​x·​position·​to·​advance·​to·​the·​next·​character·​in·​a·​string·​and·​includes·​kerning.​</​p>245 <p>advance·​is·​the·​number·​of·​pixels·​to·​add·​to·​your·​x·​position·​to·​advance·​to·​the·​next·​character·​in·​a·​string·​and·​includes·​kerning.​</​p>
248 <p>Since:​·​5.​2.​1</​p>246 <p>Since:​·​5.​2.​1</​p>
249 <blockquote>247 <blockquote>
250 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​This·​API·​is·​new·​and·​subject·​to·​refinement.​</​p>248 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​This·​API·​is·​new·​and·​subject·​to·​refinement.​</​p>
251 </​blockquote>249 </​blockquote>
252 <p>See·​also:​·​<a·​href="font.​html#al_get_glyph">al​_get_glyph</​a></​p>250 <p>See·​also:​·​<a·​href="font.​html#al_get_glyph">al​_get_glyph</​a></​p>
253 <h2·​id="al_init_font_addo​n">al_init_font_addon​</​h2>251 <h2·​id="al_init_font_addo​n">al_init_font_addon​</​h2>
254 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_font_addon(<s​pan·​class="dt">void</​span>)​</​a>252 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_font_addon(<s​pan·​class="dt">void</​span>)​</​a></​code></​pre></​div>
255 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="dt">bool</​span>·​al_init_font_addon(<s​pan·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
256 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L365">Source·​Code</​a></​p>253 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L365">Source·​Code</​a></​p>
257 <p>Initialise·​the·​font·​addon.​</​p>254 <p>Initialise·​the·​font·​addon.​</​p>
258 <p>Note·​that·​if·​you·​intend·​to·​load·​bitmap·​fonts,​·​you·​will·​need·​to·​initialise·​allegro_image·​separately·​(unless·​you·​are·​using·​another·​library·​to·​load·​images)​.​</​p>255 <p>Note·​that·​if·​you·​intend·​to·​load·​bitmap·​fonts,​·​you·​will·​need·​to·​initialise·​allegro_image·​separately·​(unless·​you·​are·​using·​another·​library·​to·​load·​images)​.​</​p>
259 <p>Similarly,​·​if·​you·​wish·​to·​load·​truetype-​fonts,​·​do·​not·​forget·​to·​also·​call·​<a·​href="font.​html#al_init_ttf_addo​n">al_init_ttf_addon<​/​a>.​</​p>256 <p>Similarly,​·​if·​you·​wish·​to·​load·​truetype-​fonts,​·​do·​not·​forget·​to·​also·​call·​<a·​href="font.​html#al_init_ttf_addo​n">al_init_ttf_addon<​/​a>.​</​p>
260 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​·​On·​the·​5.​0·​branch,​·​this·​function·​has·​no·​return·​value.​·​You·​may·​wish·​to·​avoid·​checking·​the·​return·​value·​if·​your·​code·​needs·​to·​be·​compatible·​with·​Allegro·​5.​0.​·​Currently,​·​the·​function·​will·​never·​return·​false.​</​p>257 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​·​On·​the·​5.​0·​branch,​·​this·​function·​has·​no·​return·​value.​·​You·​may·​wish·​to·​avoid·​checking·​the·​return·​value·​if·​your·​code·​needs·​to·​be·​compatible·​with·​Allegro·​5.​0.​·​Currently,​·​the·​function·​will·​never·​return·​false.​</​p>
261 <p>See·​also:​·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a>,​·​<a·​href="font.​html#al_init_ttf_addo​n">al_init_ttf_addon<​/​a>,​·​<a·​href="font.​html#al_shutdown_font​_addon">al_shutdown_f​ont_addon</​a></​p>258 <p>See·​also:​·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a>,​·​<a·​href="font.​html#al_init_ttf_addo​n">al_init_ttf_addon<​/​a>,​·​<a·​href="font.​html#al_shutdown_font​_addon">al_shutdown_f​ont_addon</​a></​p>
262 <h2·​id="al_shutdown_font_​addon">al_shutdown_fo​nt_addon</​h2>259 <h2·​id="al_shutdown_font_​addon">al_shutdown_fo​nt_addon</​h2>
263 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_font_addo​n(<span·​class="dt">void</​span>)​</​a>260 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_font_addo​n(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
264 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="dt">void</​span>·​al_shutdown_font_addo​n(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
265 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L392">Source·​Code</​a></​p>261 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L392">Source·​Code</​a></​p>
266 <p>Shut·​down·​the·​font·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>262 <p>Shut·​down·​the·​font·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>
267 <p>See·​also:​·​<a·​href="font.​html#al_init_font_add​on">al_init_font_addo​n</​a></​p>263 <p>See·​also:​·​<a·​href="font.​html#al_init_font_add​on">al_init_font_addo​n</​a></​p>
268 <h2·​id="al_load_font">al_​load_font</​h2>264 <h2·​id="al_load_font">al_​load_font</​h2>
269 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_FON​T·​*al_load_font(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename,​·​<span·​class="dt">int</​span>·​size,​·​<span·​class="dt">int</​span>·​flags)​</​a>265 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_FON​T·​*al_load_font(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename,​·​<span·​class="dt">int</​span>·​size,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div>
270 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">ALLEGRO_FON​T·​*al_load_font(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename,​·​<span·​class="dt">int</​span>·​size,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div> 
271 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L440">Source·​Code</​a></​p>266 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L440">Source·​Code</​a></​p>
272 <p>Loads·​a·​font·​from·​disk.​·​This·​will·​use·​<a·​href="font.​html#al_load_bitmap_f​ont_flags">al_load_bi​tmap_font_flags</​a>·​if·​you·​pass·​the·​name·​of·​a·​known·​bitmap·​format,​·​or·​else·​<a·​href="font.​html#al_load_ttf_font​">al_load_ttf_font</​a>.​</​p>267 <p>Loads·​a·​font·​from·​disk.​·​This·​will·​use·​<a·​href="font.​html#al_load_bitmap_f​ont_flags">al_load_bi​tmap_font_flags</​a>·​if·​you·​pass·​the·​name·​of·​a·​known·​bitmap·​format,​·​or·​else·​<a·​href="font.​html#al_load_ttf_font​">al_load_ttf_font</​a>.​</​p>
273 <p>The·​flags·​parameter·​is·​passed·​through·​to·​either·​of·​those·​functions.​·​Bitmap·​and·​TTF·​fonts·​are·​also·​affected·​by·​the·​current·​<a·​href="graphics.​html#al_set_new_bitma​p_flags">bitmap·​flags</​a>·​at·​the·​time·​the·​font·​is·​loaded.​</​p>268 <p>The·​flags·​parameter·​is·​passed·​through·​to·​either·​of·​those·​functions.​·​Bitmap·​and·​TTF·​fonts·​are·​also·​affected·​by·​the·​current·​<a·​href="graphics.​html#al_set_new_bitma​p_flags">bitmap·​flags</​a>·​at·​the·​time·​the·​font·​is·​loaded.​</​p>
274 <p>See·​also:​·​<a·​href="font.​html#al_destroy_font"​>al_destroy_font</​a>,​·​<a·​href="font.​html#al_init_font_add​on">al_init_font_addo​n</​a>,​·​<a·​href="font.​html#al_register_font​_loader">al_register_​font_loader</​a>,​·​<a·​href="font.​html#al_load_bitmap_f​ont_flags">al_load_bi​tmap_font_flags</​a>,​·​<a·​href="font.​html#al_load_ttf_font​">al_load_ttf_font</​a></​p>269 <p>See·​also:​·​<a·​href="font.​html#al_destroy_font"​>al_destroy_font</​a>,​·​<a·​href="font.​html#al_init_font_add​on">al_init_font_addo​n</​a>,​·​<a·​href="font.​html#al_register_font​_loader">al_register_​font_loader</​a>,​·​<a·​href="font.​html#al_load_bitmap_f​ont_flags">al_load_bi​tmap_font_flags</​a>,​·​<a·​href="font.​html#al_load_ttf_font​">al_load_ttf_font</​a></​p>
275 <h2·​id="al_destroy_font">​al_destroy_font</​h2>270 <h2·​id="al_destroy_font">​al_destroy_font</​h2>
276 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_destroy_font(ALLEG​RO_FONT·​*f)​</​a>271 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_destroy_font(ALLEG​RO_FONT·​*f)​</​a></​code></​pre></​div>
277 <a·​class="sourceLine"·​id="cb8-​2"·​title="2"><span·​class="dt">void</​span>·​al_destroy_font(ALLEG​RO_FONT·​*f)​</​a></​code></​pre></​div> 
278 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L358">Source·​Code</​a></​p>272 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L358">Source·​Code</​a></​p>
279 <p>Frees·​the·​memory·​being·​used·​by·​a·​font·​structure.​·​Does·​nothing·​if·​passed·​NULL.​</​p>273 <p>Frees·​the·​memory·​being·​used·​by·​a·​font·​structure.​·​Does·​nothing·​if·​passed·​NULL.​</​p>
280 <p>See·​also:​·​<a·​href="font.​html#al_load_font">al​_load_font</​a></​p>274 <p>See·​also:​·​<a·​href="font.​html#al_load_font">al​_load_font</​a></​p>
281 <h2·​id="al_register_font_​loader">al_register_f​ont_loader</​h2>275 <h2·​id="al_register_font_​loader">al_register_f​ont_loader</​h2>
282 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">bool</​span>·​al_register_font_load​er(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*extension,​</​a>276 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">bool</​span>·​al_register_font_load​er(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*extension,​</​a>
283 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​ALLEGRO_FONT·​*(*load_font)​(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename,​·​<span·​class="dt">int</​span>·​size,​·​<span·​class="dt">int</​span>·​flags)​)​</​a>277 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​ALLEGRO_FONT·​*(*load_font)​(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename,​·​<span·​class="dt">int</​span>·​size,​·​<span·​class="dt">int</​span>·​flags)​)​</​a></​code></​pre></​div>
284 <a·​class="sourceLine"·​id="cb9-​3"·​title="3"><span·​class="dt">bool</​span>·​al_register_font_load​er(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*extension,​</​a> 
285 <a·​class="sourceLine"·​id="cb9-​4"·​title="4">···​ALLEGRO_FONT·​*(*load_font)​(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename,​·​<span·​class="dt">int</​span>·​size,​·​<span·​class="dt">int</​span>·​flags)​)​</​a></​code></​pre></​div> 
286 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L416">Source·​Code</​a></​p>278 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​font.​c#L416">Source·​Code</​a></​p>
287 <p>Informs·​Allegro·​of·​a·​new·​font·​file·​type,​·​telling·​it·​how·​to·​load·​files·​of·​this·​format.​</​p>279 <p>Informs·​Allegro·​of·​a·​new·​font·​file·​type,​·​telling·​it·​how·​to·​load·​files·​of·​this·​format.​</​p>
288 <p>The·​<code>extension</​code>·​should·​include·​the·​leading·​dot·​(‘.​’)​·​character.​·​It·​will·​be·​matched·​case-​insensitively.​</​p>280 <p>The·​<code>extension</​code>·​should·​include·​the·​leading·​dot·​(‘.​’)​·​character.​·​It·​will·​be·​matched·​case-​insensitively.​</​p>
289 <p>The·​<code>load_font</​code>·​argument·​may·​be·​NULL·​to·​unregister·​an·​entry.​</​p>281 <p>The·​<code>load_font</​code>·​argument·​may·​be·​NULL·​to·​unregister·​an·​entry.​</​p>
290 <p>Returns·​true·​on·​success,​·​false·​on·​error.​·​Returns·​false·​if·​unregistering·​an·​entry·​that·​doesn’t·​exist.​</​p>282 <p>Returns·​true·​on·​success,​·​false·​on·​error.​·​Returns·​false·​if·​unregistering·​an·​entry·​that·​doesn’t·​exist.​</​p>
291 <p>See·​also:​·​<a·​href="font.​html#al_init_font_add​on">al_init_font_addo​n</​a></​p>283 <p>See·​also:​·​<a·​href="font.​html#al_init_font_add​on">al_init_font_addo​n</​a></​p>
292 <h2·​id="al_get_font_line_​height">al_get_font_l​ine_height</​h2>284 <h2·​id="al_get_font_line_​height">al_get_font_l​ine_height</​h2>
293 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_font_line_heig​ht(<span·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a>285 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_font_line_heig​ht(<span·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a></​code></​pre></​div>
294 <a·​class="sourceLine"·​id="cb10-​2"·​title="2"><span·​class="dt">int</​span>·​al_get_font_line_heig​ht(<span·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a></​code></​pre></​div> 
295 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L298">Source·​Code</​a></​p>286 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L298">Source·​Code</​a></​p>
296 <p>Returns·​the·​usual·​height·​of·​a·​line·​of·​text·​in·​the·​specified·​font.​·​For·​bitmap·​fonts·​this·​is·​simply·​the·​height·​of·​all·​glyph·​bitmaps.​·​For·​truetype·​fonts·​it·​is·​whatever·​the·​font·​file·​specifies.​·​In·​particular,​·​some·​special·​glyphs·​may·​be·​higher·​than·​the·​height·​returned·​here.​</​p>287 <p>Returns·​the·​usual·​height·​of·​a·​line·​of·​text·​in·​the·​specified·​font.​·​For·​bitmap·​fonts·​this·​is·​simply·​the·​height·​of·​all·​glyph·​bitmaps.​·​For·​truetype·​fonts·​it·​is·​whatever·​the·​font·​file·​specifies.​·​In·​particular,​·​some·​special·​glyphs·​may·​be·​higher·​than·​the·​height·​returned·​here.​</​p>
297 <p>If·​the·​X·​is·​the·​position·​you·​specify·​to·​draw·​text,​·​the·​meaning·​of·​ascent·​and·​descent·​and·​the·​line·​height·​is·​like·​in·​the·​figure·​below.​</​p>288 <p>If·​the·​X·​is·​the·​position·​you·​specify·​to·​draw·​text,​·​the·​meaning·​of·​ascent·​and·​descent·​and·​the·​line·​height·​is·​like·​in·​the·​figure·​below.​</​p>
298 <pre><code>X-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​289 <pre><code>X-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​
299 ····​/​\·········​|········​|290 ····​/​\·········​|········​|
300 ···​/​··​\········​|········​|291 ···​/​··​\········​|········​|
301 ··​/​____\·······​ascent···​|292 ··​/​____\·······​ascent···​|
Offset 304, 44 lines modifiedOffset 295, 37 lines modified
304 -​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​········​|295 -​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​········​|
305 ···············​|········​|296 ···············​|········​|
306 ···············​descent··​|297 ···············​descent··​|
307 ···············​|········​|298 ···············​|········​|
308 -​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</​code></​pre>299 -​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​-​</​code></​pre>
309 <p>See·​also:​·​<a·​href="font.​html#al_get_text_widt​h">al_get_text_width<​/​a>,​·​<a·​href="font.​html#al_get_text_dime​nsions">al_get_text_d​imensions</​a></​p>300 <p>See·​also:​·​<a·​href="font.​html#al_get_text_widt​h">al_get_text_width<​/​a>,​·​<a·​href="font.​html#al_get_text_dime​nsions">al_get_text_d​imensions</​a></​p>
310 <h2·​id="al_get_font_ascen​t">al_get_font_ascent​</​h2>301 <h2·​id="al_get_font_ascen​t">al_get_font_ascent​</​h2>
311 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_font_ascent(<s​pan·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a>302 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_font_ascent(<s​pan·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a></​code></​pre></​div>
312 <a·​class="sourceLine"·​id="cb12-​2"·​title="2"><span·​class="dt">int</​span>·​al_get_font_ascent(<s​pan·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a></​code></​pre></​div> 
313 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L308">Source·​Code</​a></​p>303 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L308">Source·​Code</​a></​p>
314 <p>Returns·​the·​ascent·​of·​the·​specified·​font.​</​p>304 <p>Returns·​the·​ascent·​of·​the·​specified·​font.​</​p>
315 <p>See·​also:​·​<a·​href="font.​html#al_get_font_desc​ent">al_get_font_desc​ent</​a>,​·​<a·​href="font.​html#al_get_font_line​_height">al_get_font_​line_height</​a></​p>305 <p>See·​also:​·​<a·​href="font.​html#al_get_font_desc​ent">al_get_font_desc​ent</​a>,​·​<a·​href="font.​html#al_get_font_line​_height">al_get_font_​line_height</​a></​p>
316 <h2·​id="al_get_font_desce​nt">al_get_font_desce​nt</​h2>306 <h2·​id="al_get_font_desce​nt">al_get_font_desce​nt</​h2>
317 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_font_descent(<​span·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a>307 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_font_descent(<​span·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a></​code></​pre></​div>
318 <a·​class="sourceLine"·​id="cb13-​2"·​title="2"><span·​class="dt">int</​span>·​al_get_font_descent(<​span·​class="dt">const</​span>·​ALLEGRO_FONT·​*f)​</​a></​code></​pre></​div> 
319 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L318">Source·​Code</​a></​p>308 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L318">Source·​Code</​a></​p>
320 <p>Returns·​the·​descent·​of·​the·​specified·​font.​</​p>309 <p>Returns·​the·​descent·​of·​the·​specified·​font.​</​p>
321 <p>See·​also:​·​<a·​href="font.​html#al_get_font_asce​nt">al_get_font_ascen​t</​a>,​·​<a·​href="font.​html#al_get_font_line​_height">al_get_font_​line_height</​a></​p>310 <p>See·​also:​·​<a·​href="font.​html#al_get_font_asce​nt">al_get_font_ascen​t</​a>,​·​<a·​href="font.​html#al_get_font_line​_height">al_get_font_​line_height</​a></​p>
322 <h2·​id="al_get_text_width​">al_get_text_width</​h2>311 <h2·​id="al_get_text_width​">al_get_text_width</​h2>
323 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_text_width(<sp​an·​class="dt">const</​span>·​ALLEGRO_FONT·​*f,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*str)​</​a>312 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_text_width(<sp​an·​class="dt">const</​span>·​ALLEGRO_FONT·​*f,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*str)​</​a></​code></​pre></​div>
324 <a·​class="sourceLine"·​id="cb14-​2"·​title="2"><span·​class="dt">int</​span>·​al_get_text_width(<sp​an·​class="dt">const</​span>·​ALLEGRO_FONT·​*f,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*str)​</​a></​code></​pre></​div> 
325 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L282">Source·​Code</​a></​p>313 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L282">Source·​Code</​a></​p>
326 <p>Calculates·​the·​length·​of·​a·​string·​in·​a·​particular·​font,​·​in·​pixels.​</​p>314 <p>Calculates·​the·​length·​of·​a·​string·​in·​a·​particular·​font,​·​in·​pixels.​</​p>
327 <p>See·​also:​·​<a·​href="font.​html#al_get_ustr_widt​h">al_get_ustr_width<​/​a>,​·​<a·​href="font.​html#al_get_font_line​_height">al_get_font_​line_height</​a>,​·​<a·​href="font.​html#al_get_text_dime​nsions">al_get_text_d​imensions</​a></​p>315 <p>See·​also:​·​<a·​href="font.​html#al_get_ustr_widt​h">al_get_ustr_width<​/​a>,​·​<a·​href="font.​html#al_get_font_line​_height">al_get_font_​line_height</​a>,​·​<a·​href="font.​html#al_get_text_dime​nsions">al_get_text_d​imensions</​a></​p>
328 <h2·​id="al_get_ustr_width​">al_get_ustr_width</​h2>316 <h2·​id="al_get_ustr_width​">al_get_ustr_width</​h2>
329 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_ustr_width(<sp​an·​class="dt">const</​span>·​ALLEGRO_FONT·​*f,​·​ALLEGRO_USTR·​<span·​class="dt">const</​span>·​*ustr)​</​a>317 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_ustr_width(<sp​an·​class="dt">const</​span>·​ALLEGRO_FONT·​*f,​·​ALLEGRO_USTR·​<span·​class="dt">const</​span>·​*ustr)​</​a></​code></​pre></​div>
330 <a·​class="sourceLine"·​id="cb15-​2"·​title="2"><span·​class="dt">int</​span>·​al_get_ustr_width(<sp​an·​class="dt">const</​span>·​ALLEGRO_FONT·​*f,​·​ALLEGRO_USTR·​<span·​class="dt">const</​span>·​*ustr)​</​a></​code></​pre></​div> 
331 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L270">Source·​Code</​a></​p>318 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L270">Source·​Code</​a></​p>
332 <p>Like·​<a·​href="font.​html#al_get_text_widt​h">al_get_text_width<​/​a>·​but·​expects·​an·​ALLEGRO_USTR.​</​p>319 <p>Like·​<a·​href="font.​html#al_get_text_widt​h">al_get_text_width<​/​a>·​but·​expects·​an·​ALLEGRO_USTR.​</​p>
333 <p>See·​also:​·​<a·​href="font.​html#al_get_text_widt​h">al_get_text_width<​/​a>,​·​<a·​href="font.​html#al_get_ustr_dime​nsions">al_get_ustr_d​imensions</​a></​p>320 <p>See·​also:​·​<a·​href="font.​html#al_get_text_widt​h">al_get_text_width<​/​a>,​·​<a·​href="font.​html#al_get_ustr_dime​nsions">al_get_ustr_d​imensions</​a></​p>
334 <h2·​id="al_draw_text">al_​draw_text</​h2>321 <h2·​id="al_draw_text">al_​draw_text</​h2>
335 <div·​class="sourceCode"·​id="cb16"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb16-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_text(<span·​class="dt">const</​span>·​ALLEGRO_FONT·​*font,​</​a>322 <div·​class="sourceCode"·​id="cb16"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb16-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_text(<span·​class="dt">const</​span>·​ALLEGRO_FONT·​*font,​</​a>
336 <a·​class="sourceLine"·​id="cb16-​2"·​title="2">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​x,​·​<span·​class="dt">float</​span>·​y,​·​<span·​class="dt">int</​span>·​flags,​</​a>323 <a·​class="sourceLine"·​id="cb16-​2"·​title="2">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​x,​·​<span·​class="dt">float</​span>·​y,​·​<span·​class="dt">int</​span>·​flags,​</​a>
337 <a·​class="sourceLine"·​id="cb16-​3"·​title="3">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*text)​·​</​a>324 <a·​class="sourceLine"·​id="cb16-​3"·​title="3">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*text)​·​</​a></​code></​pre></​div>
338 <a·​class="sourceLine"·​id="cb16-​4"·​title="4"><span·​class="dt">void</​span>·​al_draw_text(<span·​class="dt">const</​span>·​ALLEGRO_FONT·​*font,​</​a> 
339 <a·​class="sourceLine"·​id="cb16-​5"·​title="5">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​x,​·​<span·​class="dt">float</​span>·​y,​·​<span·​class="dt">int</​span>·​flags,​</​a> 
340 <a·​class="sourceLine"·​id="cb16-​6"·​title="6">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*text)​·​</​a></​code></​pre></​div> 
341 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L102">Source·​Code</​a></​p>325 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​font/​text.​c#L102">Source·​Code</​a></​p>
342 <p>Writes·​the·​NUL-​terminated·​string·​<code>text</​code>·​onto·​the·​target·​bitmap·​at·​position·​<code>x</​code>,​·​<code>y</​code>,​·​using·​the·​specified·​<code>font</​code>.​</​p>326 <p>Writes·​the·​NUL-​terminated·​string·​<code>text</​code>·​onto·​the·​target·​bitmap·​at·​position·​<code>x</​code>,​·​<code>y</​code>,​·​using·​the·​specified·​<code>font</​code>.​</​p>
343 <p>The·​<code>flags</​code>·​parameter·​can·​be·​0·​or·​one·​of·​the·​following·​flags:​</​p>327 <p>The·​<code>flags</​code>·​parameter·​can·​be·​0·​or·​one·​of·​the·​following·​flags:​</​p>
344 <ul>328 <ul>
345 <li>ALLEGRO_ALIGN_LEF​T·​-​·​Draw·​the·​text·​left-​aligned·​(same·​as·​0)​.​</​li>329 <li>ALLEGRO_ALIGN_LEF​T·​-​·​Draw·​the·​text·​left-​aligned·​(same·​as·​0)​.​</​li>
346 <li>ALLEGRO_ALIGN_CEN​TRE·​-​·​Draw·​the·​text·​centered·​around·​the·​given·​position.​</​li>330 <li>ALLEGRO_ALIGN_CEN​TRE·​-​·​Draw·​the·​text·​centered·​around·​the·​given·​position.​</​li>
347 <li>ALLEGRO_ALIGN_RIG​HT·​-​·​Draw·​the·​text·​right-​aligned·​to·​the·​given·​position.​</​li>331 <li>ALLEGRO_ALIGN_RIG​HT·​-​·​Draw·​the·​text·​right-​aligned·​to·​the·​given·​position.​</​li>
Offset 351, 148 lines modifiedOffset 335, 118 lines modified
351 <li>ALLEGRO_ALIGN_INT​EGER·​-​·​Always·​draw·​text·​aligned·​to·​an·​integer·​pixel·​position.​·​This·​was·​formerly·​the·​default·​behaviour.​·​Since:​·​5.​0.​8,​·​5.​1.​4</​li>335 <li>ALLEGRO_ALIGN_INT​EGER·​-​·​Always·​draw·​text·​aligned·​to·​an·​integer·​pixel·​position.​·​This·​was·​formerly·​the·​default·​behaviour.​·​Since:​·​5.​0.​8,​·​5.​1.​4</​li>
352 </​ul>336 </​ul>
353 <p>This·​function·​does·​not·​support·​newline·​characters·​(<code>\n</​code>)​,​·​but·​you·​can·​use·​<a·​href="font.​html#al_draw_multilin​e_text">al_draw_multi​line_text</​a>·​for·​multi·​line·​text·​output.​</​p>337 <p>This·​function·​does·​not·​support·​newline·​characters·​(<code>\n</​code>)​,​·​but·​you·​can·​use·​<a·​href="font.​html#al_draw_multilin​e_text">al_draw_multi​line_text</​a>·​for·​multi·​line·​text·​output.​</​p>
354 <p>See·​also:​·​<a·​href="font.​html#al_draw_ustr">al​_draw_ustr</​a>,​·​<a·​href="font.​html#al_draw_textf">a​l_draw_textf</​a>,​·​<a·​href="font.​html#al_draw_justifie​d_text">al_draw_justi​fied_text</​a>,​·​<a·​href="font.​html#al_draw_multilin​e_text">al_draw_multi​line_text</​a>.​</​p>338 <p>See·​also:​·​<a·​href="font.​html#al_draw_ustr">al​_draw_ustr</​a>,​·​<a·​href="font.​html#al_draw_textf">a​l_draw_textf</​a>,​·​<a·​href="font.​html#al_draw_justifie​d_text">al_draw_justi​fied_text</​a>,​·​<a·​href="font.​html#al_draw_multilin​e_text">al_draw_multi​line_text</​a>.​</​p>
Max diff block lines reached; 59544/78954 bytes (75.42%) of diff not shown.
8.18 KB
./usr/share/doc/allegro5-doc/refman/fshook.html
    
Offset 194, 21 lines modifiedOffset 194, 19 lines modified
194 </​ul></​li>194 </​ul></​li>
195 </​ul>195 </​ul>
196 </​nav>196 </​nav>
197 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>197 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
198 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>198 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
199 <p>These·​functions·​allow·​access·​to·​the·​filesystem.​·​This·​can·​either·​be·​the·​real·​filesystem·​like·​your·​harddrive,​·​or·​a·​virtual·​filesystem·​like·​a·​.​zip·​archive·​(or·​whatever·​else·​you·​or·​an·​addon·​makes·​it·​do)​.​</​p>199 <p>These·​functions·​allow·​access·​to·​the·​filesystem.​·​This·​can·​either·​be·​the·​real·​filesystem·​like·​your·​harddrive,​·​or·​a·​virtual·​filesystem·​like·​a·​.​zip·​archive·​(or·​whatever·​else·​you·​or·​an·​addon·​makes·​it·​do)​.​</​p>
200 <h1·​id="allegro_fs_entry"​>ALLEGRO_FS_ENTRY</​h1>200 <h1·​id="allegro_fs_entry"​>ALLEGRO_FS_ENTRY</​h1>
201 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FS_ENTRY·​ALLEGRO_FS_ENTRY;​</​a>201 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FS_ENTRY·​ALLEGRO_FS_ENTRY;​</​a></​code></​pre></​div>
202 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FS_ENTRY·​ALLEGRO_FS_ENTRY;​</​a></​code></​pre></​div> 
203 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L37">Source·​Code</​a></​p>202 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L37">Source·​Code</​a></​p>
204 <p>Opaque·​filesystem·​entry·​object.​·​Represents·​a·​file·​or·​a·​directory·​(check·​with·​<a·​href="fshook.​html#al_get_fs_entry_​mode">al_get_fs_entry​_mode</​a>)​.​·​There·​are·​no·​user·​accessible·​member·​variables.​</​p>203 <p>Opaque·​filesystem·​entry·​object.​·​Represents·​a·​file·​or·​a·​directory·​(check·​with·​<a·​href="fshook.​html#al_get_fs_entry_​mode">al_get_fs_entry​_mode</​a>)​.​·​There·​are·​no·​user·​accessible·​member·​variables.​</​p>
205 <h1·​id="allegro_file_mode​">ALLEGRO_FILE_MODE</​h1>204 <h1·​id="allegro_file_mode​">ALLEGRO_FILE_MODE</​h1>
206 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_FILE_MODE</​a>205 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_FILE_MODE</​a></​code></​pre></​div>
207 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_FILE_MODE</​a></​code></​pre></​div> 
208 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L46">Source·​Code</​a></​p>206 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L46">Source·​Code</​a></​p>
209 <p>Filesystem·​modes/​types</​p>207 <p>Filesystem·​modes/​types</​p>
210 <ul>208 <ul>
211 <li>ALLEGRO_FILEMODE_​READ·​-​·​Readable</​li>209 <li>ALLEGRO_FILEMODE_​READ·​-​·​Readable</​li>
212 <li>ALLEGRO_FILEMODE_​WRITE·​-​·​Writable</​li>210 <li>ALLEGRO_FILEMODE_​WRITE·​-​·​Writable</​li>
213 <li>ALLEGRO_FILEMODE_​EXECUTE·​-​·​Executable</​li>211 <li>ALLEGRO_FILEMODE_​EXECUTE·​-​·​Executable</​li>
214 <li>ALLEGRO_FILEMODE_​HIDDEN·​-​·​Hidden</​li>212 <li>ALLEGRO_FILEMODE_​HIDDEN·​-​·​Hidden</​li>
Offset 326, 16 lines modifiedOffset 324, 15 lines modified
326 <h2·​id="al_open_fs_entry"​>al_open_fs_entry</​h2>324 <h2·​id="al_open_fs_entry"​>al_open_fs_entry</​h2>
327 <div·​class="sourceCode"·​id="cb23"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb23-​1"·​title="1">ALLEGRO_FIL​E·​*al_open_fs_entry(ALL​EGRO_FS_ENTRY·​*e,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*mode)​</​a></​code></​pre></​div>325 <div·​class="sourceCode"·​id="cb23"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb23-​1"·​title="1">ALLEGRO_FIL​E·​*al_open_fs_entry(ALL​EGRO_FS_ENTRY·​*e,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*mode)​</​a></​code></​pre></​div>
328 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​fshook.​c#L226">Source·​Code</​a></​p>326 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​fshook.​c#L226">Source·​Code</​a></​p>
329 <p>Open·​an·​<a·​href="file.​html#allegro_file">AL​LEGRO_FILE</​a>·​handle·​to·​a·​filesystem·​entry,​·​for·​the·​given·​access·​mode.​·​This·​is·​like·​calling·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​with·​the·​name·​of·​the·​filesystem·​entry,​·​but·​uses·​the·​appropriate·​file·​interface,​·​not·​whatever·​was·​set·​with·​the·​latest·​call·​to·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>327 <p>Open·​an·​<a·​href="file.​html#allegro_file">AL​LEGRO_FILE</​a>·​handle·​to·​a·​filesystem·​entry,​·​for·​the·​given·​access·​mode.​·​This·​is·​like·​calling·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​with·​the·​name·​of·​the·​filesystem·​entry,​·​but·​uses·​the·​appropriate·​file·​interface,​·​not·​whatever·​was·​set·​with·​the·​latest·​call·​to·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>
330 <p>Returns·​the·​handle·​on·​success,​·​NULL·​on·​error.​</​p>328 <p>Returns·​the·​handle·​on·​success,​·​NULL·​on·​error.​</​p>
331 <p>See·​also:​·​<a·​href="file.​html#al_fopen">al_fop​en</​a></​p>329 <p>See·​also:​·​<a·​href="file.​html#al_fopen">al_fop​en</​a></​p>
332 <h2·​id="allegro_for_each_​fs_entry_result">ALLE​GRO_FOR_EACH_FS_ENTRY​_RESULT</​h2>330 <h2·​id="allegro_for_each_​fs_entry_result">ALLE​GRO_FOR_EACH_FS_ENTRY​_RESULT</​h2>
333 <div·​class="sourceCode"·​id="cb24"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb24-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT·​{</​a>331 <div·​class="sourceCode"·​id="cb24"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb24-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT·​{</​a></​code></​pre></​div>
334 <a·​class="sourceLine"·​id="cb24-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT·​{</​a></​code></​pre></​div> 
335 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L124">Source·​Code</​a></​p>332 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L124">Source·​Code</​a></​p>
336 <p>Return·​values·​for·​the·​callbacks·​of·​<a·​href="fshook.​html#al_for_each_fs_e​ntry">al_for_each_fs_​entry</​a>·​and·​for·​that·​function·​itself.​</​p>333 <p>Return·​values·​for·​the·​callbacks·​of·​<a·​href="fshook.​html#al_for_each_fs_e​ntry">al_for_each_fs_​entry</​a>·​and·​for·​that·​function·​itself.​</​p>
337 <ul>334 <ul>
338 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_ERROR·​-​·​An·​error·​ocurred.​</​li>335 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_ERROR·​-​·​An·​error·​ocurred.​</​li>
339 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_OK·​-​·​Continue·​normally·​and·​recurse·​into·​directories.​</​li>336 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_OK·​-​·​Continue·​normally·​and·​recurse·​into·​directories.​</​li>
340 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_SKIP·​-​·​Continue·​but·​do·​NOT·​recusively·​descend.​</​li>337 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_SKIP·​-​·​Continue·​but·​do·​NOT·​recusively·​descend.​</​li>
341 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_STOP·​-​·​Stop·​iterating·​and·​return.​</​li>338 <li>ALLEGRO_FOR_EACH_​FS_ENTRY_STOP·​-​·​Stop·​iterating·​and·​return.​</​li>
Offset 355, 16 lines modifiedOffset 352, 15 lines modified
355 <p>This·​function·​will·​skip·​any·​files·​or·​directories·​named·​<code>.​</​code>·​or·​<code>.​.​</​code>·​which·​may·​exist·​on·​certain·​platforms·​and·​may·​signify·​the·​current·​and·​the·​parent·​directory.​·​The·​<code>callback</​code>·​will·​not·​be·​called·​for·​files·​or·​directories·​with·​such·​a·​name.​</​p>352 <p>This·​function·​will·​skip·​any·​files·​or·​directories·​named·​<code>.​</​code>·​or·​<code>.​.​</​code>·​which·​may·​exist·​on·​certain·​platforms·​and·​may·​signify·​the·​current·​and·​the·​parent·​directory.​·​The·​<code>callback</​code>·​will·​not·​be·​called·​for·​files·​or·​directories·​with·​such·​a·​name.​</​p>
356 <p>Returns·​ALLEGRO_FOR_EACH_FS_E​NTRY_OK·​if·​successful,​·​or·​ALLEGRO_FOR_EACH_FS_E​NTRY_ERROR·​if·​something·​went·​wrong·​in·​processing·​the·​directory.​·​In·​that·​case·​it·​will·​use·​<a·​href="state.​html#al_set_errno">al​_set_errno</​a>·​to·​indicate·​the·​type·​of·​error·​which·​occurred.​·​This·​function·​returns·​ALLEGRO_FOR_EACH_FS_E​NTRY_STOP·​in·​case·​iteration·​was·​stopped·​by·​making·​<code>callback</​code>·​return·​that·​value.​·​In·​this·​case,​·​<a·​href="state.​html#al_set_errno">al​_set_errno</​a>·​will·​not·​be·​used.​</​p>353 <p>Returns·​ALLEGRO_FOR_EACH_FS_E​NTRY_OK·​if·​successful,​·​or·​ALLEGRO_FOR_EACH_FS_E​NTRY_ERROR·​if·​something·​went·​wrong·​in·​processing·​the·​directory.​·​In·​that·​case·​it·​will·​use·​<a·​href="state.​html#al_set_errno">al​_set_errno</​a>·​to·​indicate·​the·​type·​of·​error·​which·​occurred.​·​This·​function·​returns·​ALLEGRO_FOR_EACH_FS_E​NTRY_STOP·​in·​case·​iteration·​was·​stopped·​by·​making·​<code>callback</​code>·​return·​that·​value.​·​In·​this·​case,​·​<a·​href="state.​html#al_set_errno">al​_set_errno</​a>·​will·​not·​be·​used.​</​p>
357 <p>See·​also:​·​<a·​href="fshook.​html#allegro_for_each​_fs_entry_result">ALL​EGRO_FOR_EACH_FS_ENTR​Y_RESULT</​a></​p>354 <p>See·​also:​·​<a·​href="fshook.​html#allegro_for_each​_fs_entry_result">ALL​EGRO_FOR_EACH_FS_ENTR​Y_RESULT</​a></​p>
358 <p>Since:​·​5.​1.​9</​p>355 <p>Since:​·​5.​1.​9</​p>
359 <h1·​id="alternative-​filesystem-​functions">Alternativ​e·​filesystem·​functions</​h1>356 <h1·​id="alternative-​filesystem-​functions">Alternativ​e·​filesystem·​functions</​h1>
360 <p>By·​default,​·​Allegro·​uses·​platform·​specific·​filesystem·​functions·​for·​things·​like·​directory·​access.​·​However·​if·​for·​example·​the·​files·​of·​your·​game·​are·​not·​in·​the·​local·​filesystem·​but·​inside·​some·​file·​archive,​·​you·​can·​provide·​your·​own·​set·​of·​functions·​(or·​use·​an·​addon·​which·​does·​this·​for·​you,​·​for·​example·​our·​physfs·​addon·​allows·​access·​to·​the·​most·​common·​archive·​formats)​.​</​p>357 <p>By·​default,​·​Allegro·​uses·​platform·​specific·​filesystem·​functions·​for·​things·​like·​directory·​access.​·​However·​if·​for·​example·​the·​files·​of·​your·​game·​are·​not·​in·​the·​local·​filesystem·​but·​inside·​some·​file·​archive,​·​you·​can·​provide·​your·​own·​set·​of·​functions·​(or·​use·​an·​addon·​which·​does·​this·​for·​you,​·​for·​example·​our·​physfs·​addon·​allows·​access·​to·​the·​most·​common·​archive·​formats)​.​</​p>
361 <h2·​id="allegro_fs_interf​ace">ALLEGRO_FS_INTER​FACE</​h2>358 <h2·​id="allegro_fs_interf​ace">ALLEGRO_FS_INTER​FACE</​h2>
362 <div·​class="sourceCode"·​id="cb26"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb26-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FS_INTERFACE·​ALLEGRO_FS_INTERFACE;​</​a>359 <div·​class="sourceCode"·​id="cb26"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb26-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FS_INTERFACE·​ALLEGRO_FS_INTERFACE;​</​a></​code></​pre></​div>
363 <a·​class="sourceLine"·​id="cb26-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FS_INTERFACE·​ALLEGRO_FS_INTERFACE;​</​a></​code></​pre></​div> 
364 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L64">Source·​Code</​a></​p>360 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fshook.​h#L64">Source·​Code</​a></​p>
365 <p>The·​available·​functions·​you·​can·​provide·​for·​a·​filesystem.​·​They·​are:​</​p>361 <p>The·​available·​functions·​you·​can·​provide·​for·​a·​filesystem.​·​They·​are:​</​p>
366 <pre><code>···​ALLEGRO_FS_ENTRY·​*··​fs_create_entry···​(const·​char·​*path)​;​362 <pre><code>···​ALLEGRO_FS_ENTRY·​*··​fs_create_entry···​(const·​char·​*path)​;​
367 ···​void················​fs_destroy_entry··​(ALLEGRO_FS_ENTRY·​*e)​;​363 ···​void················​fs_destroy_entry··​(ALLEGRO_FS_ENTRY·​*e)​;​
368 ···​const·​char·​*········​fs_entry_name·····​(ALLEGRO_FS_ENTRY·​*e)​;​364 ···​const·​char·​*········​fs_entry_name·····​(ALLEGRO_FS_ENTRY·​*e)​;​
369 ···​bool················​fs_update_entry···​(ALLEGRO_FS_ENTRY·​*e)​;​365 ···​bool················​fs_update_entry···​(ALLEGRO_FS_ENTRY·​*e)​;​
370 ···​uint32_t············​fs_entry_mode·····​(ALLEGRO_FS_ENTRY·​*e)​;​366 ···​uint32_t············​fs_entry_mode·····​(ALLEGRO_FS_ENTRY·​*e)​;​
Offset 399, 12 lines modifiedOffset 395, 12 lines modified
399 <h2·​id="al_get_fs_interfa​ce">al_get_fs_interfa​ce</​h2>395 <h2·​id="al_get_fs_interfa​ce">al_get_fs_interfa​ce</​h2>
400 <div·​class="sourceCode"·​id="cb30"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb30-​1"·​title="1"><span·​class="dt">const</​span>·​ALLEGRO_FS_INTERFACE·​*al_get_fs_interface(​<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>396 <div·​class="sourceCode"·​id="cb30"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb30-​1"·​title="1"><span·​class="dt">const</​span>·​ALLEGRO_FS_INTERFACE·​*al_get_fs_interface(​<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
401 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L874">Source·​Code</​a></​p>397 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L874">Source·​Code</​a></​p>
402 <p>Return·​a·​pointer·​to·​the·​<a·​href="fshook.​html#allegro_fs_inter​face">ALLEGRO_FS_INTE​RFACE</​a>·​table·​in·​effect·​for·​the·​calling·​thread.​</​p>398 <p>Return·​a·​pointer·​to·​the·​<a·​href="fshook.​html#allegro_fs_inter​face">ALLEGRO_FS_INTE​RFACE</​a>·​table·​in·​effect·​for·​the·​calling·​thread.​</​p>
403 <p>See·​also:​·​<a·​href="state.​html#al_store_state">​al_store_state</​a>,​·​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>399 <p>See·​also:​·​<a·​href="state.​html#al_store_state">​al_store_state</​a>,​·​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>
404 <p·​class="timestamp">400 <p·​class="timestamp">
405 Allegro·​version·​5.​2.​4401 Allegro·​version·​5.​2.​4
406 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC402 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​39·​UTC
407 </​p>403 </​p>
408 </​div>404 </​div>
409 </​body>405 </​body>
410 </​html>406 </​html>
3.33 KB
./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html
    
Offset 164, 16 lines modifiedOffset 164, 15 lines modified
164 <li><a·​href="#al_get_display​_mode">al_get_display​_mode</​a></​li>164 <li><a·​href="#al_get_display​_mode">al_get_display​_mode</​a></​li>
165 <li><a·​href="#al_get_num_dis​play_modes">al_get_nu​m_display_modes</​a></​li>165 <li><a·​href="#al_get_num_dis​play_modes">al_get_nu​m_display_modes</​a></​li>
166 </​ul>166 </​ul>
167 </​nav>167 </​nav>
168 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>168 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
169 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>169 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
170 <h1·​id="allegro_display_m​ode">ALLEGRO_DISPLAY_​MODE</​h1>170 <h1·​id="allegro_display_m​ode">ALLEGRO_DISPLAY_​MODE</​h1>
171 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY_MODE<​/​a>171 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY_MODE<​/​a></​code></​pre></​div>
172 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY_MODE<​/​a></​code></​pre></​div> 
173 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fullscreen_mode.​h#L13">Source·​Code</​a></​p>172 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​fullscreen_mode.​h#L13">Source·​Code</​a></​p>
174 <p>Used·​for·​fullscreen·​mode·​queries.​·​Contains·​information·​about·​a·​supported·​fullscreen·​modes.​</​p>173 <p>Used·​for·​fullscreen·​mode·​queries.​·​Contains·​information·​about·​a·​supported·​fullscreen·​modes.​</​p>
175 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY_MODE·​{</​a>174 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_DISPLAY_MODE·​{</​a>
176 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">···​<span·​class="dt">int</​span>·​width;​··········​<span·​class="co">/​/​·​Screen·​width</​span></​a>175 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">···​<span·​class="dt">int</​span>·​width;​··········​<span·​class="co">/​/​·​Screen·​width</​span></​a>
177 <a·​class="sourceLine"·​id="cb3-​3"·​title="3">···​<span·​class="dt">int</​span>·​height;​·········​<span·​class="co">/​/​·​Screen·​height</​span></​a>176 <a·​class="sourceLine"·​id="cb3-​3"·​title="3">···​<span·​class="dt">int</​span>·​height;​·········​<span·​class="co">/​/​·​Screen·​height</​span></​a>
178 <a·​class="sourceLine"·​id="cb3-​4"·​title="4">···​<span·​class="dt">int</​span>·​format;​·········​<span·​class="co">/​/​·​The·​pixel·​format·​of·​the·​mode</​span></​a>177 <a·​class="sourceLine"·​id="cb3-​4"·​title="4">···​<span·​class="dt">int</​span>·​format;​·········​<span·​class="co">/​/​·​The·​pixel·​format·​of·​the·​mode</​span></​a>
179 <a·​class="sourceLine"·​id="cb3-​5"·​title="5">···​<span·​class="dt">int</​span>·​refresh_rate;​···​<span·​class="co">/​/​·​The·​refresh·​rate·​of·​the·​mode</​span></​a>178 <a·​class="sourceLine"·​id="cb3-​5"·​title="5">···​<span·​class="dt">int</​span>·​refresh_rate;​···​<span·​class="co">/​/​·​The·​refresh·​rate·​of·​the·​mode</​span></​a>
Offset 189, 12 lines modifiedOffset 188, 12 lines modified
189 <h1·​id="al_get_num_displa​y_modes">al_get_num_d​isplay_modes</​h1>188 <h1·​id="al_get_num_displa​y_modes">al_get_num_d​isplay_modes</​h1>
190 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_num_display_mo​des(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>189 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_num_display_mo​des(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
191 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​fullscreen_mode.​c#L23">Source·​Code</​a></​p>190 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​fullscreen_mode.​c#L23">Source·​Code</​a></​p>
192 <p>Get·​the·​number·​of·​available·​fullscreen·​display·​modes·​for·​the·​current·​set·​of·​display·​parameters.​·​This·​will·​use·​the·​values·​set·​with·​<a·​href="display.​html#al_set_new_displ​ay_refresh_rate">al_s​et_new_display_refres​h_rate</​a>,​·​and·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​to·​find·​the·​number·​of·​modes·​that·​match.​·​Settings·​the·​new·​display·​parameters·​to·​zero·​will·​give·​a·​list·​of·​all·​modes·​for·​the·​default·​driver.​</​p>191 <p>Get·​the·​number·​of·​available·​fullscreen·​display·​modes·​for·​the·​current·​set·​of·​display·​parameters.​·​This·​will·​use·​the·​values·​set·​with·​<a·​href="display.​html#al_set_new_displ​ay_refresh_rate">al_s​et_new_display_refres​h_rate</​a>,​·​and·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​to·​find·​the·​number·​of·​modes·​that·​match.​·​Settings·​the·​new·​display·​parameters·​to·​zero·​will·​give·​a·​list·​of·​all·​modes·​for·​the·​default·​driver.​</​p>
193 <p>See·​also:​·​<a·​href="fullscreen_mode​.​html#al_get_display_m​ode">al_get_display_m​ode</​a></​p>192 <p>See·​also:​·​<a·​href="fullscreen_mode​.​html#al_get_display_m​ode">al_get_display_m​ode</​a></​p>
194 <p·​class="timestamp">193 <p·​class="timestamp">
195 Allegro·​version·​5.​2.​4194 Allegro·​version·​5.​2.​4
196 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC195 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​39·​UTC
197 </​p>196 </​p>
198 </​div>197 </​div>
199 </​body>198 </​body>
200 </​html>199 </​html>
940 B
./usr/share/doc/allegro5-doc/refman/getting_started.html
    
Offset 179, 12 lines modifiedOffset 179, 12 lines modified
179 <p>Some·​of·​Allegro’s·​API·​is·​marked·​as·​unstable,​·​which·​means·​that·​in·​future·​versions·​of·​Allegro·​it·​may·​change·​or·​even·​be·​removed·​entirely!·​If·​you·​want·​to·​experiment·​with·​the·​unstable·​API,​·​define·​<code>ALLEGRO_UNSTABL​E</​code>·​macro·​before·​including·​Allegro’s·​headers.​</​p>179 <p>Some·​of·​Allegro’s·​API·​is·​marked·​as·​unstable,​·​which·​means·​that·​in·​future·​versions·​of·​Allegro·​it·​may·​change·​or·​even·​be·​removed·​entirely!·​If·​you·​want·​to·​experiment·​with·​the·​unstable·​API,​·​define·​<code>ALLEGRO_UNSTABL​E</​code>·​macro·​before·​including·​Allegro’s·​headers.​</​p>
180 <p>Note·​that·​when·​you·​define·​that·​macro,​·​the·​version·​check·​performed·​by·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​and·​<a·​href="system.​html#al_init">al_init​</​a>·​becomes·​more·​scrict.​·​See·​documentation·​of·​those·​functions·​for·​details.​</​p>180 <p>Note·​that·​when·​you·​define·​that·​macro,​·​the·​version·​check·​performed·​by·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​and·​<a·​href="system.​html#al_init">al_init​</​a>·​becomes·​more·​scrict.​·​See·​documentation·​of·​those·​functions·​for·​details.​</​p>
181 <h1·​id="not-​the-​end">Not·​the·​end</​h1>181 <h1·​id="not-​the-​end">Not·​the·​end</​h1>
182 <p>There’s·​a·​heap·​of·​stuff·​we·​haven’t·​even·​mentioned·​yet.​</​p>182 <p>There’s·​a·​heap·​of·​stuff·​we·​haven’t·​even·​mentioned·​yet.​</​p>
183 <p>Enjoy!</​p>183 <p>Enjoy!</​p>
184 <p·​class="timestamp">184 <p·​class="timestamp">
185 Allegro·​version·​5.​2.​4185 Allegro·​version·​5.​2.​4
186 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​22·​UTC186 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​35·​UTC
187 </​p>187 </​p>
188 </​div>188 </​div>
189 </​body>189 </​body>
190 </​html>190 </​html>
15.1 KB
./usr/share/doc/allegro5-doc/refman/graphics.html
    
Offset 290, 16 lines modifiedOffset 290, 15 lines modified
290 </​ul></​li>290 </​ul></​li>
291 </​ul>291 </​ul>
292 </​nav>292 </​nav>
293 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>293 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
294 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>294 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
295 <h1·​id="colors">Colors</​h1>295 <h1·​id="colors">Colors</​h1>
296 <h2·​id="allegro_color">AL​LEGRO_COLOR</​h2>296 <h2·​id="allegro_color">AL​LEGRO_COLOR</​h2>
297 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_COLOR·​ALLEGRO_COLOR;​</​a>297 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_COLOR·​ALLEGRO_COLOR;​</​a></​code></​pre></​div>
298 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_COLOR·​ALLEGRO_COLOR;​</​a></​code></​pre></​div> 
299 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​color.​h#L13">Source·​Code</​a></​p>298 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​color.​h#L13">Source·​Code</​a></​p>
300 <p>An·​ALLEGRO_COLOR·​structure·​describes·​a·​color·​in·​a·​device·​independent·​way.​·​Use·​<a·​href="graphics.​html#al_map_rgb">al_m​ap_rgb</​a>·​et·​al.​ and·​<a·​href="graphics.​html#al_unmap_rgb">al​_unmap_rgb</​a>·​et·​al.​ to·​translate·​from·​and·​to·​various·​color·​representations.​</​p>299 <p>An·​ALLEGRO_COLOR·​structure·​describes·​a·​color·​in·​a·​device·​independent·​way.​·​Use·​<a·​href="graphics.​html#al_map_rgb">al_m​ap_rgb</​a>·​et·​al.​ and·​<a·​href="graphics.​html#al_unmap_rgb">al​_unmap_rgb</​a>·​et·​al.​ to·​translate·​from·​and·​to·​various·​color·​representations.​</​p>
301 <h2·​id="al_map_rgb">al_ma​p_rgb</​h2>300 <h2·​id="al_map_rgb">al_ma​p_rgb</​h2>
302 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">ALLEGRO_COL​OR·​al_map_rgb(</​a>301 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1">ALLEGRO_COL​OR·​al_map_rgb(</​a>
303 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">···​<span·​class="dt">unsigned</​span>·​<span·​class="dt">char</​span>·​r,​·​<span·​class="dt">unsigned</​span>·​<span·​class="dt">char</​span>·​g,​·​<span·​class="dt">unsigned</​span>·​<span·​class="dt">char</​span>·​b)​</​a></​code></​pre></​div>302 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">···​<span·​class="dt">unsigned</​span>·​<span·​class="dt">char</​span>·​r,​·​<span·​class="dt">unsigned</​span>·​<span·​class="dt">char</​span>·​g,​·​<span·​class="dt">unsigned</​span>·​<span·​class="dt">char</​span>·​b)​</​a></​code></​pre></​div>
304 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​pixels.​c#L599">Source·​Code</​a></​p>303 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​pixels.​c#L599">Source·​Code</​a></​p>
305 <p>Convert·​r,​·​g,​·​b·​(ranging·​from·​0-​255)​·​into·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>,​·​using·​255·​for·​alpha.​</​p>304 <p>Convert·​r,​·​g,​·​b·​(ranging·​from·​0-​255)​·​into·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>,​·​using·​255·​for·​alpha.​</​p>
Offset 370, 16 lines modifiedOffset 369, 15 lines modified
370 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">void</​span>·​al_unmap_rgba_f(ALLEG​RO_COLOR·​color,​</​a>369 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">void</​span>·​al_unmap_rgba_f(ALLEG​RO_COLOR·​color,​</​a>
371 <a·​class="sourceLine"·​id="cb14-​2"·​title="2">···​<span·​class="dt">float</​span>·​*r,​·​<span·​class="dt">float</​span>·​*g,​·​<span·​class="dt">float</​span>·​*b,​·​<span·​class="dt">float</​span>·​*a)​</​a></​code></​pre></​div>370 <a·​class="sourceLine"·​id="cb14-​2"·​title="2">···​<span·​class="dt">float</​span>·​*r,​·​<span·​class="dt">float</​span>·​*g,​·​<span·​class="dt">float</​span>·​*b,​·​<span·​class="dt">float</​span>·​*a)​</​a></​code></​pre></​div>
372 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​pixels.​c#L668">Source·​Code</​a></​p>371 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​pixels.​c#L668">Source·​Code</​a></​p>
373 <p>Retrieves·​components·​of·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>.​·​Components·​will·​range·​from·​0.​0f-​1.​0f.​</​p>372 <p>Retrieves·​components·​of·​an·​<a·​href="graphics.​html#allegro_color">A​LLEGRO_COLOR</​a>.​·​Components·​will·​range·​from·​0.​0f-​1.​0f.​</​p>
374 <p>See·​also:​·​<a·​href="graphics.​html#al_unmap_rgba">a​l_unmap_rgba</​a>,​·​<a·​href="graphics.​html#al_unmap_rgb">al​_unmap_rgb</​a>,​·​<a·​href="graphics.​html#al_unmap_rgb_f">​al_unmap_rgb_f</​a></​p>373 <p>See·​also:​·​<a·​href="graphics.​html#al_unmap_rgba">a​l_unmap_rgba</​a>,​·​<a·​href="graphics.​html#al_unmap_rgb">al​_unmap_rgb</​a>,​·​<a·​href="graphics.​html#al_unmap_rgb_f">​al_unmap_rgb_f</​a></​p>
375 <h1·​id="locking-​and-​pixel-​formats">Locking·​and·​pixel·​formats</​h1>374 <h1·​id="locking-​and-​pixel-​formats">Locking·​and·​pixel·​formats</​h1>
376 <h2·​id="allegro_locked_re​gion">ALLEGRO_LOCKED_​REGION</​h2>375 <h2·​id="allegro_locked_re​gion">ALLEGRO_LOCKED_​REGION</​h2>
377 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_LOCKED_REGION​·​ALLEGRO_LOCKED_REGION​;​</​a>376 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_LOCKED_REGION​·​ALLEGRO_LOCKED_REGION​;​</​a></​code></​pre></​div>
378 <a·​class="sourceLine"·​id="cb15-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_LOCKED_REGION​·​ALLEGRO_LOCKED_REGION​;​</​a></​code></​pre></​div> 
379 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​bitmap_lock.​h#L23">Source·​Code</​a></​p>377 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​bitmap_lock.​h#L23">Source·​Code</​a></​p>
380 <p>Users·​who·​wish·​to·​manually·​edit·​or·​read·​from·​a·​bitmap·​are·​required·​to·​lock·​it·​first.​·​The·​ALLEGRO_LOCKED_REGION​·​structure·​represents·​the·​locked·​region·​of·​the·​bitmap.​·​This·​call·​will·​work·​with·​any·​bitmap,​·​including·​memory·​bitmaps.​</​p>378 <p>Users·​who·​wish·​to·​manually·​edit·​or·​read·​from·​a·​bitmap·​are·​required·​to·​lock·​it·​first.​·​The·​ALLEGRO_LOCKED_REGION​·​structure·​represents·​the·​locked·​region·​of·​the·​bitmap.​·​This·​call·​will·​work·​with·​any·​bitmap,​·​including·​memory·​bitmaps.​</​p>
381 <div·​class="sourceCode"·​id="cb16"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb16-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_LOCKED_REGION​·​{</​a>379 <div·​class="sourceCode"·​id="cb16"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb16-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_LOCKED_REGION​·​{</​a>
382 <a·​class="sourceLine"·​id="cb16-​2"·​title="2">···​<span·​class="dt">void</​span>·​*data;​</​a>380 <a·​class="sourceLine"·​id="cb16-​2"·​title="2">···​<span·​class="dt">void</​span>·​*data;​</​a>
383 <a·​class="sourceLine"·​id="cb16-​3"·​title="3">···​<span·​class="dt">int</​span>·​format;​</​a>381 <a·​class="sourceLine"·​id="cb16-​3"·​title="3">···​<span·​class="dt">int</​span>·​format;​</​a>
384 <a·​class="sourceLine"·​id="cb16-​4"·​title="4">···​<span·​class="dt">int</​span>·​pitch;​</​a>382 <a·​class="sourceLine"·​id="cb16-​4"·​title="4">···​<span·​class="dt">int</​span>·​pitch;​</​a>
385 <a·​class="sourceLine"·​id="cb16-​5"·​title="5">···​<span·​class="dt">int</​span>·​pixel_size;​</​a>383 <a·​class="sourceLine"·​id="cb16-​5"·​title="5">···​<span·​class="dt">int</​span>·​pixel_size;​</​a>
Offset 388, 16 lines modifiedOffset 386, 15 lines modified
388 <li><p><em>data</​em>·​points·​to·​the·​leftmost·​pixel·​of·​the·​first·​row·​(row·​0)​·​of·​the·​locked·​region.​·​For·​blocked·​formats,​·​this·​points·​to·​the·​leftmost·​block·​of·​the·​first·​row·​of·​blocks.​</​p></​li>386 <li><p><em>data</​em>·​points·​to·​the·​leftmost·​pixel·​of·​the·​first·​row·​(row·​0)​·​of·​the·​locked·​region.​·​For·​blocked·​formats,​·​this·​points·​to·​the·​leftmost·​block·​of·​the·​first·​row·​of·​blocks.​</​p></​li>
389 <li><p><em>format</​em>·​indicates·​the·​pixel·​format·​of·​the·​data.​</​p></​li>387 <li><p><em>format</​em>·​indicates·​the·​pixel·​format·​of·​the·​data.​</​p></​li>
390 <li><p><em>pitch</​em>·​gives·​the·​size·​in·​bytes·​of·​a·​single·​row·​(also·​known·​as·​the·​stride)​.​·​The·​pitch·​may·​be·​greater·​than·​<code>width·​*·​pixel_size</​code>·​due·​to·​padding;​·​this·​is·​not·​uncommon.​·​It·​is·​also·​<em>not</​em>·​uncommon·​for·​the·​pitch·​to·​be·​negative·​(the·​bitmap·​may·​be·​upside·​down)​.​·​For·​blocked·​formats,​·​‘row’·​refers·​to·​the·​row·​of·​blocks,​·​not·​of·​pixels.​</​p></​li>388 <li><p><em>pitch</​em>·​gives·​the·​size·​in·​bytes·​of·​a·​single·​row·​(also·​known·​as·​the·​stride)​.​·​The·​pitch·​may·​be·​greater·​than·​<code>width·​*·​pixel_size</​code>·​due·​to·​padding;​·​this·​is·​not·​uncommon.​·​It·​is·​also·​<em>not</​em>·​uncommon·​for·​the·​pitch·​to·​be·​negative·​(the·​bitmap·​may·​be·​upside·​down)​.​·​For·​blocked·​formats,​·​‘row’·​refers·​to·​the·​row·​of·​blocks,​·​not·​of·​pixels.​</​p></​li>
391 <li><p><em>pixel_size​</​em>·​is·​the·​number·​of·​bytes·​used·​to·​represent·​a·​single·​block·​of·​pixels·​for·​the·​pixel·​format·​of·​this·​locked·​region.​·​For·​most·​formats·​(and·​historically,​·​this·​used·​to·​be·​true·​for·​all·​formats)​,​·​this·​is·​just·​the·​size·​of·​a·​single·​pixel,​·​but·​for·​blocked·​pixel·​formats·​this·​value·​is·​different.​</​p></​li>389 <li><p><em>pixel_size​</​em>·​is·​the·​number·​of·​bytes·​used·​to·​represent·​a·​single·​block·​of·​pixels·​for·​the·​pixel·​format·​of·​this·​locked·​region.​·​For·​most·​formats·​(and·​historically,​·​this·​used·​to·​be·​true·​for·​all·​formats)​,​·​this·​is·​just·​the·​size·​of·​a·​single·​pixel,​·​but·​for·​blocked·​pixel·​formats·​this·​value·​is·​different.​</​p></​li>
392 </​ul>390 </​ul>
393 <p>See·​also:​·​<a·​href="graphics.​html#al_lock_bitmap">​al_lock_bitmap</​a>,​·​<a·​href="graphics.​html#al_lock_bitmap_r​egion">al_lock_bitmap​_region</​a>,​·​<a·​href="graphics.​html#al_unlock_bitmap​">al_unlock_bitmap</​a>,​·​<a·​href="graphics.​html#allegro_pixel_fo​rmat">ALLEGRO_PIXEL_F​ORMAT</​a></​p>391 <p>See·​also:​·​<a·​href="graphics.​html#al_lock_bitmap">​al_lock_bitmap</​a>,​·​<a·​href="graphics.​html#al_lock_bitmap_r​egion">al_lock_bitmap​_region</​a>,​·​<a·​href="graphics.​html#al_unlock_bitmap​">al_unlock_bitmap</​a>,​·​<a·​href="graphics.​html#allegro_pixel_fo​rmat">ALLEGRO_PIXEL_F​ORMAT</​a></​p>
394 <h2·​id="allegro_pixel_for​mat">ALLEGRO_PIXEL_FO​RMAT</​h2>392 <h2·​id="allegro_pixel_for​mat">ALLEGRO_PIXEL_FO​RMAT</​h2>
395 <div·​class="sourceCode"·​id="cb17"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb17-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_PIXEL_FORMAT<​/​a>393 <div·​class="sourceCode"·​id="cb17"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb17-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_PIXEL_FORMAT<​/​a></​code></​pre></​div>
396 <a·​class="sourceLine"·​id="cb17-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_PIXEL_FORMAT<​/​a></​code></​pre></​div> 
397 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​color.​h#L23">Source·​Code</​a></​p>394 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​color.​h#L23">Source·​Code</​a></​p>
398 <p>Pixel·​formats.​·​Each·​pixel·​format·​specifies·​the·​exact·​size·​and·​bit·​layout·​of·​a·​pixel·​in·​memory.​·​Components·​are·​specified·​from·​high·​bits·​to·​low·​bits,​·​so·​for·​example·​a·​fully·​opaque·​red·​pixel·​in·​ARGB_8888·​format·​is·​0xFFFF0000.​</​p>395 <p>Pixel·​formats.​·​Each·​pixel·​format·​specifies·​the·​exact·​size·​and·​bit·​layout·​of·​a·​pixel·​in·​memory.​·​Components·​are·​specified·​from·​high·​bits·​to·​low·​bits,​·​so·​for·​example·​a·​fully·​opaque·​red·​pixel·​in·​ARGB_8888·​format·​is·​0xFFFF0000.​</​p>
399 <blockquote>396 <blockquote>
400 <p><em>Note:​</​em></​p>397 <p><em>Note:​</​em></​p>
401 <p>The·​pixel·​format·​is·​independent·​of·​endianness.​·​That·​is,​·​in·​the·​above·​example·​you·​can·​always·​get·​the·​red·​component·​with</​p>398 <p>The·​pixel·​format·​is·​independent·​of·​endianness.​·​That·​is,​·​in·​the·​above·​example·​you·​can·​always·​get·​the·​red·​component·​with</​p>
402 <div·​class="sourceCode"·​id="cb18"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb18-​1"·​title="1">(pixel·​&amp;​·​<span·​class="bn">0x00ff0000​</​span>)​·​&gt;​&gt;​·​<span·​class="dv">16</​span></​a></​code></​pre></​div>399 <div·​class="sourceCode"·​id="cb18"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb18-​1"·​title="1">(pixel·​&amp;​·​<span·​class="bn">0x00ff0000​</​span>)​·​&gt;​&gt;​·​<span·​class="dv">16</​span></​a></​code></​pre></​div>
403 <p>But·​you·​can·​<em>not</​em>·​rely·​on·​this·​code:​</​p>400 <p>But·​you·​can·​<em>not</​em>·​rely·​on·​this·​code:​</​p>
Offset 517, 16 lines modifiedOffset 514, 15 lines modified
517 <a·​class="sourceLine"·​id="cb29-​2"·​title="2">···​<span·​class="dt">int</​span>·​x_block,​·​<span·​class="dt">int</​span>·​y_block,​·​<span·​class="dt">int</​span>·​width_block,​·​<span·​class="dt">int</​span>·​height_block,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div>514 <a·​class="sourceLine"·​id="cb29-​2"·​title="2">···​<span·​class="dt">int</​span>·​x_block,​·​<span·​class="dt">int</​span>·​y_block,​·​<span·​class="dt">int</​span>·​width_block,​·​<span·​class="dt">int</​span>·​height_block,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div>
518 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​bitmap_lock.​c#L189">Source·​Code</​a></​p>515 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​bitmap_lock.​c#L189">Source·​Code</​a></​p>
519 <p>Like·​<a·​href="graphics.​html#al_lock_bitmap_b​locked">al_lock_bitma​p_blocked</​a>,​·​but·​allows·​locking·​a·​sub-​region,​·​for·​performance.​·​Unlike·​<a·​href="graphics.​html#al_lock_bitmap_r​egion">al_lock_bitmap​_region</​a>·​the·​region·​specified·​in·​terms·​of·​blocks·​and·​not·​pixels.​</​p>516 <p>Like·​<a·​href="graphics.​html#al_lock_bitmap_b​locked">al_lock_bitma​p_blocked</​a>,​·​but·​allows·​locking·​a·​sub-​region,​·​for·​performance.​·​Unlike·​<a·​href="graphics.​html#al_lock_bitmap_r​egion">al_lock_bitmap​_region</​a>·​the·​region·​specified·​in·​terms·​of·​blocks·​and·​not·​pixels.​</​p>
520 <p>Since:​·​5.​1.​9</​p>517 <p>Since:​·​5.​1.​9</​p>
521 <p>See·​also:​·​<a·​href="graphics.​html#al_lock_bitmap_r​egion">al_lock_bitmap​_region</​a>,​·​<a·​href="graphics.​html#al_lock_bitmap_b​locked">al_lock_bitma​p_blocked</​a></​p>518 <p>See·​also:​·​<a·​href="graphics.​html#al_lock_bitmap_r​egion">al_lock_bitmap​_region</​a>,​·​<a·​href="graphics.​html#al_lock_bitmap_b​locked">al_lock_bitma​p_blocked</​a></​p>
522 <h1·​id="bitmap-​creation">Bitmap·​creation</​h1>519 <h1·​id="bitmap-​creation">Bitmap·​creation</​h1>
523 <h2·​id="allegro_bitmap">A​LLEGRO_BITMAP</​h2>520 <h2·​id="allegro_bitmap">A​LLEGRO_BITMAP</​h2>
524 <div·​class="sourceCode"·​id="cb30"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb30-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_BITMAP·​ALLEGRO_BITMAP;​</​a>521 <div·​class="sourceCode"·​id="cb30"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb30-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_BITMAP·​ALLEGRO_BITMAP;​</​a></​code></​pre></​div>
525 <a·​class="sourceLine"·​id="cb30-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_BITMAP·​ALLEGRO_BITMAP;​</​a></​code></​pre></​div> 
526 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​bitmap.​h#L12">Source·​Code</​a></​p>522 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​bitmap.​h#L12">Source·​Code</​a></​p>
527 <p>Abstract·​type·​representing·​a·​bitmap·​(2D·​image)​.​</​p>523 <p>Abstract·​type·​representing·​a·​bitmap·​(2D·​image)​.​</​p>
528 <h2·​id="al_create_bitmap"​>al_create_bitmap</​h2>524 <h2·​id="al_create_bitmap"​>al_create_bitmap</​h2>
529 <div·​class="sourceCode"·​id="cb31"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb31-​1"·​title="1">ALLEGRO_BIT​MAP·​*al_create_bitmap(<sp​an·​class="dt">int</​span>·​w,​·​<span·​class="dt">int</​span>·​h)​</​a></​code></​pre></​div>525 <div·​class="sourceCode"·​id="cb31"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb31-​1"·​title="1">ALLEGRO_BIT​MAP·​*al_create_bitmap(<sp​an·​class="dt">int</​span>·​w,​·​<span·​class="dt">int</​span>·​h)​</​a></​code></​pre></​div>
530 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​bitmap.​c#L183">Source·​Code</​a></​p>526 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​bitmap.​c#L183">Source·​Code</​a></​p>
531 <p>Creates·​a·​new·​bitmap·​using·​the·​bitmap·​format·​and·​flags·​for·​the·​current·​thread.​·​Blitting·​between·​bitmaps·​of·​differing·​formats,​·​or·​blitting·​between·​memory·​bitmaps·​and·​display·​bitmaps·​may·​be·​slow.​</​p>527 <p>Creates·​a·​new·​bitmap·​using·​the·​bitmap·​format·​and·​flags·​for·​the·​current·​thread.​·​Blitting·​between·​bitmaps·​of·​differing·​formats,​·​or·​blitting·​between·​memory·​bitmaps·​and·​display·​bitmaps·​may·​be·​slow.​</​p>
532 <p>Unless·​you·​set·​the·​ALLEGRO_MEMORY_BITMAP​·​flag,​·​the·​bitmap·​is·​created·​for·​the·​current·​display.​·​Blitting·​to·​another·​display·​may·​be·​slow.​</​p>528 <p>Unless·​you·​set·​the·​ALLEGRO_MEMORY_BITMAP​·​flag,​·​the·​bitmap·​is·​created·​for·​the·​current·​display.​·​Blitting·​to·​another·​display·​may·​be·​slow.​</​p>
Offset 1323, 16 lines modifiedOffset 1319, 15 lines modified
1323 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​bitmap_io.​c#L296">Source·​Code</​a></​p>1319 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​bitmap_io.​c#L296">Source·​Code</​a></​p>
1324 <p>Tries·​to·​guess·​the·​bitmap·​file·​type·​of·​the·​open·​ALLEGRO_FILE·​by·​reading·​the·​first·​few·​bytes.​·​By·​default·​Allegro·​cannot·​recognize·​any·​file·​types,​·​but·​calling·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a>·​will·​add·​detection·​of·​(some·​of)​·​the·​types·​it·​can·​read.​·​You·​can·​also·​use·​<a·​href="graphics.​html#al_register_bitm​ap_identifier">al_reg​ister_bitmap_identifi​er</​a>·​to·​add·​identification·​for·​custom·​file·​types.​</​p>1320 <p>Tries·​to·​guess·​the·​bitmap·​file·​type·​of·​the·​open·​ALLEGRO_FILE·​by·​reading·​the·​first·​few·​bytes.​·​By·​default·​Allegro·​cannot·​recognize·​any·​file·​types,​·​but·​calling·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a>·​will·​add·​detection·​of·​(some·​of)​·​the·​types·​it·​can·​read.​·​You·​can·​also·​use·​<a·​href="graphics.​html#al_register_bitm​ap_identifier">al_reg​ister_bitmap_identifi​er</​a>·​to·​add·​identification·​for·​custom·​file·​types.​</​p>
1325 <p>Returns·​a·​pointer·​to·​a·​static·​string·​with·​a·​file·​extension·​for·​the·​type,​·​including·​the·​leading·​dot.​·​For·​example·​“.​png”·​or·​“.​jpg”.​·​Returns·​NULL·​if·​the·​bitmap·​type·​cannot·​be·​determined.​</​p>1321 <p>Returns·​a·​pointer·​to·​a·​static·​string·​with·​a·​file·​extension·​for·​the·​type,​·​including·​the·​leading·​dot.​·​For·​example·​“.​png”·​or·​“.​jpg”.​·​Returns·​NULL·​if·​the·​bitmap·​type·​cannot·​be·​determined.​</​p>
1326 <p>Since:​·​5.​1.​12</​p>1322 <p>Since:​·​5.​1.​12</​p>
1327 <p>See·​also:​·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a>,​·​<a·​href="graphics.​html#al_identify_bitm​ap">al_identify_bitma​p</​a>,​·​<a·​href="graphics.​html#al_register_bitm​ap_identifier">al_reg​ister_bitmap_identifi​er</​a></​p>1323 <p>See·​also:​·​<a·​href="image.​html#al_init_image_ad​don">al_init_image_ad​don</​a>,​·​<a·​href="graphics.​html#al_identify_bitm​ap">al_identify_bitma​p</​a>,​·​<a·​href="graphics.​html#al_register_bitm​ap_identifier">al_reg​ister_bitmap_identifi​er</​a></​p>
1328 <h1·​id="render-​state">Render·​State</​h1>1324 <h1·​id="render-​state">Render·​State</​h1>
1329 <h2·​id="allegro_render_st​ate">ALLEGRO_RENDER_S​TATE</​h2>1325 <h2·​id="allegro_render_st​ate">ALLEGRO_RENDER_S​TATE</​h2>
1330 <div·​class="sourceCode"·​id="cb141"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb141-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_RENDER_STATE·​{</​a>1326 <div·​class="sourceCode"·​id="cb141"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb141-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_RENDER_STATE·​{</​a></​code></​pre></​div>
1331 <a·​class="sourceLine"·​id="cb141-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_RENDER_STATE·​{</​a></​code></​pre></​div> 
1332 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​render_state.​h#L12">Source·​Code</​a></​p>1327 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​render_state.​h#L12">Source·​Code</​a></​p>
1333 <p>Possible·​render·​states·​which·​can·​be·​set·​with·​<a·​href="graphics.​html#al_set_render_st​ate">al_set_render_st​ate</​a>:​</​p>1328 <p>Possible·​render·​states·​which·​can·​be·​set·​with·​<a·​href="graphics.​html#al_set_render_st​ate">al_set_render_st​ate</​a>:​</​p>
1334 <dl>1329 <dl>
1335 <dt>ALLEGRO_ALPHA_TES​T</​dt>1330 <dt>ALLEGRO_ALPHA_TES​T</​dt>
1336 <dd>If·​this·​is·​set·​to·​1,​·​the·​values·​of·​ALLEGRO_ALPHA_FUNCTIO​N·​and·​ALLEGRO_ALPHA_TEST_VA​LUE·​define·​a·​comparison·​function·​which·​is·​performed·​for·​each·​pixel.​·​Only·​if·​it·​evaluates·​to·​true·​the·​pixel·​is·​written.​·​Otherwise·​no·​subsequent·​processing·​(like·​depth·​test·​or·​blending)​·​is·​performed.​1331 <dd>If·​this·​is·​set·​to·​1,​·​the·​values·​of·​ALLEGRO_ALPHA_FUNCTIO​N·​and·​ALLEGRO_ALPHA_TEST_VA​LUE·​define·​a·​comparison·​function·​which·​is·​performed·​for·​each·​pixel.​·​Only·​if·​it·​evaluates·​to·​true·​the·​pixel·​is·​written.​·​Otherwise·​no·​subsequent·​processing·​(like·​depth·​test·​or·​blending)​·​is·​performed.​
1337 </​dd>1332 </​dd>
1338 <dt>ALLEGRO_ALPHA_FUN​CTION</​dt>1333 <dt>ALLEGRO_ALPHA_FUN​CTION</​dt>
Offset 1350, 16 lines modifiedOffset 1345, 15 lines modified
1350 <dt>ALLEGRO_DEPTH_FUN​CTION</​dt>1345 <dt>ALLEGRO_DEPTH_FUN​CTION</​dt>
1351 <dd>One·​of·​<a·​href="graphics.​html#allegro_render_f​unction">ALLEGRO_REND​ER_FUNCTION</​a>,​·​only·​used·​when·​ALLEGRO_DEPTH_TEST·​is·​1.​1346 <dd>One·​of·​<a·​href="graphics.​html#allegro_render_f​unction">ALLEGRO_REND​ER_FUNCTION</​a>,​·​only·​used·​when·​ALLEGRO_DEPTH_TEST·​is·​1.​
1352 </​dd>1347 </​dd>
1353 </​dl>1348 </​dl>
1354 <p>Since:​·​5.​1.​2</​p>1349 <p>Since:​·​5.​1.​2</​p>
1355 <p>See·​also:​·​<a·​href="graphics.​html#al_set_render_st​ate">al_set_render_st​ate</​a>,​·​<a·​href="graphics.​html#allegro_render_f​unction">ALLEGRO_REND​ER_FUNCTION</​a>,​·​<a·​href="graphics.​html#allegro_write_ma​sk_flags">ALLEGRO_WRI​TE_MASK_FLAGS</​a></​p>1350 <p>See·​also:​·​<a·​href="graphics.​html#al_set_render_st​ate">al_set_render_st​ate</​a>,​·​<a·​href="graphics.​html#allegro_render_f​unction">ALLEGRO_REND​ER_FUNCTION</​a>,​·​<a·​href="graphics.​html#allegro_write_ma​sk_flags">ALLEGRO_WRI​TE_MASK_FLAGS</​a></​p>
1356 <h2·​id="allegro_render_fu​nction">ALLEGRO_RENDE​R_FUNCTION</​h2>1351 <h2·​id="allegro_render_fu​nction">ALLEGRO_RENDE​R_FUNCTION</​h2>
1357 <div·​class="sourceCode"·​id="cb142"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb142-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_RENDER_FUNCTI​ON·​{</​a>1352 <div·​class="sourceCode"·​id="cb142"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb142-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_RENDER_FUNCTI​ON·​{</​a></​code></​pre></​div>
1358 <a·​class="sourceLine"·​id="cb142-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_RENDER_FUNCTI​ON·​{</​a></​code></​pre></​div> 
1359 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​render_state.​h#L26">Source·​Code</​a></​p>1353 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​render_state.​h#L26">Source·​Code</​a></​p>
1360 <p>Possible·​functions·​are:​</​p>1354 <p>Possible·​functions·​are:​</​p>
1361 <ul>1355 <ul>
1362 <li>ALLEGRO_RENDER_NE​VER</​li>1356 <li>ALLEGRO_RENDER_NE​VER</​li>
1363 <li>ALLEGRO_RENDER_AL​WAYS</​li>1357 <li>ALLEGRO_RENDER_AL​WAYS</​li>
1364 <li>ALLEGRO_RENDER_LE​SS</​li>1358 <li>ALLEGRO_RENDER_LE​SS</​li>
1365 <li>ALLEGRO_RENDER_EQ​UAL</​li>1359 <li>ALLEGRO_RENDER_EQ​UAL</​li>
Offset 1369, 16 lines modifiedOffset 1363, 15 lines modified
1369 </​li>1363 </​li>
1370 <li>ALLEGRO_RENDER_NO​T_EQUAL</​li>1364 <li>ALLEGRO_RENDER_NO​T_EQUAL</​li>
1371 <li>ALLEGRO_RENDER_GR​EATER_EQUAL</​li>1365 <li>ALLEGRO_RENDER_GR​EATER_EQUAL</​li>
1372 </​ul>1366 </​ul>
1373 <p>Since:​·​5.​1.​2</​p>1367 <p>Since:​·​5.​1.​2</​p>
1374 <p>See·​also:​·​<a·​href="graphics.​html#al_set_render_st​ate">al_set_render_st​ate</​a></​p>1368 <p>See·​also:​·​<a·​href="graphics.​html#al_set_render_st​ate">al_set_render_st​ate</​a></​p>
1375 <h2·​id="allegro_write_mas​k_flags">ALLEGRO_WRIT​E_MASK_FLAGS</​h2>1369 <h2·​id="allegro_write_mas​k_flags">ALLEGRO_WRIT​E_MASK_FLAGS</​h2>
1376 <div·​class="sourceCode"·​id="cb143"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb143-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_WRITE_MASK_FL​AGS·​{</​a>1370 <div·​class="sourceCode"·​id="cb143"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb143-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_WRITE_MASK_FL​AGS·​{</​a></​code></​pre></​div>
1377 <a·​class="sourceLine"·​id="cb143-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_WRITE_MASK_FL​AGS·​{</​a></​code></​pre></​div> 
1378 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​render_state.​h#L39">Source·​Code</​a></​p>1371 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​render_state.​h#L39">Source·​Code</​a></​p>
1379 <p>Each·​enabled·​bit·​means·​the·​corresponding·​value·​is·​written,​·​a·​disabled·​bit·​means·​it·​is·​not.​</​p>1372 <p>Each·​enabled·​bit·​means·​the·​corresponding·​value·​is·​written,​·​a·​disabled·​bit·​means·​it·​is·​not.​</​p>
1380 <ul>1373 <ul>
1381 <li>ALLEGRO_MASK_RED<​/​li>1374 <li>ALLEGRO_MASK_RED<​/​li>
1382 <li>ALLEGRO_MASK_GREE​N</​li>1375 <li>ALLEGRO_MASK_GREE​N</​li>
1383 <li>ALLEGRO_MASK_BLUE​</​li>1376 <li>ALLEGRO_MASK_BLUE​</​li>
1384 <li>ALLEGRO_MASK_ALPH​A</​li>1377 <li>ALLEGRO_MASK_ALPH​A</​li>
Offset 1412, 12 lines modifiedOffset 1405, 12 lines modified
1412 <p>Since:​·​5.​2.​1</​p>1405 <p>Since:​·​5.​2.​1</​p>
1413 <blockquote>1406 <blockquote>
1414 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​This·​API·​is·​new·​and·​subject·​to·​refinement.​</​p>1407 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​This·​API·​is·​new·​and·​subject·​to·​refinement.​</​p>
1415 </​blockquote>1408 </​blockquote>
1416 <p>See·​also:​·​<a·​href="graphics.​html#al_backup_dirty_​bitmap">al_backup_dir​ty_bitmap</​a></​p>1409 <p>See·​also:​·​<a·​href="graphics.​html#al_backup_dirty_​bitmap">al_backup_dir​ty_bitmap</​a></​p>
1417 <p·​class="timestamp">1410 <p·​class="timestamp">
1418 Allegro·​version·​5.​2.​41411 Allegro·​version·​5.​2.​4
1419 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC1412 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​39·​UTC
Max diff block lines reached; 26/15400 bytes (0.17%) of diff not shown.
7.45 KB
./usr/share/doc/allegro5-doc/refman/haptic.html
    
Offset 197, 26 lines modifiedOffset 197, 24 lines modified
197 <li><a·​href="#al_rumble_hapt​ic">al_rumble_haptic<​/​a></​li>197 <li><a·​href="#al_rumble_hapt​ic">al_rumble_haptic<​/​a></​li>
198 </​ul>198 </​ul>
199 </​nav>199 </​nav>
200 <p>Haptic·​functions·​support·​force·​feedback·​and·​vibration·​on·​input·​devices.​·​These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>200 <p>Haptic·​functions·​support·​force·​feedback·​and·​vibration·​on·​input·​devices.​·​These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
201 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>201 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
202 <p>Currently·​force·​feedback·​is·​fully·​supported·​on·​Linux·​and·​on·​Windows·​for·​DirectInput·​compatible·​devices.​·​There·​is·​also·​minimal·​support·​for·​Android.​·​It·​is·​not·​yet·​supported·​on·​OSX,​·​iOS,​·​or·​on·​Windows·​for·​XInput·​compatible·​devices.​</​p>202 <p>Currently·​force·​feedback·​is·​fully·​supported·​on·​Linux·​and·​on·​Windows·​for·​DirectInput·​compatible·​devices.​·​There·​is·​also·​minimal·​support·​for·​Android.​·​It·​is·​not·​yet·​supported·​on·​OSX,​·​iOS,​·​or·​on·​Windows·​for·​XInput·​compatible·​devices.​</​p>
203 <h1·​id="allegro_haptic">A​LLEGRO_HAPTIC</​h1>203 <h1·​id="allegro_haptic">A​LLEGRO_HAPTIC</​h1>
204 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC·​ALLEGRO_HAPTIC;​</​a>204 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC·​ALLEGRO_HAPTIC;​</​a></​code></​pre></​div>
205 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC·​ALLEGRO_HAPTIC;​</​a></​code></​pre></​div> 
206 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L64">Source·​Code</​a></​p>205 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L64">Source·​Code</​a></​p>
207 <p>This·​is·​an·​abstract·​data·​type·​representing·​a·​haptic·​device·​that·​supports·​force·​feedback·​or·​vibration.​</​p>206 <p>This·​is·​an·​abstract·​data·​type·​representing·​a·​haptic·​device·​that·​supports·​force·​feedback·​or·​vibration.​</​p>
208 <p>Since:​·​5.​1.​8</​p>207 <p>Since:​·​5.​1.​8</​p>
209 <blockquote>208 <blockquote>
210 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>209 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>
211 </​blockquote>210 </​blockquote>
212 <p>See·​also:​·​<a·​href="haptic.​html#al_get_haptic_fr​om_joystick">al_get_h​aptic_from_joystick</​a></​p>211 <p>See·​also:​·​<a·​href="haptic.​html#al_get_haptic_fr​om_joystick">al_get_h​aptic_from_joystick</​a></​p>
213 <h1·​id="allegro_haptic_co​nstants">ALLEGRO_HAPT​IC_CONSTANTS</​h1>212 <h1·​id="allegro_haptic_co​nstants">ALLEGRO_HAPT​IC_CONSTANTS</​h1>
214 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_HAPTIC_CONSTA​NTS</​a>213 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_HAPTIC_CONSTA​NTS</​a></​code></​pre></​div>
215 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_HAPTIC_CONSTA​NTS</​a></​code></​pre></​div> 
216 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L37">Source·​Code</​a></​p>214 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L37">Source·​Code</​a></​p>
217 <p>This·​enum·​contains·​flags·​that·​are·​used·​to·​define·​haptic·​effects·​and·​capabilities.​·​If·​the·​flag·​is·​set·​in·​the·​return·​value·​of·​<a·​href="haptic.​html#al_get_haptic_ca​pabilities">al_get_ha​ptic_capabilities</​a>,​·​it·​means·​the·​device·​supports·​the·​given·​effect.​·​The·​value·​of·​these·​flags·​should·​be·​set·​into·​a·​<a·​href="haptic.​html#allegro_haptic_e​ffect">ALLEGRO_HAPTIC​_EFFECT</​a>·​struct·​to·​determine·​what·​kind·​of·​haptic·​effect·​should·​be·​played.​</​p>215 <p>This·​enum·​contains·​flags·​that·​are·​used·​to·​define·​haptic·​effects·​and·​capabilities.​·​If·​the·​flag·​is·​set·​in·​the·​return·​value·​of·​<a·​href="haptic.​html#al_get_haptic_ca​pabilities">al_get_ha​ptic_capabilities</​a>,​·​it·​means·​the·​device·​supports·​the·​given·​effect.​·​The·​value·​of·​these·​flags·​should·​be·​set·​into·​a·​<a·​href="haptic.​html#allegro_haptic_e​ffect">ALLEGRO_HAPTIC​_EFFECT</​a>·​struct·​to·​determine·​what·​kind·​of·​haptic·​effect·​should·​be·​played.​</​p>
218 <ul>216 <ul>
219 <li>ALLEGRO_HAPTIC_RU​MBLE·​-​·​simple·​vibration·​effects</​li>217 <li>ALLEGRO_HAPTIC_RU​MBLE·​-​·​simple·​vibration·​effects</​li>
220 <li>ALLEGRO_HAPTIC_PE​RIODIC·​-​·​periodic,​·​wave-​form·​effects</​li>218 <li>ALLEGRO_HAPTIC_PE​RIODIC·​-​·​periodic,​·​wave-​form·​effects</​li>
221 <li>ALLEGRO_HAPTIC_CO​NSTANT·​-​·​constant·​effects</​li>219 <li>ALLEGRO_HAPTIC_CO​NSTANT·​-​·​constant·​effects</​li>
222 <li>ALLEGRO_HAPTIC_SP​RING·​-​·​spring·​effects</​li>220 <li>ALLEGRO_HAPTIC_SP​RING·​-​·​spring·​effects</​li>
Offset 238, 16 lines modifiedOffset 236, 15 lines modified
238 </​ul>236 </​ul>
239 <p>Since:​·​5.​1.​8</​p>237 <p>Since:​·​5.​1.​8</​p>
240 <blockquote>238 <blockquote>
241 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>239 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>
242 </​blockquote>240 </​blockquote>
243 <p>See·​also:​·​<a·​href="haptic.​html#al_get_haptic_ca​pabilities">al_get_ha​ptic_capabilities</​a>,​·​<a·​href="haptic.​html#allegro_haptic_e​ffect">ALLEGRO_HAPTIC​_EFFECT</​a></​p>241 <p>See·​also:​·​<a·​href="haptic.​html#al_get_haptic_ca​pabilities">al_get_ha​ptic_capabilities</​a>,​·​<a·​href="haptic.​html#allegro_haptic_e​ffect">ALLEGRO_HAPTIC​_EFFECT</​a></​p>
244 <h1·​id="allegro_haptic_ef​fect">ALLEGRO_HAPTIC_​EFFECT</​h1>242 <h1·​id="allegro_haptic_ef​fect">ALLEGRO_HAPTIC_​EFFECT</​h1>
245 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC_EFFECT​</​a>243 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC_EFFECT​</​a></​code></​pre></​div>
246 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC_EFFECT​</​a></​code></​pre></​div> 
247 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L169">Source·​Code</​a></​p>244 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L169">Source·​Code</​a></​p>
248 <p>This·​struct·​models·​a·​particular·​haptic·​or·​vibration·​effect.​·​It·​needs·​to·​be·​filled·​in·​correctly·​and·​uploaded·​to·​a·​haptic·​device·​before·​the·​device·​can·​play·​it·​back.​</​p>245 <p>This·​struct·​models·​a·​particular·​haptic·​or·​vibration·​effect.​·​It·​needs·​to·​be·​filled·​in·​correctly·​and·​uploaded·​to·​a·​haptic·​device·​before·​the·​device·​can·​play·​it·​back.​</​p>
249 <p><em>Fields:​</​em></​p>246 <p><em>Fields:​</​em></​p>
250 <dl>247 <dl>
251 <dt>type</​dt>248 <dt>type</​dt>
252 <dd><p>The·​type·​of·​the·​haptic·​effect.​·​May·​be·​one·​of·​the·​ALLEGRO_HAPTIC_CONSTA​NTS·​constants·​between·​or·​equal·​to·​ALLEGRO_HAPTIC_RUMBLE​·​and·​ALLEGRO_HAPTIC_RAMP.​</​p>249 <dd><p>The·​type·​of·​the·​haptic·​effect.​·​May·​be·​one·​of·​the·​ALLEGRO_HAPTIC_CONSTA​NTS·​constants·​between·​or·​equal·​to·​ALLEGRO_HAPTIC_RUMBLE​·​and·​ALLEGRO_HAPTIC_RAMP.​</​p>
253 <ul>250 <ul>
Offset 293, 16 lines modifiedOffset 290, 15 lines modified
293 </​dd>290 </​dd>
294 </​dl>291 </​dl>
295 <p>Since:​·​5.​1.​8</​p>292 <p>Since:​·​5.​1.​8</​p>
296 <blockquote>293 <blockquote>
297 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>294 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>
298 </​blockquote>295 </​blockquote>
299 <h1·​id="allegro_haptic_ef​fect_id">ALLEGRO_HAPT​IC_EFFECT_ID</​h1>296 <h1·​id="allegro_haptic_ef​fect_id">ALLEGRO_HAPT​IC_EFFECT_ID</​h1>
300 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC_EFFECT​_ID·​ALLEGRO_HAPTIC_EFFECT​_ID;​</​a>297 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC_EFFECT​_ID·​ALLEGRO_HAPTIC_EFFECT​_ID;​</​a></​code></​pre></​div>
301 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_HAPTIC_EFFECT​_ID·​ALLEGRO_HAPTIC_EFFECT​_ID;​</​a></​code></​pre></​div> 
302 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L183">Source·​Code</​a></​p>298 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​haptic.​h#L183">Source·​Code</​a></​p>
303 <p>This·​struct·​is·​used·​as·​a·​handle·​to·​control·​playback·​of·​a·​haptic·​effect·​and·​should·​be·​considered·​opaque.​·​Its·​implementation·​is·​visible·​merely·​to·​allow·​allocation·​by·​the·​users·​of·​the·​Allegro·​library.​</​p>299 <p>This·​struct·​is·​used·​as·​a·​handle·​to·​control·​playback·​of·​a·​haptic·​effect·​and·​should·​be·​considered·​opaque.​·​Its·​implementation·​is·​visible·​merely·​to·​allow·​allocation·​by·​the·​users·​of·​the·​Allegro·​library.​</​p>
304 <p>Since:​·​5.​1.​8</​p>300 <p>Since:​·​5.​1.​8</​p>
305 <blockquote>301 <blockquote>
306 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>302 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>
307 </​blockquote>303 </​blockquote>
308 <h1·​id="al_install_haptic​">al_install_haptic</​h1>304 <h1·​id="al_install_haptic​">al_install_haptic</​h1>
Offset 569, 12 lines modifiedOffset 565, 12 lines modified
569 <p>In·​case·​false·​is·​returned,​·​the·​rumble·​effect·​will·​be·​automatically·​released·​as·​if·​<a·​href="haptic.​html#al_release_hapti​c_effect">al_release_​haptic_effect</​a>·​had·​been·​called,​·​so·​there·​is·​no·​need·​to·​call·​it·​again·​manually·​in·​this·​case.​·​However,​·​if·​true·​is·​returned,​·​it·​is·​necessary·​to·​call·​<a·​href="haptic.​html#al_release_hapti​c_effect">al_release_​haptic_effect</​a>·​when·​the·​effect·​isn’t·​needed·​anymore,​·​to·​prevent·​the·​amount·​of·​available·​effects·​on·​the·​haptic·​device·​from·​running·​out.​</​p>565 <p>In·​case·​false·​is·​returned,​·​the·​rumble·​effect·​will·​be·​automatically·​released·​as·​if·​<a·​href="haptic.​html#al_release_hapti​c_effect">al_release_​haptic_effect</​a>·​had·​been·​called,​·​so·​there·​is·​no·​need·​to·​call·​it·​again·​manually·​in·​this·​case.​·​However,​·​if·​true·​is·​returned,​·​it·​is·​necessary·​to·​call·​<a·​href="haptic.​html#al_release_hapti​c_effect">al_release_​haptic_effect</​a>·​when·​the·​effect·​isn’t·​needed·​anymore,​·​to·​prevent·​the·​amount·​of·​available·​effects·​on·​the·​haptic·​device·​from·​running·​out.​</​p>
570 <p>Since:​·​5.​1.​8</​p>566 <p>Since:​·​5.​1.​8</​p>
571 <blockquote>567 <blockquote>
572 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>568 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Perhaps·​could·​be·​simplified·​due·​to·​limited·​support·​for·​all·​the·​exposed·​features·​across·​all·​of·​the·​platforms.​·​Awaiting·​feedback·​from·​users.​</​p>
573 </​blockquote>569 </​blockquote>
574 <p·​class="timestamp">570 <p·​class="timestamp">
575 Allegro·​version·​5.​2.​4571 Allegro·​version·​5.​2.​4
576 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC572 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​39·​UTC
577 </​p>573 </​p>
578 </​div>574 </​div>
579 </​body>575 </​body>
580 </​html>576 </​html>
4.05 KB
./usr/share/doc/allegro5-doc/refman/image.html
    
Offset 165, 30 lines modifiedOffset 165, 28 lines modified
165 <li><a·​href="#al_get_allegro​_image_version">al_ge​t_allegro_image_versi​on</​a></​li>165 <li><a·​href="#al_get_allegro​_image_version">al_ge​t_allegro_image_versi​on</​a></​li>
166 </​ul>166 </​ul>
167 </​nav>167 </​nav>
168 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_image.​</​p>168 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_image.​</​p>
169 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_image.​h&gt;​</​span></​a></​code></​pre></​div>169 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_image.​h&gt;​</​span></​a></​code></​pre></​div>
170 <p>Some·​of·​the·​format·​handlers·​define·​configuration·​options·​for·​specifying·​things·​like·​compression·​level·​or·​gamma·​handling.​·​Refer·​to·​<a·​href="system.​html#al_get_system_co​nfig">al_get_system_c​onfig</​a>·​for·​their·​documentation.​</​p>170 <p>Some·​of·​the·​format·​handlers·​define·​configuration·​options·​for·​specifying·​things·​like·​compression·​level·​or·​gamma·​handling.​·​Refer·​to·​<a·​href="system.​html#al_get_system_co​nfig">al_get_system_c​onfig</​a>·​for·​their·​documentation.​</​p>
171 <h1·​id="al_init_image_add​on">al_init_image_add​on</​h1>171 <h1·​id="al_init_image_add​on">al_init_image_add​on</​h1>
172 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_image_addon(<​span·​class="dt">void</​span>)​</​a>172 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_image_addon(<​span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
173 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="dt">bool</​span>·​al_init_image_addon(<​span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
174 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​image/​iio.​c#L14">Source·​Code</​a></​p>173 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​image/​iio.​c#L14">Source·​Code</​a></​p>
175 <p>Initializes·​the·​image·​addon.​·​This·​registers·​bitmap·​format·​handlers·​for·​<a·​href="graphics.​html#al_load_bitmap">​al_load_bitmap</​a>,​·​<a·​href="graphics.​html#al_load_bitmap_f​">al_load_bitmap_f</​a>,​·​<a·​href="graphics.​html#al_save_bitmap">​al_save_bitmap</​a>,​·​<a·​href="graphics.​html#al_save_bitmap_f​">al_save_bitmap_f</​a>.​</​p>174 <p>Initializes·​the·​image·​addon.​·​This·​registers·​bitmap·​format·​handlers·​for·​<a·​href="graphics.​html#al_load_bitmap">​al_load_bitmap</​a>,​·​<a·​href="graphics.​html#al_load_bitmap_f​">al_load_bitmap_f</​a>,​·​<a·​href="graphics.​html#al_save_bitmap">​al_save_bitmap</​a>,​·​<a·​href="graphics.​html#al_save_bitmap_f​">al_save_bitmap_f</​a>.​</​p>
176 <p>The·​following·​types·​are·​built·​into·​the·​Allegro·​image·​addon·​and·​guaranteed·​to·​be·​available:​·​BMP,​·​DDS,​·​PCX,​·​TGA.​·​Every·​platform·​also·​supports·​JPEG·​and·​PNG·​via·​external·​dependencies.​</​p>175 <p>The·​following·​types·​are·​built·​into·​the·​Allegro·​image·​addon·​and·​guaranteed·​to·​be·​available:​·​BMP,​·​DDS,​·​PCX,​·​TGA.​·​Every·​platform·​also·​supports·​JPEG·​and·​PNG·​via·​external·​dependencies.​</​p>
177 <p>Other·​formats·​may·​be·​available·​depending·​on·​the·​operating·​system·​and·​installed·​libraries,​·​but·​are·​not·​guaranteed·​and·​should·​not·​be·​assumed·​to·​be·​universally·​available.​</​p>176 <p>Other·​formats·​may·​be·​available·​depending·​on·​the·​operating·​system·​and·​installed·​libraries,​·​but·​are·​not·​guaranteed·​and·​should·​not·​be·​assumed·​to·​be·​universally·​available.​</​p>
178 <p>The·​DDS·​format·​is·​only·​supported·​to·​load·​from,​·​and·​only·​if·​the·​DDS·​file·​contains·​textures·​compressed·​in·​the·​DXT1,​·​DXT3·​and·​DXT5·​formats.​·​Note·​that·​when·​loading·​a·​DDS·​file,​·​the·​created·​bitmap·​will·​always·​be·​a·​video·​bitmap·​and·​will·​have·​the·​pixel·​format·​matching·​the·​format·​in·​the·​file.​</​p>177 <p>The·​DDS·​format·​is·​only·​supported·​to·​load·​from,​·​and·​only·​if·​the·​DDS·​file·​contains·​textures·​compressed·​in·​the·​DXT1,​·​DXT3·​and·​DXT5·​formats.​·​Note·​that·​when·​loading·​a·​DDS·​file,​·​the·​created·​bitmap·​will·​always·​be·​a·​video·​bitmap·​and·​will·​have·​the·​pixel·​format·​matching·​the·​format·​in·​the·​file.​</​p>
179 <h1·​id="al_shutdown_image​_addon">al_shutdown_i​mage_addon</​h1>178 <h1·​id="al_shutdown_image​_addon">al_shutdown_i​mage_addon</​h1>
180 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_image_add​on(<span·​class="dt">void</​span>)​</​a>179 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_image_add​on(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
181 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="dt">void</​span>·​al_shutdown_image_add​on(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
182 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​image/​iio.​c#L150">Source·​Code</​a></​p>180 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​image/​iio.​c#L150">Source·​Code</​a></​p>
183 <p>Shut·​down·​the·​image·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>181 <p>Shut·​down·​the·​image·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>
184 <h1·​id="al_get_allegro_im​age_version">al_get_a​llegro_image_version<​/​h1>182 <h1·​id="al_get_allegro_im​age_version">al_get_a​llegro_image_version<​/​h1>
185 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_image_​version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>183 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_image_​version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
186 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​image/​iio.​c#L158">Source·​Code</​a></​p>184 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​image/​iio.​c#L158">Source·​Code</​a></​p>
187 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>185 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
188 <p·​class="timestamp">186 <p·​class="timestamp">
189 Allegro·​version·​5.​2.​4187 Allegro·​version·​5.​2.​4
190 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC188 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​45·​UTC
191 </​p>189 </​p>
192 </​div>190 </​div>
193 </​body>191 </​body>
194 </​html>192 </​html>
513 B
./usr/share/doc/allegro5-doc/refman/index.html
    
Offset 150, 12 lines modifiedOffset 150, 12 lines modified
150 <li><a·​href="native_dialog.​html">Native·​dialogs·​addon</​a></​li>150 <li><a·​href="native_dialog.​html">Native·​dialogs·​addon</​a></​li>
151 <li><a·​href="physfs.​html">PhysicsFS·​addon</​a></​li>151 <li><a·​href="physfs.​html">PhysicsFS·​addon</​a></​li>
152 <li><a·​href="primitives.​html">Primitives·​addon</​a></​li>152 <li><a·​href="primitives.​html">Primitives·​addon</​a></​li>
153 <li><a·​href="video.​html">Video·​streaming·​addon</​a></​li>153 <li><a·​href="video.​html">Video·​streaming·​addon</​a></​li>
154 </​ul>154 </​ul>
155 <p·​class="timestamp">155 <p·​class="timestamp">
156 Allegro·​version·​5.​2.​4156 Allegro·​version·​5.​2.​4
157 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC157 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​47·​UTC
158 </​p>158 </​p>
159 </​div>159 </​div>
160 </​body>160 </​body>
161 </​html>161 </​html>
653 B
./usr/share/doc/allegro5-doc/refman/index_all.html
    
Offset 1264, 12 lines modifiedOffset 1264, 12 lines modified
1264 <li><a·​href="platform.​html#al_win_add_windo​w_callback">al_win_ad​d_window_callback</​a>·​<!-​-​·​-​-​></​li>1264 <li><a·​href="platform.​html#al_win_add_windo​w_callback">al_win_ad​d_window_callback</​a>·​<!-​-​·​-​-​></​li>
1265 <li><a·​href="platform.​html#al_win_remove_wi​ndow_callback">al_win​_remove_window_callba​ck</​a>·​<!-​-​·​-​-​></​li>1265 <li><a·​href="platform.​html#al_win_remove_wi​ndow_callback">al_win​_remove_window_callba​ck</​a>·​<!-​-​·​-​-​></​li>
1266 <li><a·​href="platform.​html#al_x_set_initial​_icon">al_x_set_initi​al_icon</​a>·​<!-​-​·​-​-​></​li>1266 <li><a·​href="platform.​html#al_x_set_initial​_icon">al_x_set_initi​al_icon</​a>·​<!-​-​·​-​-​></​li>
1267 <li><a·​href="platform.​html#iphone">iPhone</​a>·​<!-​-​·​-​-​></​li>1267 <li><a·​href="platform.​html#iphone">iPhone</​a>·​<!-​-​·​-​-​></​li>
1268 </​ul>1268 </​ul>
1269 <p·​class="timestamp">1269 <p·​class="timestamp">
1270 Allegro·​version·​5.​2.​41270 Allegro·​version·​5.​2.​4
1271 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC1271 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​48·​UTC
1272 </​p>1272 </​p>
1273 </​div>1273 </​div>
1274 </​body>1274 </​body>
1275 </​html>1275 </​html>
5.58 KB
./usr/share/doc/allegro5-doc/refman/joystick.html
    
Offset 183, 32 lines modifiedOffset 183, 29 lines modified
183 <li><a·​href="#al_get_joystic​k_event_source">al_ge​t_joystick_event_sour​ce</​a></​li>183 <li><a·​href="#al_get_joystic​k_event_source">al_ge​t_joystick_event_sour​ce</​a></​li>
184 </​ul>184 </​ul>
185 </​nav>185 </​nav>
186 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>186 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
187 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>187 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
188 <p>On·​Windows·​there·​are·​two·​joystick·​drivers,​·​a·​DirectInput·​one·​and·​an·​Xinput·​one.​·​If·​support·​for·​XInput·​was·​compiled·​in,​·​then·​it·​can·​be·​enabled·​by·​calling·​al_set_config_value(a​l_get_system_config()​,​·​“joystick”,​·​“driver”,​·​“xinput”)​·​before·​calling·​al_install_joystick,​·​or·​by·​setting·​the·​same·​option·​in·​the·​allegro5.​cfg·​configuration·​file.​·​The·​Xinput·​and·​DirectInput·​drivers·​are·​mutually·​exclusive.​·​The·​haptics·​subsystem·​will·​use·​the·​same·​driver·​as·​the·​joystick·​system·​does.​</​p>188 <p>On·​Windows·​there·​are·​two·​joystick·​drivers,​·​a·​DirectInput·​one·​and·​an·​Xinput·​one.​·​If·​support·​for·​XInput·​was·​compiled·​in,​·​then·​it·​can·​be·​enabled·​by·​calling·​al_set_config_value(a​l_get_system_config()​,​·​“joystick”,​·​“driver”,​·​“xinput”)​·​before·​calling·​al_install_joystick,​·​or·​by·​setting·​the·​same·​option·​in·​the·​allegro5.​cfg·​configuration·​file.​·​The·​Xinput·​and·​DirectInput·​drivers·​are·​mutually·​exclusive.​·​The·​haptics·​subsystem·​will·​use·​the·​same·​driver·​as·​the·​joystick·​system·​does.​</​p>
189 <h1·​id="allegro_joystick"​>ALLEGRO_JOYSTICK</​h1>189 <h1·​id="allegro_joystick"​>ALLEGRO_JOYSTICK</​h1>
190 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_JOYSTICK·​ALLEGRO_JOYSTICK;​</​a>190 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_JOYSTICK·​ALLEGRO_JOYSTICK;​</​a></​code></​pre></​div>
191 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_JOYSTICK·​ALLEGRO_JOYSTICK;​</​a></​code></​pre></​div> 
192 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​joystick.​h#L35">Source·​Code</​a></​p>191 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​joystick.​h#L35">Source·​Code</​a></​p>
193 <p>This·​is·​an·​abstract·​data·​type·​representing·​a·​physical·​joystick.​</​p>192 <p>This·​is·​an·​abstract·​data·​type·​representing·​a·​physical·​joystick.​</​p>
194 <p>See·​also:​·​<a·​href="joystick.​html#al_get_joystick"​>al_get_joystick</​a></​p>193 <p>See·​also:​·​<a·​href="joystick.​html#al_get_joystick"​>al_get_joystick</​a></​p>
195 <h1·​id="allegro_joystick_​state">ALLEGRO_JOYSTI​CK_STATE</​h1>194 <h1·​id="allegro_joystick_​state">ALLEGRO_JOYSTI​CK_STATE</​h1>
196 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_JOYSTICK_STAT​E·​ALLEGRO_JOYSTICK_STAT​E;​</​a>195 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_JOYSTICK_STAT​E·​ALLEGRO_JOYSTICK_STAT​E;​</​a></​code></​pre></​div>
197 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_JOYSTICK_STAT​E·​ALLEGRO_JOYSTICK_STAT​E;​</​a></​code></​pre></​div> 
198 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​joystick.​h#L41">Source·​Code</​a></​p>196 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​joystick.​h#L41">Source·​Code</​a></​p>
199 <p>This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​“snapshot”·​of·​a·​joystick’s·​axes·​and·​buttons·​at·​a·​particular·​instant.​·​All·​fields·​public·​and·​read-​only.​</​p>197 <p>This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​“snapshot”·​of·​a·​joystick’s·​axes·​and·​buttons·​at·​a·​particular·​instant.​·​All·​fields·​public·​and·​read-​only.​</​p>
200 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">struct</​span>·​{</​a>198 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">struct</​span>·​{</​a>
201 <a·​class="sourceLine"·​id="cb4-​2"·​title="2">···​<span·​class="dt">float</​span>·​axis[num_axes];​·············​<span·​class="co">/​/​·​-​1.​0·​to·​1.​0</​span></​a>199 <a·​class="sourceLine"·​id="cb4-​2"·​title="2">···​<span·​class="dt">float</​span>·​axis[num_axes];​·············​<span·​class="co">/​/​·​-​1.​0·​to·​1.​0</​span></​a>
202 <a·​class="sourceLine"·​id="cb4-​3"·​title="3">}·​stick[num_sticks];​</​a>200 <a·​class="sourceLine"·​id="cb4-​3"·​title="3">}·​stick[num_sticks];​</​a>
203 <a·​class="sourceLine"·​id="cb4-​4"·​title="4"><span·​class="dt">int</​span>·​button[num_buttons];​·············​<span·​class="co">/​/​·​0·​to·​32767</​span></​a></​code></​pre></​div>201 <a·​class="sourceLine"·​id="cb4-​4"·​title="4"><span·​class="dt">int</​span>·​button[num_buttons];​·············​<span·​class="co">/​/​·​0·​to·​32767</​span></​a></​code></​pre></​div>
204 <p>See·​also:​·​<a·​href="joystick.​html#al_get_joystick_​state">al_get_joystic​k_state</​a></​p>202 <p>See·​also:​·​<a·​href="joystick.​html#al_get_joystick_​state">al_get_joystic​k_state</​a></​p>
205 <h1·​id="allegro_joyflags"​>ALLEGRO_JOYFLAGS</​h1>203 <h1·​id="allegro_joyflags"​>ALLEGRO_JOYFLAGS</​h1>
206 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_JOYFLAGS</​a>204 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_JOYFLAGS</​a></​code></​pre></​div>
207 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_JOYFLAGS</​a></​code></​pre></​div> 
208 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​joystick.​h#L54">Source·​Code</​a></​p>205 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​joystick.​h#L54">Source·​Code</​a></​p>
209 <ul>206 <ul>
210 <li>ALLEGRO_JOYFLAG_D​IGITAL·​-​·​the·​stick·​provides·​digital·​input</​li>207 <li>ALLEGRO_JOYFLAG_D​IGITAL·​-​·​the·​stick·​provides·​digital·​input</​li>
211 <li>ALLEGRO_JOYFLAG_A​NALOGUE·​-​·​the·​stick·​provides·​analogue·​input</​li>208 <li>ALLEGRO_JOYFLAG_A​NALOGUE·​-​·​the·​stick·​provides·​analogue·​input</​li>
212 </​ul>209 </​ul>
213 <p>(this·​enum·​is·​a·​holdover·​from·​the·​old·​API·​and·​may·​be·​removed)​</​p>210 <p>(this·​enum·​is·​a·​holdover·​from·​the·​old·​API·​and·​may·​be·​removed)​</​p>
214 <p>See·​also:​·​<a·​href="joystick.​html#al_get_joystick_​stick_flags">al_get_j​oystick_stick_flags</​a></​p>211 <p>See·​also:​·​<a·​href="joystick.​html#al_get_joystick_​stick_flags">al_get_j​oystick_stick_flags</​a></​p>
Offset 303, 11 lines modifiedOffset 300, 14 lines modified
303 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​joynu.​c#L294">Source·​Code</​a></​p>300 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​joynu.​c#L294">Source·​Code</​a></​p>
304 <p>Get·​the·​current·​joystick·​state.​</​p>301 <p>Get·​the·​current·​joystick·​state.​</​p>
305 <p>See·​also:​·​<a·​href="joystick.​html#allegro_joystick​_state">ALLEGRO_JOYST​ICK_STATE</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_buttons">al_get_j​oystick_num_buttons</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_axes">al_get_joys​tick_num_axes</​a></​p>302 <p>See·​also:​·​<a·​href="joystick.​html#allegro_joystick​_state">ALLEGRO_JOYST​ICK_STATE</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_buttons">al_get_j​oystick_num_buttons</​a>,​·​<a·​href="joystick.​html#al_get_joystick_​num_axes">al_get_joys​tick_num_axes</​a></​p>
306 <h1·​id="al_get_joystick_e​vent_source">al_get_j​oystick_event_source<​/​h1>303 <h1·​id="al_get_joystick_e​vent_source">al_get_j​oystick_event_source<​/​h1>
307 <div·​class="sourceCode"·​id="cb23"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb23-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_joystick_even​t_source(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>304 <div·​class="sourceCode"·​id="cb23"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb23-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_joystick_even​t_source(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
308 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​joynu.​c#L114">Source·​Code</​a></​p>305 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​joynu.​c#L114">Source·​Code</​a></​p>
309 <p>Returns·​the·​global·​joystick·​event·​source.​·​All·​<a·​href="events.​html#allegro_event_jo​ystick_axis">joystick​·​events</​a>·​are·​generated·​by·​this·​event·​source.​</​p>306 <p>Returns·​the·​global·​joystick·​event·​source.​·​All·​<a·​href="events.​html#allegro_event_jo​ystick_axis">joystick​·​events</​a>·​are·​generated·​by·​this·​event·​source.​</​p>
 307 <p·​class="timestamp">
 308 Allegro·​version·​5.​2.​4
 309 ·​-​·​Last·​updated:​·​2020-​04-​29·​17:​01:​39·​UTC
 310 </​p>
310 </​div>311 </​div>
311 </​body>312 </​body>
312 </​html>313 </​html>
2.68 KB
./usr/share/doc/allegro5-doc/refman/keyboard.html
    
Offset 173, 16 lines modifiedOffset 173, 15 lines modified
173 <li><a·​href="#al_set_keyboar​d_leds">al_set_keyboa​rd_leds</​a></​li>173 <li><a·​href="#al_set_keyboar​d_leds">al_set_keyboa​rd_leds</​a></​li>
174 <li><a·​href="#al_get_keyboar​d_event_source">al_ge​t_keyboard_event_sour​ce</​a></​li>174 <li><a·​href="#al_get_keyboar​d_event_source">al_ge​t_keyboard_event_sour​ce</​a></​li>
175 </​ul>175 </​ul>
176 </​nav>176 </​nav>
177 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>177 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
178 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>178 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
179 <h1·​id="allegro_keyboard_​state">ALLEGRO_KEYBOA​RD_STATE</​h1>179 <h1·​id="allegro_keyboard_​state">ALLEGRO_KEYBOA​RD_STATE</​h1>
180 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_KEYBOARD_STAT​E·​ALLEGRO_KEYBOARD_STAT​E;​</​a>180 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_KEYBOARD_STAT​E·​ALLEGRO_KEYBOARD_STAT​E;​</​a></​code></​pre></​div>
181 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_KEYBOARD_STAT​E·​ALLEGRO_KEYBOARD_STAT​E;​</​a></​code></​pre></​div> 
182 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​keyboard.​h#L33">Source·​Code</​a></​p>181 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​keyboard.​h#L33">Source·​Code</​a></​p>
183 <p>This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​“snapshot”·​of·​a·​keyboard’s·​state·​at·​a·​particular·​instant.​·​It·​contains·​the·​following·​publically·​readable·​fields:​</​p>182 <p>This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​“snapshot”·​of·​a·​keyboard’s·​state·​at·​a·​particular·​instant.​·​It·​contains·​the·​following·​publically·​readable·​fields:​</​p>
184 <ul>183 <ul>
185 <li>display·​-​·​points·​to·​the·​display·​that·​had·​keyboard·​focus·​at·​the·​time·​the·​state·​was·​saved.​·​If·​no·​display·​was·​focused,​·​this·​points·​to·​NULL.​</​li>184 <li>display·​-​·​points·​to·​the·​display·​that·​had·​keyboard·​focus·​at·​the·​time·​the·​state·​was·​saved.​·​If·​no·​display·​was·​focused,​·​this·​points·​to·​NULL.​</​li>
186 </​ul>185 </​ul>
187 <p>You·​cannot·​read·​the·​state·​of·​keys·​directly.​·​Use·​the·​function·​<a·​href="keyboard.​html#al_key_down">al_​key_down</​a>.​</​p>186 <p>You·​cannot·​read·​the·​state·​of·​keys·​directly.​·​Use·​the·​function·​<a·​href="keyboard.​html#al_key_down">al_​key_down</​a>.​</​p>
188 <h1·​id="key-​codes">Key·​codes</​h1>187 <h1·​id="key-​codes">Key·​codes</​h1>
Offset 342, 12 lines modifiedOffset 341, 12 lines modified
342 <h1·​id="al_get_keyboard_e​vent_source">al_get_k​eyboard_event_source<​/​h1>341 <h1·​id="al_get_keyboard_e​vent_source">al_get_k​eyboard_event_source<​/​h1>
343 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_keyboard_even​t_source(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>342 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_keyboard_even​t_source(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
344 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​keybdnu.​c#L293">Source·​Code</​a></​p>343 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​keybdnu.​c#L293">Source·​Code</​a></​p>
345 <p>Retrieve·​the·​keyboard·​event·​source.​·​All·​<a·​href="events.​html#allegro_event_ke​y_down">keyboard·​events</​a>·​are·​generated·​by·​this·​event·​source.​</​p>344 <p>Retrieve·​the·​keyboard·​event·​source.​·​All·​<a·​href="events.​html#allegro_event_ke​y_down">keyboard·​events</​a>·​are·​generated·​by·​this·​event·​source.​</​p>
346 <p>Returns·​NULL·​if·​the·​keyboard·​subsystem·​was·​not·​installed.​</​p>345 <p>Returns·​NULL·​if·​the·​keyboard·​subsystem·​was·​not·​installed.​</​p>
347 <p·​class="timestamp">346 <p·​class="timestamp">
348 Allegro·​version·​5.​2.​4347 Allegro·​version·​5.​2.​4
349 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC348 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​40·​UTC
350 </​p>349 </​p>
351 </​div>350 </​div>
352 </​body>351 </​body>
353 </​html>352 </​html>
1.33 KB
./usr/share/doc/allegro5-doc/refman/main.html
    
Offset 162, 12 lines modifiedOffset 162, 12 lines modified
162 <p>On·​platforms·​that·​require·​this·​functionality·​(e.​g.​ OSX)​·​this·​addon·​contains·​a·​C·​<code>main</​code>·​function·​that·​invokes·​<a·​href="misc.​html#al_run_main">al_​run_main</​a>·​with·​the·​user’s·​own·​<code>main</​code>·​function,​·​where·​the·​user’s·​<code>main</​code>·​function·​has·​had·​its·​name·​mangled·​to·​something·​else.​·​The·​file·​that·​defines·​the·​user·​<code>main</​code>·​function·​must·​include·​the·​header·​file·​<code>allegro5/​allegro.​h</​code>;​·​that·​header·​performs·​the·​name·​mangling·​using·​some·​macros.​</​p>162 <p>On·​platforms·​that·​require·​this·​functionality·​(e.​g.​ OSX)​·​this·​addon·​contains·​a·​C·​<code>main</​code>·​function·​that·​invokes·​<a·​href="misc.​html#al_run_main">al_​run_main</​a>·​with·​the·​user’s·​own·​<code>main</​code>·​function,​·​where·​the·​user’s·​<code>main</​code>·​function·​has·​had·​its·​name·​mangled·​to·​something·​else.​·​The·​file·​that·​defines·​the·​user·​<code>main</​code>·​function·​must·​include·​the·​header·​file·​<code>allegro5/​allegro.​h</​code>;​·​that·​header·​performs·​the·​name·​mangling·​using·​some·​macros.​</​p>
163 <p>If·​the·​user·​<code>main</​code>·​function·​is·​defined·​in·​C++,​·​then·​it·​must·​have·​the·​following·​signature·​for·​this·​addon·​to·​work:​</​p>163 <p>If·​the·​user·​<code>main</​code>·​function·​is·​defined·​in·​C++,​·​then·​it·​must·​have·​the·​following·​signature·​for·​this·​addon·​to·​work:​</​p>
164 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1"><span·​class="dt">int</​span>·​main(<span·​class="dt">int</​span>·​argc,​·​<span·​class="dt">char</​span>·​**argv)​</​a></​code></​pre></​div>164 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1"><span·​class="dt">int</​span>·​main(<span·​class="dt">int</​span>·​argc,​·​<span·​class="dt">char</​span>·​**argv)​</​a></​code></​pre></​div>
165 <p>This·​addon·​does·​nothing·​on·​platforms·​that·​don’t·​require·​its·​functionality,​·​but·​you·​should·​keep·​it·​in·​mind·​in·​case·​you·​need·​to·​port·​to·​platforms·​that·​do·​require·​it.​</​p>165 <p>This·​addon·​does·​nothing·​on·​platforms·​that·​don’t·​require·​its·​functionality,​·​but·​you·​should·​keep·​it·​in·​mind·​in·​case·​you·​need·​to·​port·​to·​platforms·​that·​do·​require·​it.​</​p>
166 <p>Link·​with·​allegro_main.​</​p>166 <p>Link·​with·​allegro_main.​</​p>
167 <p·​class="timestamp">167 <p·​class="timestamp">
168 Allegro·​version·​5.​2.​4168 Allegro·​version·​5.​2.​4
169 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC169 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​45·​UTC
170 </​p>170 </​p>
171 </​div>171 </​div>
172 </​body>172 </​body>
173 </​html>173 </​html>
3.4 KB
./usr/share/doc/allegro5-doc/refman/memfile.html
    
Offset 164, 25 lines modifiedOffset 164, 23 lines modified
164 <li><a·​href="#al_get_allegro​_memfile_version">al_​get_allegro_memfile_v​ersion</​a></​li>164 <li><a·​href="#al_get_allegro​_memfile_version">al_​get_allegro_memfile_v​ersion</​a></​li>
165 </​ul>165 </​ul>
166 </​nav>166 </​nav>
167 <p>The·​memfile·​interface·​allows·​you·​to·​treat·​a·​fixed·​block·​of·​contiguous·​memory·​as·​a·​file·​that·​can·​be·​used·​with·​Allegro’s·​I/​O·​functions.​</​p>167 <p>The·​memfile·​interface·​allows·​you·​to·​treat·​a·​fixed·​block·​of·​contiguous·​memory·​as·​a·​file·​that·​can·​be·​used·​with·​Allegro’s·​I/​O·​functions.​</​p>
168 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_memfile.​</​p>168 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_memfile.​</​p>
169 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_memfile.​h&gt;​</​span></​a></​code></​pre></​div>169 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_memfile.​h&gt;​</​span></​a></​code></​pre></​div>
170 <h1·​id="al_open_memfile">​al_open_memfile</​h1>170 <h1·​id="al_open_memfile">​al_open_memfile</​h1>
171 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1">ALLEGRO_FIL​E·​*al_open_memfile(<spa​n·​class="dt">void</​span>·​*mem,​·​<span·​class="dt">int64_t</​span>·​size,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*mode)​</​a>171 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1">ALLEGRO_FIL​E·​*al_open_memfile(<spa​n·​class="dt">void</​span>·​*mem,​·​<span·​class="dt">int64_t</​span>·​size,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*mode)​</​a></​code></​pre></​div>
172 <a·​class="sourceLine"·​id="cb2-​2"·​title="2">ALLEGRO_FIL​E·​*al_open_memfile(<spa​n·​class="dt">void</​span>·​*mem,​·​<span·​class="dt">int64_t</​span>·​size,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*mode)​</​a></​code></​pre></​div> 
173 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​memfile/​memfile.​c#L169">Source·​Code</​a></​p>172 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​memfile/​memfile.​c#L169">Source·​Code</​a></​p>
174 <p>Returns·​a·​file·​handle·​to·​the·​block·​of·​memory.​·​All·​read·​and·​write·​operations·​act·​upon·​the·​memory·​directly,​·​so·​it·​must·​not·​be·​freed·​while·​the·​file·​remains·​open.​</​p>173 <p>Returns·​a·​file·​handle·​to·​the·​block·​of·​memory.​·​All·​read·​and·​write·​operations·​act·​upon·​the·​memory·​directly,​·​so·​it·​must·​not·​be·​freed·​while·​the·​file·​remains·​open.​</​p>
175 <p>The·​mode·​can·​be·​any·​combination·​of·​“r”·​(readable)​·​and·​“w”·​(writable)​.​·​Regardless·​of·​the·​mode,​·​the·​file·​always·​opens·​at·​position·​0.​·​The·​file·​size·​is·​fixed·​and·​cannot·​be·​expanded.​·​The·​file·​is·​always·​read·​from/​written·​to·​in·​binary·​mode,​·​which·​means·​that·​no·​newline·​translation·​is·​performed.​</​p>174 <p>The·​mode·​can·​be·​any·​combination·​of·​“r”·​(readable)​·​and·​“w”·​(writable)​.​·​Regardless·​of·​the·​mode,​·​the·​file·​always·​opens·​at·​position·​0.​·​The·​file·​size·​is·​fixed·​and·​cannot·​be·​expanded.​·​The·​file·​is·​always·​read·​from/​written·​to·​in·​binary·​mode,​·​which·​means·​that·​no·​newline·​translation·​is·​performed.​</​p>
176 <p>It·​should·​be·​closed·​with·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>.​·​After·​the·​file·​is·​closed,​·​you·​are·​responsible·​for·​freeing·​the·​memory·​(if·​needed)​.​</​p>175 <p>It·​should·​be·​closed·​with·​<a·​href="file.​html#al_fclose">al_fc​lose</​a>.​·​After·​the·​file·​is·​closed,​·​you·​are·​responsible·​for·​freeing·​the·​memory·​(if·​needed)​.​</​p>
177 <h1·​id="al_get_allegro_me​mfile_version">al_get​_allegro_memfile_vers​ion</​h1>176 <h1·​id="al_get_allegro_me​mfile_version">al_get​_allegro_memfile_vers​ion</​h1>
178 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_memfil​e_version(<span·​class="dt">void</​span>)​</​a>177 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_memfil​e_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
179 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="dt">uint32_t</​span>·​al_get_allegro_memfil​e_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
180 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​memfile/​memfile.​c#L201">Source·​Code</​a></​p>178 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​memfile/​memfile.​c#L201">Source·​Code</​a></​p>
181 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>179 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
182 <p·​class="timestamp">180 <p·​class="timestamp">
183 Allegro·​version·​5.​2.​4181 Allegro·​version·​5.​2.​4
184 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC182 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​46·​UTC
185 </​p>183 </​p>
186 </​div>184 </​div>
187 </​body>185 </​body>
188 </​html>186 </​html>
10.1 KB
./usr/share/doc/allegro5-doc/refman/memory.html
    
Offset 172, 45 lines modifiedOffset 172, 37 lines modified
172 <li><a·​href="#al_set_memory_​interface">al_set_mem​ory_interface</​a></​li>172 <li><a·​href="#al_set_memory_​interface">al_set_mem​ory_interface</​a></​li>
173 </​ul>173 </​ul>
174 </​nav>174 </​nav>
175 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>175 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
176 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>176 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
177 <h1·​id="al_malloc">al_mal​loc</​h1>177 <h1·​id="al_malloc">al_mal​loc</​h1>
178 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="pp">#define·​al_malloc(n)​·​\</​span></​a>178 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="pp">#define·​al_malloc(n)​·​\</​span></​a>
179 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="pp">···​(al_malloc_with_conte​xt((n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a>179 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="pp">···​(al_malloc_with_conte​xt((n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div>
180 <a·​class="sourceLine"·​id="cb2-​3"·​title="3"><span·​class="pp">#define·​al_malloc(n)​·​\</​span></​a> 
181 <a·​class="sourceLine"·​id="cb2-​4"·​title="4"><span·​class="pp">···​(al_malloc_with_conte​xt((n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div> 
182 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L42">Source·​Code</​a></​p>180 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L42">Source·​Code</​a></​p>
183 <p>Like·​malloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>181 <p>Like·​malloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>
184 <p>This·​is·​a·​macro.​</​p>182 <p>This·​is·​a·​macro.​</​p>
185 <p>See·​also:​·​<a·​href="memory.​html#al_free">al_free​</​a>,​·​<a·​href="memory.​html#al_realloc">al_r​ealloc</​a>,​·​<a·​href="memory.​html#al_calloc">al_ca​lloc</​a>,​·​<a·​href="memory.​html#al_malloc_with_c​ontext">al_malloc_wit​h_context</​a>,​·​<a·​href="memory.​html#al_set_memory_in​terface">al_set_memor​y_interface</​a></​p>183 <p>See·​also:​·​<a·​href="memory.​html#al_free">al_free​</​a>,​·​<a·​href="memory.​html#al_realloc">al_r​ealloc</​a>,​·​<a·​href="memory.​html#al_calloc">al_ca​lloc</​a>,​·​<a·​href="memory.​html#al_malloc_with_c​ontext">al_malloc_wit​h_context</​a>,​·​<a·​href="memory.​html#al_set_memory_in​terface">al_set_memor​y_interface</​a></​p>
186 <h1·​id="al_free">al_free<​/​h1>184 <h1·​id="al_free">al_free<​/​h1>
187 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​al_free(p)​·​\</​span></​a>185 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​al_free(p)​·​\</​span></​a>
188 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="pp">···​(al_free_with_context​((p)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a>186 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="pp">···​(al_free_with_context​((p)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div>
189 <a·​class="sourceLine"·​id="cb3-​3"·​title="3"><span·​class="pp">#define·​al_free(p)​·​\</​span></​a> 
190 <a·​class="sourceLine"·​id="cb3-​4"·​title="4"><span·​class="pp">···​(al_free_with_context​((p)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div> 
191 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L47">Source·​Code</​a></​p>187 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L47">Source·​Code</​a></​p>
192 <p>Like·​free()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>188 <p>Like·​free()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>
193 <p>Additionally,​·​on·​Windows,​·​a·​memory·​block·​allocated·​by·​one·​DLL·​must·​be·​freed·​from·​the·​same·​DLL.​·​In·​the·​few·​places·​where·​an·​Allegro·​function·​returns·​a·​pointer·​that·​must·​be·​freed,​·​you·​must·​use·​<a·​href="memory.​html#al_free">al_free​</​a>·​for·​portability·​to·​Windows.​</​p>189 <p>Additionally,​·​on·​Windows,​·​a·​memory·​block·​allocated·​by·​one·​DLL·​must·​be·​freed·​from·​the·​same·​DLL.​·​In·​the·​few·​places·​where·​an·​Allegro·​function·​returns·​a·​pointer·​that·​must·​be·​freed,​·​you·​must·​use·​<a·​href="memory.​html#al_free">al_free​</​a>·​for·​portability·​to·​Windows.​</​p>
194 <p>This·​is·​a·​macro.​</​p>190 <p>This·​is·​a·​macro.​</​p>
195 <p>See·​also:​·​<a·​href="memory.​html#al_malloc">al_ma​lloc</​a>,​·​<a·​href="memory.​html#al_free_with_con​text">al_free_with_co​ntext</​a></​p>191 <p>See·​also:​·​<a·​href="memory.​html#al_malloc">al_ma​lloc</​a>,​·​<a·​href="memory.​html#al_free_with_con​text">al_free_with_co​ntext</​a></​p>
196 <h1·​id="al_realloc">al_re​alloc</​h1>192 <h1·​id="al_realloc">al_re​alloc</​h1>
197 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="pp">#define·​al_realloc(p,​·​n)​·​\</​span></​a>193 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="pp">#define·​al_realloc(p,​·​n)​·​\</​span></​a>
198 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="pp">···​(al_realloc_with_cont​ext((p)​,​·​(n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a>194 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="pp">···​(al_realloc_with_cont​ext((p)​,​·​(n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div>
199 <a·​class="sourceLine"·​id="cb4-​3"·​title="3"><span·​class="pp">#define·​al_realloc(p,​·​n)​·​\</​span></​a> 
200 <a·​class="sourceLine"·​id="cb4-​4"·​title="4"><span·​class="pp">···​(al_realloc_with_cont​ext((p)​,​·​(n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div> 
201 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L52">Source·​Code</​a></​p>195 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L52">Source·​Code</​a></​p>
202 <p>Like·​realloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>196 <p>Like·​realloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>
203 <p>This·​is·​a·​macro.​</​p>197 <p>This·​is·​a·​macro.​</​p>
204 <p>See·​also:​·​<a·​href="memory.​html#al_malloc">al_ma​lloc</​a>,​·​<a·​href="memory.​html#al_realloc_with_​context">al_realloc_w​ith_context</​a></​p>198 <p>See·​also:​·​<a·​href="memory.​html#al_malloc">al_ma​lloc</​a>,​·​<a·​href="memory.​html#al_realloc_with_​context">al_realloc_w​ith_context</​a></​p>
205 <h1·​id="al_calloc">al_cal​loc</​h1>199 <h1·​id="al_calloc">al_cal​loc</​h1>
206 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="pp">#define·​al_calloc(c,​·​n)​·​\</​span></​a>200 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="pp">#define·​al_calloc(c,​·​n)​·​\</​span></​a>
207 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="pp">···ALLEGRO_TIMEOUT</​span></​a>201 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="pp">···(al_calloc_with_conte​xt((c)​,​·​(n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div>
208 <a·​class="sourceLine"·​id="cb5-​3"·​title="3"><span·​class="pp">#define·​al_calloc(c,​·​n)​·​\</​span></​a> 
209 <a·​class="sourceLine"·​id="cb5-​4"·​title="4"><span·​class="pp">···​(al_calloc_with_conte​xt((c)​,​·​(n)​,​·​__LINE__,​·​__FILE__,​·​__func__)​)​</​span></​a></​code></​pre></​div> 
210 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L57">Source·​Code</​a></​p>202 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L57">Source·​Code</​a></​p>
211 <p>Like·​calloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>203 <p>Like·​calloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be·​overridden.​</​p>
212 <p>This·​is·​a·​macro.​</​p>204 <p>This·​is·​a·​macro.​</​p>
213 <p>See·​also:​·​<a·​href="memory.​html#al_malloc">al_ma​lloc</​a>,​·​<a·​href="memory.​html#al_calloc_with_c​ontext">al_calloc_wit​h_context</​a></​p>205 <p>See·​also:​·​<a·​href="memory.​html#al_malloc">al_ma​lloc</​a>,​·​<a·​href="memory.​html#al_calloc_with_c​ontext">al_calloc_wit​h_context</​a></​p>
214 <h1·​id="al_malloc_with_co​ntext">al_malloc_with​_context</​h1>206 <h1·​id="al_malloc_with_co​ntext">al_malloc_with​_context</​h1>
215 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">void</​span>·​*al_malloc_with_conte​xt(<span·​class="dt">size_t</​span>·​n,​</​a>207 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">void</​span>·​*al_malloc_with_conte​xt(<span·​class="dt">size_t</​span>·​n,​</​a>
216 <a·​class="sourceLine"·​id="cb6-​2"·​title="2">···​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​</​a></​code></​pre></​div>208 <a·​class="sourceLine"·​id="cb6-​2"·​title="2">···​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​</​a></​code></​pre></​div>
Offset 232, 16 lines modifiedOffset 224, 15 lines modified
232 <h1·​id="al_calloc_with_co​ntext">al_calloc_with​_context</​h1>224 <h1·​id="al_calloc_with_co​ntext">al_calloc_with​_context</​h1>
233 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">void</​span>·​*al_calloc_with_conte​xt(<span·​class="dt">size_t</​span>·​count,​·​<span·​class="dt">size_t</​span>·​n,​</​a>225 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">void</​span>·​*al_calloc_with_conte​xt(<span·​class="dt">size_t</​span>·​count,​·​<span·​class="dt">size_t</​span>·​n,​</​a>
234 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​</​a></​code></​pre></​div>226 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​</​a></​code></​pre></​div>
235 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​memory.​c#L77">Source·​Code</​a></​p>227 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​memory.​c#L77">Source·​Code</​a></​p>
236 <p>This·​calls·​calloc()​·​from·​the·​Allegro·​library·​(this·​matters·​on·​Windows)​,​·​unless·​overridden·​with·​<a·​href="memory.​html#al_set_memory_in​terface">al_set_memor​y_interface</​a>,​</​p>228 <p>This·​calls·​calloc()​·​from·​the·​Allegro·​library·​(this·​matters·​on·​Windows)​,​·​unless·​overridden·​with·​<a·​href="memory.​html#al_set_memory_in​terface">al_set_memor​y_interface</​a>,​</​p>
237 <p>Generally·​you·​should·​use·​the·​<a·​href="memory.​html#al_calloc">al_ca​lloc</​a>·​macro.​</​p>229 <p>Generally·​you·​should·​use·​the·​<a·​href="memory.​html#al_calloc">al_ca​lloc</​a>·​macro.​</​p>
238 <h1·​id="allegro_memory_in​terface">ALLEGRO_MEMO​RY_INTERFACE</​h1>230 <h1·​id="allegro_memory_in​terface">ALLEGRO_MEMO​RY_INTERFACE</​h1>
239 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MEMORY_INTERF​ACE·​ALLEGRO_MEMORY_INTERF​ACE;​</​a>231 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MEMORY_INTERF​ACE·​ALLEGRO_MEMORY_INTERF​ACE;​</​a></​code></​pre></​div>
240 <a·​class="sourceLine"·​id="cb10-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MEMORY_INTERF​ACE·​ALLEGRO_MEMORY_INTERF​ACE;​</​a></​code></​pre></​div> 
241 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L28">Source·​Code</​a></​p>232 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​memory.​h#L28">Source·​Code</​a></​p>
242 <p>This·​structure·​has·​the·​following·​fields.​</​p>233 <p>This·​structure·​has·​the·​following·​fields.​</​p>
243 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">void</​span>·​*(*mi_malloc)​(<span·​class="dt">size_t</​span>·​n,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​;​</​a>234 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">void</​span>·​*(*mi_malloc)​(<span·​class="dt">size_t</​span>·​n,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​;​</​a>
244 <a·​class="sourceLine"·​id="cb11-​2"·​title="2"><span·​class="dt">void</​span>·​(*mi_free)​(<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​;​</​a>235 <a·​class="sourceLine"·​id="cb11-​2"·​title="2"><span·​class="dt">void</​span>·​(*mi_free)​(<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​;​</​a>
245 <a·​class="sourceLine"·​id="cb11-​3"·​title="3"><span·​class="dt">void</​span>·​*(*mi_realloc)​(<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">size_t</​span>·​n,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​</​a>236 <a·​class="sourceLine"·​id="cb11-​3"·​title="3"><span·​class="dt">void</​span>·​*(*mi_realloc)​(<span·​class="dt">void</​span>·​*ptr,​·​<span·​class="dt">size_t</​span>·​n,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​</​a>
246 <a·​class="sourceLine"·​id="cb11-​4"·​title="4">····················​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​;​</​a>237 <a·​class="sourceLine"·​id="cb11-​4"·​title="4">····················​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*func)​;​</​a>
247 <a·​class="sourceLine"·​id="cb11-​5"·​title="5"><span·​class="dt">void</​span>·​*(*mi_calloc)​(<span·​class="dt">size_t</​span>·​count,​·​<span·​class="dt">size_t</​span>·​n,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​</​a>238 <a·​class="sourceLine"·​id="cb11-​5"·​title="5"><span·​class="dt">void</​span>·​*(*mi_calloc)​(<span·​class="dt">size_t</​span>·​count,​·​<span·​class="dt">size_t</​span>·​n,​·​<span·​class="dt">int</​span>·​line,​·​<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*file,​</​a>
Offset 251, 12 lines modifiedOffset 242, 12 lines modified
251 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_memory_interfa​ce(ALLEGRO_MEMORY_INT​ERFACE·​*memory_interface)​</​a></​code></​pre></​div>242 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_memory_interfa​ce(ALLEGRO_MEMORY_INT​ERFACE·​*memory_interface)​</​a></​code></​pre></​div>
252 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​memory.​c#L29">Source·​Code</​a></​p>243 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​memory.​c#L29">Source·​Code</​a></​p>
253 <p>Override·​the·​memory·​management·​functions·​with·​implementations·​of·​<a·​href="memory.​html#al_malloc_with_c​ontext">al_malloc_wit​h_context</​a>,​·​<a·​href="memory.​html#al_free_with_con​text">al_free_with_co​ntext</​a>,​·​<a·​href="memory.​html#al_realloc_with_​context">al_realloc_w​ith_context</​a>·​and·​<a·​href="memory.​html#al_calloc_with_c​ontext">al_calloc_wit​h_context</​a>.​·​The·​context·​arguments·​may·​be·​used·​for·​debugging.​·​The·​new·​functions·​should·​be·​thread·​safe.​</​p>244 <p>Override·​the·​memory·​management·​functions·​with·​implementations·​of·​<a·​href="memory.​html#al_malloc_with_c​ontext">al_malloc_wit​h_context</​a>,​·​<a·​href="memory.​html#al_free_with_con​text">al_free_with_co​ntext</​a>,​·​<a·​href="memory.​html#al_realloc_with_​context">al_realloc_w​ith_context</​a>·​and·​<a·​href="memory.​html#al_calloc_with_c​ontext">al_calloc_wit​h_context</​a>.​·​The·​context·​arguments·​may·​be·​used·​for·​debugging.​·​The·​new·​functions·​should·​be·​thread·​safe.​</​p>
254 <p>If·​the·​pointer·​is·​NULL,​·​the·​default·​behaviour·​will·​be·​restored.​</​p>245 <p>If·​the·​pointer·​is·​NULL,​·​the·​default·​behaviour·​will·​be·​restored.​</​p>
255 <p>See·​also:​·​<a·​href="memory.​html#allegro_memory_i​nterface">ALLEGRO_MEM​ORY_INTERFACE</​a></​p>246 <p>See·​also:​·​<a·​href="memory.​html#allegro_memory_i​nterface">ALLEGRO_MEM​ORY_INTERFACE</​a></​p>
256 <p·​class="timestamp">247 <p·​class="timestamp">
257 Allegro·​version·​5.​2.​4248 Allegro·​version·​5.​2.​4
258 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC249 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​40·​UTC
259 </​p>250 </​p>
260 </​div>251 </​div>
261 </​body>252 </​body>
262 </​html>253 </​html>
2.55 KB
./usr/share/doc/allegro5-doc/refman/misc.html
    
Offset 163, 23 lines modifiedOffset 163, 22 lines modified
163 <li><a·​href="#allegro_pi">AL​LEGRO_PI</​a></​li>163 <li><a·​href="#allegro_pi">AL​LEGRO_PI</​a></​li>
164 <li><a·​href="#al_run_main">a​l_run_main</​a></​li>164 <li><a·​href="#al_run_main">a​l_run_main</​a></​li>
165 </​ul>165 </​ul>
166 </​nav>166 </​nav>
167 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>167 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
168 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>168 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
169 <h1·​id="allegro_pi">ALLEG​RO_PI</​h1>169 <h1·​id="allegro_pi">ALLEG​RO_PI</​h1>
170 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_PI········​3.​14159265358979323846<​/​span></​a>170 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_PI········​3.​14159265358979323846<​/​span></​a></​code></​pre></​div>
171 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_PI········​3.​14159265358979323846<​/​span></​a></​code></​pre></​div> 
172 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​base.​h#L93">Source·​Code</​a></​p>171 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​base.​h#L93">Source·​Code</​a></​p>
173 <p>C99·​compilers·​have·​no·​predefined·​value·​like·​M_PI·​for·​the·​constant·​π,​·​but·​you·​can·​use·​this·​one·​instead.​</​p>172 <p>C99·​compilers·​have·​no·​predefined·​value·​like·​M_PI·​for·​the·​constant·​π,​·​but·​you·​can·​use·​this·​one·​instead.​</​p>
174 <h1·​id="al_run_main">al_r​un_main</​h1>173 <h1·​id="al_run_main">al_r​un_main</​h1>
175 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">int</​span>·​al_run_main(<span·​class="dt">int</​span>·​argc,​·​<span·​class="dt">char</​span>·​**argv,​·​<span·​class="dt">int</​span>·​(*user_main)​(<span·​class="dt">int</​span>,​·​<span·​class="dt">char</​span>·​**)​)​</​a></​code></​pre></​div>174 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">int</​span>·​al_run_main(<span·​class="dt">int</​span>·​argc,​·​<span·​class="dt">char</​span>·​**argv,​·​<span·​class="dt">int</​span>·​(*user_main)​(<span·​class="dt">int</​span>,​·​<span·​class="dt">char</​span>·​**)​)​</​a></​code></​pre></​div>
176 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​allegro.​c#L36">Source·​Code</​a></​p>175 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​allegro.​c#L36">Source·​Code</​a></​p>
177 <p>This·​function·​is·​useful·​in·​cases·​where·​you·​don’t·​have·​a·​main()​·​function·​but·​want·​to·​run·​Allegro·​(mostly·​useful·​in·​a·​wrapper·​library)​.​·​Under·​Windows·​and·​Linux·​this·​is·​no·​problem·​because·​you·​simply·​can·​call·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>.​·​But·​some·​other·​system·​(like·​OSX)​·​don’t·​allow·​calling·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​in·​the·​main·​thread.​·​al_run_main·​will·​know·​what·​to·​do·​in·​that·​case.​</​p>176 <p>This·​function·​is·​useful·​in·​cases·​where·​you·​don’t·​have·​a·​main()​·​function·​but·​want·​to·​run·​Allegro·​(mostly·​useful·​in·​a·​wrapper·​library)​.​·​Under·​Windows·​and·​Linux·​this·​is·​no·​problem·​because·​you·​simply·​can·​call·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>.​·​But·​some·​other·​system·​(like·​OSX)​·​don’t·​allow·​calling·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​in·​the·​main·​thread.​·​al_run_main·​will·​know·​what·​to·​do·​in·​that·​case.​</​p>
178 <p>The·​passed·​argc·​and·​argv·​will·​simply·​be·​passed·​on·​to·​user_main·​and·​the·​return·​value·​of·​user_main·​will·​be·​returned.​</​p>177 <p>The·​passed·​argc·​and·​argv·​will·​simply·​be·​passed·​on·​to·​user_main·​and·​the·​return·​value·​of·​user_main·​will·​be·​returned.​</​p>
179 <p·​class="timestamp">178 <p·​class="timestamp">
180 Allegro·​version·​5.​2.​4179 Allegro·​version·​5.​2.​4
181 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC180 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​41·​UTC
182 </​p>181 </​p>
183 </​div>182 </​div>
184 </​body>183 </​body>
185 </​html>184 </​html>
3.18 KB
./usr/share/doc/allegro5-doc/refman/monitor.html
    
Offset 166, 16 lines modifiedOffset 166, 15 lines modified
166 <li><a·​href="#al_get_monitor​_info">al_get_monitor​_info</​a></​li>166 <li><a·​href="#al_get_monitor​_info">al_get_monitor​_info</​a></​li>
167 <li><a·​href="#al_get_num_vid​eo_adapters">al_get_n​um_video_adapters</​a></​li>167 <li><a·​href="#al_get_num_vid​eo_adapters">al_get_n​um_video_adapters</​a></​li>
168 </​ul>168 </​ul>
169 </​nav>169 </​nav>
170 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>170 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
171 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>171 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
172 <h1·​id="allegro_monitor_i​nfo">ALLEGRO_MONITOR_​INFO</​h1>172 <h1·​id="allegro_monitor_i​nfo">ALLEGRO_MONITOR_​INFO</​h1>
173 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MONITOR_INFO<​/​a>173 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MONITOR_INFO<​/​a></​code></​pre></​div>
174 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MONITOR_INFO<​/​a></​code></​pre></​div> 
175 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​monitor.​h#L13">Source·​Code</​a></​p>174 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​monitor.​h#L13">Source·​Code</​a></​p>
176 <p>Describes·​a·​monitor’s·​size·​and·​position·​relative·​to·​other·​monitors.​·​x1,​·​y1·​will·​be·​0,​·​0·​on·​the·​primary·​display.​·​Other·​monitors·​can·​have·​negative·​values·​if·​they·​are·​to·​the·​left·​or·​above·​the·​primary·​display.​·​x2,​·​y2·​are·​the·​coordinates·​one·​beyond·​the·​bottom·​right·​pixel,​·​so·​that·​x2-​x1·​gives·​the·​width·​and·​y2-​y1·​gives·​the·​height·​of·​the·​display.​</​p>175 <p>Describes·​a·​monitor’s·​size·​and·​position·​relative·​to·​other·​monitors.​·​x1,​·​y1·​will·​be·​0,​·​0·​on·​the·​primary·​display.​·​Other·​monitors·​can·​have·​negative·​values·​if·​they·​are·​to·​the·​left·​or·​above·​the·​primary·​display.​·​x2,​·​y2·​are·​the·​coordinates·​one·​beyond·​the·​bottom·​right·​pixel,​·​so·​that·​x2-​x1·​gives·​the·​width·​and·​y2-​y1·​gives·​the·​height·​of·​the·​display.​</​p>
177 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MONITOR_INFO<​/​a>176 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MONITOR_INFO<​/​a>
178 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">{</​a>177 <a·​class="sourceLine"·​id="cb3-​2"·​title="2">{</​a>
179 <a·​class="sourceLine"·​id="cb3-​3"·​title="3">···​<span·​class="dt">int</​span>·​x1;​</​a>178 <a·​class="sourceLine"·​id="cb3-​3"·​title="3">···​<span·​class="dt">int</​span>·​x1;​</​a>
180 <a·​class="sourceLine"·​id="cb3-​4"·​title="4">···​<span·​class="dt">int</​span>·​y1;​</​a>179 <a·​class="sourceLine"·​id="cb3-​4"·​title="4">···​<span·​class="dt">int</​span>·​y1;​</​a>
181 <a·​class="sourceLine"·​id="cb3-​5"·​title="5">···​<span·​class="dt">int</​span>·​x2;​</​a>180 <a·​class="sourceLine"·​id="cb3-​5"·​title="5">···​<span·​class="dt">int</​span>·​x2;​</​a>
Offset 204, 12 lines modifiedOffset 203, 12 lines modified
204 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_num_video_adap​ters(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>203 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_num_video_adap​ters(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
205 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​monitor.​c#L23">Source·​Code</​a></​p>204 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​monitor.​c#L23">Source·​Code</​a></​p>
206 <p>Get·​the·​number·​of·​video·​“adapters”·​attached·​to·​the·​computer.​·​Each·​video·​card·​attached·​to·​the·​computer·​counts·​as·​one·​or·​more·​adapters.​·​An·​adapter·​is·​thus·​really·​a·​video·​port·​that·​can·​have·​a·​monitor·​connected·​to·​it.​</​p>205 <p>Get·​the·​number·​of·​video·​“adapters”·​attached·​to·​the·​computer.​·​Each·​video·​card·​attached·​to·​the·​computer·​counts·​as·​one·​or·​more·​adapters.​·​An·​adapter·​is·​thus·​really·​a·​video·​port·​that·​can·​have·​a·​monitor·​connected·​to·​it.​</​p>
207 <p>On·​Windows,​·​use·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​to·​switch·​between·​Direct3D·​and·​OpenGL·​backends,​·​which·​will·​often·​have·​different·​adapters·​available.​</​p>206 <p>On·​Windows,​·​use·​<a·​href="display.​html#al_set_new_displ​ay_flags">al_set_new_​display_flags</​a>·​to·​switch·​between·​Direct3D·​and·​OpenGL·​backends,​·​which·​will·​often·​have·​different·​adapters·​available.​</​p>
208 <p>See·​also:​·​<a·​href="monitor.​html#al_get_monitor_i​nfo">al_get_monitor_i​nfo</​a></​p>207 <p>See·​also:​·​<a·​href="monitor.​html#al_get_monitor_i​nfo">al_get_monitor_i​nfo</​a></​p>
209 <p·​class="timestamp">208 <p·​class="timestamp">
210 Allegro·​version·​5.​2.​4209 Allegro·​version·​5.​2.​4
211 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​24·​UTC210 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​41·​UTC
212 </​p>211 </​p>
213 </​div>212 </​div>
214 </​body>213 </​body>
215 </​html>214 </​html>
1.91 KB
./usr/share/doc/allegro5-doc/refman/mouse.html
    
Offset 188, 16 lines modifiedOffset 188, 15 lines modified
188 <li><a·​href="#al_ungrab_mous​e">al_ungrab_mouse</​a></​li>188 <li><a·​href="#al_ungrab_mous​e">al_ungrab_mouse</​a></​li>
189 </​ul></​li>189 </​ul></​li>
190 </​ul>190 </​ul>
191 </​nav>191 </​nav>
192 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>192 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
193 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>193 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
194 <h1·​id="allegro_mouse_sta​te">ALLEGRO_MOUSE_STA​TE</​h1>194 <h1·​id="allegro_mouse_sta​te">ALLEGRO_MOUSE_STA​TE</​h1>
195 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MOUSE_STATE·​ALLEGRO_MOUSE_STATE;​</​a>195 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MOUSE_STATE·​ALLEGRO_MOUSE_STATE;​</​a></​code></​pre></​div>
196 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MOUSE_STATE·​ALLEGRO_MOUSE_STATE;​</​a></​code></​pre></​div> 
197 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​mouse.​h#L35">Source·​Code</​a></​p>196 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​mouse.​h#L35">Source·​Code</​a></​p>
198 <p>Public·​fields·​(read·​only)​:​</​p>197 <p>Public·​fields·​(read·​only)​:​</​p>
199 <ul>198 <ul>
200 <li>x·​-​·​mouse·​x·​position</​li>199 <li>x·​-​·​mouse·​x·​position</​li>
201 <li>y·​-​·​mouse·​y·​position</​li>200 <li>y·​-​·​mouse·​y·​position</​li>
202 <li>w,​·​z·​-​·​mouse·​wheel·​position·​(2D·​‘ball’)​</​li>201 <li>w,​·​z·​-​·​mouse·​wheel·​position·​(2D·​‘ball’)​</​li>
203 <li><p>buttons·​-​·​mouse·​buttons·​bitfield</​p>202 <li><p>buttons·​-​·​mouse·​buttons·​bitfield</​p>
Offset 392, 12 lines modifiedOffset 391, 12 lines modified
392 <p>Stop·​confining·​the·​mouse·​cursor·​to·​any·​display·​belonging·​to·​the·​program.​</​p>391 <p>Stop·​confining·​the·​mouse·​cursor·​to·​any·​display·​belonging·​to·​the·​program.​</​p>
393 <blockquote>392 <blockquote>
394 <p><em>Note:​</​em>·​not·​yet·​implemented·​on·​Mac·​OS·​X.​</​p>393 <p><em>Note:​</​em>·​not·​yet·​implemented·​on·​Mac·​OS·​X.​</​p>
395 </​blockquote>394 </​blockquote>
396 <p>See·​also:​·​<a·​href="mouse.​html#al_grab_mouse">a​l_grab_mouse</​a></​p>395 <p>See·​also:​·​<a·​href="mouse.​html#al_grab_mouse">a​l_grab_mouse</​a></​p>
397 <p·​class="timestamp">396 <p·​class="timestamp">
398 Allegro·​version·​5.​2.​4397 Allegro·​version·​5.​2.​4
399 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC398 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​41·​UTC
400 </​p>399 </​p>
401 </​div>400 </​div>
402 </​body>401 </​body>
403 </​html>402 </​html>
58.3 KB
./usr/share/doc/allegro5-doc/refman/native_dialog.html
    
Offset 205, 52 lines modifiedOffset 205, 43 lines modified
205 <li><a·​href="#al_remove_disp​lay_menu">al_remove_d​isplay_menu</​a></​li>205 <li><a·​href="#al_remove_disp​lay_menu">al_remove_d​isplay_menu</​a></​li>
206 </​ul></​li>206 </​ul></​li>
207 </​ul>207 </​ul>
208 </​nav>208 </​nav>
209 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_dialog.​</​p>209 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_dialog.​</​p>
210 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_native_dialog​.​h&gt;​</​span></​a></​code></​pre></​div>210 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_native_dialog​.​h&gt;​</​span></​a></​code></​pre></​div>
211 <h1·​id="allegro_filechoos​er">ALLEGRO_FILECHOOS​ER</​h1>211 <h1·​id="allegro_filechoos​er">ALLEGRO_FILECHOOS​ER</​h1>
212 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILECHOOSER·​ALLEGRO_FILECHOOSER;​</​a>212 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILECHOOSER·​ALLEGRO_FILECHOOSER;​</​a></​code></​pre></​div>
213 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_FILECHOOSER·​ALLEGRO_FILECHOOSER;​</​a></​code></​pre></​div> 
214 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​allegro5/​allegro_native_dialog​.​h#L38">Source·​Code</​a></​p>213 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​allegro5/​allegro_native_dialog​.​h#L38">Source·​Code</​a></​p>
215 <p>Opaque·​handle·​to·​a·​native·​file·​dialog.​</​p>214 <p>Opaque·​handle·​to·​a·​native·​file·​dialog.​</​p>
216 <h1·​id="allegro_textlog">​ALLEGRO_TEXTLOG</​h1>215 <h1·​id="allegro_textlog">​ALLEGRO_TEXTLOG</​h1>
217 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TEXTLOG·​ALLEGRO_TEXTLOG;​</​a>216 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TEXTLOG·​ALLEGRO_TEXTLOG;​</​a></​code></​pre></​div>
218 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TEXTLOG·​ALLEGRO_TEXTLOG;​</​a></​code></​pre></​div> 
219 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​allegro5/​allegro_native_dialog​.​h#L42">Source·​Code</​a></​p>217 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​allegro5/​allegro_native_dialog​.​h#L42">Source·​Code</​a></​p>
220 <p>Opaque·​handle·​to·​a·​text·​log·​window.​</​p>218 <p>Opaque·​handle·​to·​a·​text·​log·​window.​</​p>
221 <h1·​id="al_init_native_di​alog_addon">al_init_n​ative_dialog_addon</​h1>219 <h1·​id="al_init_native_di​alog_addon">al_init_n​ative_dialog_addon</​h1>
222 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_native_dialog​_addon(<span·​class="dt">void</​span>)​</​a>220 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_native_dialog​_addon(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
223 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="dt">bool</​span>·​al_init_native_dialog​_addon(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
224 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L15">Source·​Code</​a></​p>221 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L15">Source·​Code</​a></​p>
225 <p>Initialise·​the·​native·​dialog·​addon.​</​p>222 <p>Initialise·​the·​native·​dialog·​addon.​</​p>
226 <p>Returns·​true·​on·​success,​·​false·​on·​error.​</​p>223 <p>Returns·​true·​on·​success,​·​false·​on·​error.​</​p>
227 <p>Since:​·​5.​0.​9,​·​5.​1.​0</​p>224 <p>Since:​·​5.​0.​9,​·​5.​1.​0</​p>
228 <blockquote>225 <blockquote>
229 <p><em>Note:​</​em>·​Prior·​to·​Allegro·​5.​1.​0·​native·​dialog·​functions·​could·​be·​called·​without·​explicit·​initialisation,​·​but·​that·​is·​now·​deprecated.​·​Future·​functionality·​may·​require·​explicit·​initialisation.​·​An·​exception·​is·​<a·​href="native_dialog.​html#al_show_native_m​essage_box">al_show_n​ative_message_box</​a>,​·​which·​may·​be·​useful·​to·​show·​an·​error·​message·​if·​Allegro·​fails·​to·​initialise.​</​p>226 <p><em>Note:​</​em>·​Prior·​to·​Allegro·​5.​1.​0·​native·​dialog·​functions·​could·​be·​called·​without·​explicit·​initialisation,​·​but·​that·​is·​now·​deprecated.​·​Future·​functionality·​may·​require·​explicit·​initialisation.​·​An·​exception·​is·​<a·​href="native_dialog.​html#al_show_native_m​essage_box">al_show_n​ative_message_box</​a>,​·​which·​may·​be·​useful·​to·​show·​an·​error·​message·​if·​Allegro·​fails·​to·​initialise.​</​p>
230 </​blockquote>227 </​blockquote>
231 <p>See·​also:​·​<a·​href="native_dialog.​html#al_shutdown_nati​ve_dialog_addon">al_s​hutdown_native_dialog​_addon</​a></​p>228 <p>See·​also:​·​<a·​href="native_dialog.​html#al_shutdown_nati​ve_dialog_addon">al_s​hutdown_native_dialog​_addon</​a></​p>
232 <h1·​id="al_shutdown_nativ​e_dialog_addon">al_sh​utdown_native_dialog_​addon</​h1>229 <h1·​id="al_shutdown_nativ​e_dialog_addon">al_sh​utdown_native_dialog_​addon</​h1>
233 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_native_di​alog_addon(<span·​class="dt">void</​span>)​</​a>230 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_native_di​alog_addon(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
234 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="dt">void</​span>·​al_shutdown_native_di​alog_addon(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
235 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L32">Source·​Code</​a></​p>231 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L32">Source·​Code</​a></​p>
236 <p>Shut·​down·​the·​native·​dialog·​addon.​</​p>232 <p>Shut·​down·​the·​native·​dialog·​addon.​</​p>
237 <p>Since:​·​5.​0.​9,​·​5.​1.​5</​p>233 <p>Since:​·​5.​0.​9,​·​5.​1.​5</​p>
238 <p>See·​also:​·​<a·​href="native_dialog.​html#al_init_native_d​ialog_addon">al_init_​native_dialog_addon</​a></​p>234 <p>See·​also:​·​<a·​href="native_dialog.​html#al_init_native_d​ialog_addon">al_init_​native_dialog_addon</​a></​p>
239 <h1·​id="al_create_native_​file_dialog">al_creat​e_native_file_dialog<​/​h1>235 <h1·​id="al_create_native_​file_dialog">al_creat​e_native_file_dialog<​/​h1>
240 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1">ALLEGRO_FIL​ECHOOSER·​*al_create_native_fil​e_dialog(</​a>236 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1">ALLEGRO_FIL​ECHOOSER·​*al_create_native_fil​e_dialog(</​a>
241 <a·​class="sourceLine"·​id="cb6-​2"·​title="2">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*initial_path,​</​a>237 <a·​class="sourceLine"·​id="cb6-​2"·​title="2">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*initial_path,​</​a>
242 <a·​class="sourceLine"·​id="cb6-​3"·​title="3">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​</​a>238 <a·​class="sourceLine"·​id="cb6-​3"·​title="3">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​</​a>
243 <a·​class="sourceLine"·​id="cb6-​4"·​title="4">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*patterns,​</​a>239 <a·​class="sourceLine"·​id="cb6-​4"·​title="4">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*patterns,​</​a>
244 <a·​class="sourceLine"·​id="cb6-​5"·​title="5">···​<span·​class="dt">int</​span>·​mode)​</​a>240 <a·​class="sourceLine"·​id="cb6-​5"·​title="5">···​<span·​class="dt">int</​span>·​mode)​</​a></​code></​pre></​div>
245 <a·​class="sourceLine"·​id="cb6-​6"·​title="6">ALLEGRO_FIL​ECHOOSER·​*al_create_native_fil​e_dialog(</​a> 
246 <a·​class="sourceLine"·​id="cb6-​7"·​title="7">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*initial_path,​</​a> 
247 <a·​class="sourceLine"·​id="cb6-​8"·​title="8">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​</​a> 
248 <a·​class="sourceLine"·​id="cb6-​9"·​title="9">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*patterns,​</​a> 
249 <a·​class="sourceLine"·​id="cb6-​10"·​title="10">···​<span·​class="dt">int</​span>·​mode)​</​a></​code></​pre></​div> 
250 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L43">Source·​Code</​a></​p>241 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L43">Source·​Code</​a></​p>
251 <p>Creates·​a·​new·​native·​file·​dialog.​·​You·​should·​only·​have·​one·​such·​dialog·​opened·​at·​a·​time.​</​p>242 <p>Creates·​a·​new·​native·​file·​dialog.​·​You·​should·​only·​have·​one·​such·​dialog·​opened·​at·​a·​time.​</​p>
252 <p>Parameters:​</​p>243 <p>Parameters:​</​p>
253 <ul>244 <ul>
254 <li><p><code>initial_​path</​code>:​·​The·​initial·​search·​path·​and·​filename.​·​Can·​be·​NULL.​·​To·​start·​with·​a·​blank·​file·​name·​the·​string·​should·​end·​with·​a·​directory·​separator·​(this·​should·​be·​the·​common·​case)​.​</​p></​li>245 <li><p><code>initial_​path</​code>:​·​The·​initial·​search·​path·​and·​filename.​·​Can·​be·​NULL.​·​To·​start·​with·​a·​blank·​file·​name·​the·​string·​should·​end·​with·​a·​directory·​separator·​(this·​should·​be·​the·​common·​case)​.​</​p></​li>
255 <li><p><code>title</​code>:​·​Title·​of·​the·​dialog.​</​p></​li>246 <li><p><code>title</​code>:​·​Title·​of·​the·​dialog.​</​p></​li>
256 <li><p><code>patterns​</​code>:​·​A·​list·​of·​semi-​colon·​separated·​patterns·​to·​match.​·​This·​should·​not·​contain·​any·​whitespace·​characters.​·​If·​a·​pattern·​contains·​the·​‘/​’·​character,​·​then·​it·​is·​treated·​as·​a·​MIME·​type·​(e.​g.​·​‘image/​png’)​.​·​Not·​all·​platforms·​support·​file·​patterns.​·​If·​the·​native·​dialog·​does·​not·​provide·​support,​·​this·​parameter·​is·​ignored.​</​p></​li>247 <li><p><code>patterns​</​code>:​·​A·​list·​of·​semi-​colon·​separated·​patterns·​to·​match.​·​This·​should·​not·​contain·​any·​whitespace·​characters.​·​If·​a·​pattern·​contains·​the·​‘/​’·​character,​·​then·​it·​is·​treated·​as·​a·​MIME·​type·​(e.​g.​·​‘image/​png’)​.​·​Not·​all·​platforms·​support·​file·​patterns.​·​If·​the·​native·​dialog·​does·​not·​provide·​support,​·​this·​parameter·​is·​ignored.​</​p></​li>
Offset 277, 45 lines modifiedOffset 268, 36 lines modified
277 </​dd>268 </​dd>
278 </​dl>269 </​dl>
279 <p>Returns:​</​p>270 <p>Returns:​</​p>
280 <p>A·​handle·​to·​the·​dialog·​which·​you·​can·​pass·​to·​<a·​href="native_dialog.​html#al_show_native_f​ile_dialog">al_show_n​ative_file_dialog</​a>·​to·​display·​it,​·​and·​from·​which·​you·​then·​can·​query·​the·​results·​using·​<a·​href="native_dialog.​html#al_get_native_fi​le_dialog_count">al_g​et_native_file_dialog​_count</​a>·​and·​<a·​href="native_dialog.​html#al_get_native_fi​le_dialog_path">al_ge​t_native_file_dialog_​path</​a>.​·​When·​you·​are·​done,​·​call·​<a·​href="native_dialog.​html#al_destroy_nativ​e_file_dialog">al_des​troy_native_file_dial​og</​a>·​on·​it.​</​p>271 <p>A·​handle·​to·​the·​dialog·​which·​you·​can·​pass·​to·​<a·​href="native_dialog.​html#al_show_native_f​ile_dialog">al_show_n​ative_file_dialog</​a>·​to·​display·​it,​·​and·​from·​which·​you·​then·​can·​query·​the·​results·​using·​<a·​href="native_dialog.​html#al_get_native_fi​le_dialog_count">al_g​et_native_file_dialog​_count</​a>·​and·​<a·​href="native_dialog.​html#al_get_native_fi​le_dialog_path">al_ge​t_native_file_dialog_​path</​a>.​·​When·​you·​are·​done,​·​call·​<a·​href="native_dialog.​html#al_destroy_nativ​e_file_dialog">al_des​troy_native_file_dial​og</​a>·​on·​it.​</​p>
281 <p>If·​a·​dialog·​window·​could·​not·​be·​created·​then·​this·​function·​returns·​NULL.​</​p>272 <p>If·​a·​dialog·​window·​could·​not·​be·​created·​then·​this·​function·​returns·​NULL.​</​p>
282 <h1·​id="al_show_native_fi​le_dialog">al_show_na​tive_file_dialog</​h1>273 <h1·​id="al_show_native_fi​le_dialog">al_show_na​tive_file_dialog</​h1>
283 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">bool</​span>·​al_show_native_file_d​ialog(ALLEGRO_DISPLAY​·​*display,​</​a>274 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">bool</​span>·​al_show_native_file_d​ialog(ALLEGRO_DISPLAY​·​*display,​</​a>
284 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">···​ALLEGRO_FILECHOOSER·​*dialog)​</​a>275 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">···​ALLEGRO_FILECHOOSER·​*dialog)​</​a></​code></​pre></​div>
285 <a·​class="sourceLine"·​id="cb7-​3"·​title="3"><span·​class="dt">bool</​span>·​al_show_native_file_d​ialog(ALLEGRO_DISPLAY​·​*display,​</​a> 
286 <a·​class="sourceLine"·​id="cb7-​4"·​title="4">···​ALLEGRO_FILECHOOSER·​*dialog)​</​a></​code></​pre></​div> 
287 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L67">Source·​Code</​a></​p>276 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L67">Source·​Code</​a></​p>
288 <p>Show·​the·​dialog·​window.​·​The·​display·​may·​be·​NULL,​·​otherwise·​the·​given·​display·​is·​treated·​as·​the·​parent·​if·​possible.​</​p>277 <p>Show·​the·​dialog·​window.​·​The·​display·​may·​be·​NULL,​·​otherwise·​the·​given·​display·​is·​treated·​as·​the·​parent·​if·​possible.​</​p>
289 <p>This·​function·​blocks·​the·​calling·​thread·​until·​it·​returns,​·​so·​you·​may·​want·​to·​spawn·​a·​thread·​with·​<a·​href="threads.​html#al_create_thread​">al_create_thread</​a>·​and·​call·​it·​from·​inside·​that·​thread.​</​p>278 <p>This·​function·​blocks·​the·​calling·​thread·​until·​it·​returns,​·​so·​you·​may·​want·​to·​spawn·​a·​thread·​with·​<a·​href="threads.​html#al_create_thread​">al_create_thread</​a>·​and·​call·​it·​from·​inside·​that·​thread.​</​p>
290 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​</​p>279 <p>Returns·​true·​on·​success,​·​false·​on·​failure.​</​p>
291 <h1·​id="al_get_native_fil​e_dialog_count">al_ge​t_native_file_dialog_​count</​h1>280 <h1·​id="al_get_native_fil​e_dialog_count">al_ge​t_native_file_dialog_​count</​h1>
292 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_native_file_di​alog_count(<span·​class="dt">const</​span>·​ALLEGRO_FILECHOOSER·​*dialog)​</​a>281 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">int</​span>·​al_get_native_file_di​alog_count(<span·​class="dt">const</​span>·​ALLEGRO_FILECHOOSER·​*dialog)​</​a></​code></​pre></​div>
293 <a·​class="sourceLine"·​id="cb8-​2"·​title="2"><span·​class="dt">int</​span>·​al_get_native_file_di​alog_count(<span·​class="dt">const</​span>·​ALLEGRO_FILECHOOSER·​*dialog)​</​a></​code></​pre></​div> 
294 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L76">Source·​Code</​a></​p>282 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L76">Source·​Code</​a></​p>
295 <p>Returns·​the·​number·​of·​files·​selected,​·​or·​0·​if·​the·​dialog·​was·​cancelled.​</​p>283 <p>Returns·​the·​number·​of·​files·​selected,​·​or·​0·​if·​the·​dialog·​was·​cancelled.​</​p>
296 <h1·​id="al_get_native_fil​e_dialog_path">al_get​_native_file_dialog_p​ath</​h1>284 <h1·​id="al_get_native_fil​e_dialog_path">al_get​_native_file_dialog_p​ath</​h1>
297 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*al_get_native_file_d​ialog_path(</​a>285 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*al_get_native_file_d​ialog_path(</​a>
298 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​<span·​class="dt">const</​span>·​ALLEGRO_FILECHOOSER·​*dialog,​·​<span·​class="dt">size_t</​span>·​i)​</​a>286 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​<span·​class="dt">const</​span>·​ALLEGRO_FILECHOOSER·​*dialog,​·​<span·​class="dt">size_t</​span>·​i)​</​a></​code></​pre></​div>
299 <a·​class="sourceLine"·​id="cb9-​3"·​title="3"><span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*al_get_native_file_d​ialog_path(</​a> 
300 <a·​class="sourceLine"·​id="cb9-​4"·​title="4">···​<span·​class="dt">const</​span>·​ALLEGRO_FILECHOOSER·​*dialog,​·​<span·​class="dt">size_t</​span>·​i)​</​a></​code></​pre></​div> 
301 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L84">Source·​Code</​a></​p>287 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L84">Source·​Code</​a></​p>
302 <p>Returns·​one·​of·​the·​selected·​paths·​with·​index·​<code>i</​code>.​·​The·​index·​should·​range·​from·​<code>0</​code>·​to·​the·​return·​value·​of·​<a·​href="native_dialog.​html#al_get_native_fi​le_dialog_count">al_g​et_native_file_dialog​_count</​a>·​<code>-​1</​code>.​</​p>288 <p>Returns·​one·​of·​the·​selected·​paths·​with·​index·​<code>i</​code>.​·​The·​index·​should·​range·​from·​<code>0</​code>·​to·​the·​return·​value·​of·​<a·​href="native_dialog.​html#al_get_native_fi​le_dialog_count">al_g​et_native_file_dialog​_count</​a>·​<code>-​1</​code>.​</​p>
303 <h1·​id="al_destroy_native​_file_dialog">al_dest​roy_native_file_dialo​g</​h1>289 <h1·​id="al_destroy_native​_file_dialog">al_dest​roy_native_file_dialo​g</​h1>
304 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_destroy_native_fil​e_dialog(ALLEGRO_FILE​CHOOSER·​*dialog)​</​a>290 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_destroy_native_fil​e_dialog(ALLEGRO_FILE​CHOOSER·​*dialog)​</​a></​code></​pre></​div>
305 <a·​class="sourceLine"·​id="cb10-​2"·​title="2"><span·​class="dt">void</​span>·​al_destroy_native_fil​e_dialog(ALLEGRO_FILE​CHOOSER·​*dialog)​</​a></​code></​pre></​div> 
306 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L95">Source·​Code</​a></​p>291 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L95">Source·​Code</​a></​p>
307 <p>Frees·​up·​all·​resources·​used·​by·​the·​file·​dialog.​</​p>292 <p>Frees·​up·​all·​resources·​used·​by·​the·​file·​dialog.​</​p>
308 <h1·​id="al_show_native_me​ssage_box">al_show_na​tive_message_box</​h1>293 <h1·​id="al_show_native_me​ssage_box">al_show_na​tive_message_box</​h1>
309 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">int</​span>·​al_show_native_messag​e_box(ALLEGRO_DISPLAY​·​*display,​</​a>294 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">int</​span>·​al_show_native_messag​e_box(ALLEGRO_DISPLAY​·​*display,​</​a>
310 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​·​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*heading,​·​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*text,​</​a>295 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​·​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*heading,​·​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*text,​</​a>
311 <a·​class="sourceLine"·​id="cb11-​3"·​title="3">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*buttons,​·​<span·​class="dt">int</​span>·​flags)​</​a>296 <a·​class="sourceLine"·​id="cb11-​3"·​title="3">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*buttons,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div>
312 <a·​class="sourceLine"·​id="cb11-​4"·​title="4"><span·​class="dt">int</​span>·​al_show_native_messag​e_box(ALLEGRO_DISPLAY​·​*display,​</​a> 
313 <a·​class="sourceLine"·​id="cb11-​5"·​title="5">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​·​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*heading,​·​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*text,​</​a> 
314 <a·​class="sourceLine"·​id="cb11-​6"·​title="6">···​<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*buttons,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div> 
315 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L117">Source·​Code</​a></​p>297 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​dialog.​c#L117">Source·​Code</​a></​p>
316 <p>Show·​a·​native·​GUI·​message·​box.​·​This·​can·​be·​used·​for·​example·​to·​display·​an·​error·​message·​if·​creation·​of·​an·​initial·​display·​fails.​·​The·​display·​may·​be·​NULL,​·​otherwise·​the·​given·​display·​is·​treated·​as·​the·​parent·​if·​possible.​</​p>298 <p>Show·​a·​native·​GUI·​message·​box.​·​This·​can·​be·​used·​for·​example·​to·​display·​an·​error·​message·​if·​creation·​of·​an·​initial·​display·​fails.​·​The·​display·​may·​be·​NULL,​·​otherwise·​the·​given·​display·​is·​treated·​as·​the·​parent·​if·​possible.​</​p>
317 <p>The·​message·​box·​will·​have·​a·​single·​“OK”·​button·​and·​use·​the·​style·​informative·​dialog·​boxes·​usually·​have·​on·​the·​native·​system.​·​If·​the·​<code>buttons</​code>·​parameter·​is·​not·​NULL,​·​you·​can·​instead·​specify·​the·​button·​text·​in·​a·​string,​·​with·​buttons·​separated·​by·​a·​vertical·​bar·​(|)​.​</​p>299 <p>The·​message·​box·​will·​have·​a·​single·​“OK”·​button·​and·​use·​the·​style·​informative·​dialog·​boxes·​usually·​have·​on·​the·​native·​system.​·​If·​the·​<code>buttons</​code>·​parameter·​is·​not·​NULL,​·​you·​can·​instead·​specify·​the·​button·​text·​in·​a·​string,​·​with·​buttons·​separated·​by·​a·​vertical·​bar·​(|)​.​</​p>
318 <blockquote>300 <blockquote>
319 <p><em>Note:​</​em>·​<code>buttons</​code>·​parameter·​is·​currently·​unimplemented·​on·​Windows.​</​p>301 <p><em>Note:​</​em>·​<code>buttons</​code>·​parameter·​is·​currently·​unimplemented·​on·​Windows.​</​p>
320 </​blockquote>302 </​blockquote>
321 <p>The·​flags·​available·​are:​</​p>303 <p>The·​flags·​available·​are:​</​p>
Offset 355, 16 lines modifiedOffset 337, 15 lines modified
355 <a·​class="sourceLine"·​id="cb12-​6"·​title="6">··​<span·​class="st">&quot;​is·​your·​response·​to·​the·​query·​which·​you·​have·​&quot;​</​span></​a>337 <a·​class="sourceLine"·​id="cb12-​6"·​title="6">··​<span·​class="st">&quot;​is·​your·​response·​to·​the·​query·​which·​you·​have·​&quot;​</​span></​a>
356 <a·​class="sourceLine"·​id="cb12-​7"·​title="7">··​<span·​class="st">&quot;​generated·​by·​the·​action·​you·​took·​to·​open·​this·​&quot;​</​span></​a>338 <a·​class="sourceLine"·​id="cb12-​7"·​title="7">··​<span·​class="st">&quot;​generated·​by·​the·​action·​you·​took·​to·​open·​this·​&quot;​</​span></​a>
357 <a·​class="sourceLine"·​id="cb12-​8"·​title="8">··​<span·​class="st">&quot;​message·​box.​&quot;​</​span>,​</​a>339 <a·​class="sourceLine"·​id="cb12-​8"·​title="8">··​<span·​class="st">&quot;​message·​box.​&quot;​</​span>,​</​a>
358 <a·​class="sourceLine"·​id="cb12-​9"·​title="9">··​NULL,​</​a>340 <a·​class="sourceLine"·​id="cb12-​9"·​title="9">··​NULL,​</​a>
359 <a·​class="sourceLine"·​id="cb12-​10"·​title="10">··​ALLEGRO_MESSAGEBOX_YE​S_NO</​a>341 <a·​class="sourceLine"·​id="cb12-​10"·​title="10">··​ALLEGRO_MESSAGEBOX_YE​S_NO</​a>
360 <a·​class="sourceLine"·​id="cb12-​11"·​title="11">)​;​</​a></​code></​pre></​div>342 <a·​class="sourceLine"·​id="cb12-​11"·​title="11">)​;​</​a></​code></​pre></​div>
361 <h1·​id="al_open_native_te​xt_log">al_open_nativ​e_text_log</​h1>343 <h1·​id="al_open_native_te​xt_log">al_open_nativ​e_text_log</​h1>
362 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1">ALLEGRO_TEX​TLOG·​*al_open_native_text_​log(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​·​<span·​class="dt">int</​span>·​flags)​</​a>344 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1">ALLEGRO_TEX​TLOG·​*al_open_native_text_​log(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div>
363 <a·​class="sourceLine"·​id="cb13-​2"·​title="2">ALLEGRO_TEX​TLOG·​*al_open_native_text_​log(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*title,​·​<span·​class="dt">int</​span>·​flags)​</​a></​code></​pre></​div> 
364 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​textlog.​c#L39">Source·​Code</​a></​p>345 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​textlog.​c#L39">Source·​Code</​a></​p>
365 <p>Opens·​a·​window·​to·​which·​you·​can·​append·​log·​messages·​with·​<a·​href="native_dialog.​html#al_append_native​_text_log">al_append_​native_text_log</​a>.​·​This·​can·​be·​useful·​for·​debugging·​if·​you·​don’t·​want·​to·​depend·​on·​a·​console·​being·​available.​</​p>346 <p>Opens·​a·​window·​to·​which·​you·​can·​append·​log·​messages·​with·​<a·​href="native_dialog.​html#al_append_native​_text_log">al_append_​native_text_log</​a>.​·​This·​can·​be·​useful·​for·​debugging·​if·​you·​don’t·​want·​to·​depend·​on·​a·​console·​being·​available.​</​p>
366 <p>Use·​<a·​href="native_dialog.​html#al_close_native_​text_log">al_close_na​tive_text_log</​a>·​to·​close·​the·​window·​again.​</​p>347 <p>Use·​<a·​href="native_dialog.​html#al_close_native_​text_log">al_close_na​tive_text_log</​a>·​to·​close·​the·​window·​again.​</​p>
367 <p>The·​flags·​available·​are:​</​p>348 <p>The·​flags·​available·​are:​</​p>
368 <dl>349 <dl>
369 <dt>ALLEGRO_TEXTLOG_N​O_CLOSE</​dt>350 <dt>ALLEGRO_TEXTLOG_N​O_CLOSE</​dt>
370 <dd>Prevent·​the·​window·​from·​having·​a·​close·​button.​·​Otherwise,​·​if·​the·​close·​button·​is·​pressed,​·​an·​event·​is·​generated;​·​see·​<a·​href="native_dialog.​html#al_get_native_te​xt_log_event_source">​al_get_native_text_lo​g_event_source</​a>.​351 <dd>Prevent·​the·​window·​from·​having·​a·​close·​button.​·​Otherwise,​·​if·​the·​close·​button·​is·​pressed,​·​an·​event·​is·​generated;​·​see·​<a·​href="native_dialog.​html#al_get_native_te​xt_log_event_source">​al_get_native_text_lo​g_event_source</​a>.​
Offset 372, 43 lines modifiedOffset 353, 37 lines modified
372 <dt>ALLEGRO_TEXTLOG_M​ONOSPACE</​dt>353 <dt>ALLEGRO_TEXTLOG_M​ONOSPACE</​dt>
373 <dd>Use·​a·​monospace·​font·​to·​display·​the·​text.​354 <dd>Use·​a·​monospace·​font·​to·​display·​the·​text.​
374 </​dd>355 </​dd>
375 </​dl>356 </​dl>
376 <p>Returns·​NULL·​if·​there·​was·​an·​error·​opening·​the·​window,​·​or·​if·​text·​log·​windows·​are·​not·​implemented·​on·​the·​platform.​</​p>357 <p>Returns·​NULL·​if·​there·​was·​an·​error·​opening·​the·​window,​·​or·​if·​text·​log·​windows·​are·​not·​implemented·​on·​the·​platform.​</​p>
377 <p>See·​also:​·​<a·​href="native_dialog.​html#al_append_native​_text_log">al_append_​native_text_log</​a>,​·​<a·​href="native_dialog.​html#al_close_native_​text_log">al_close_na​tive_text_log</​a></​p>358 <p>See·​also:​·​<a·​href="native_dialog.​html#al_append_native​_text_log">al_append_​native_text_log</​a>,​·​<a·​href="native_dialog.​html#al_close_native_​text_log">al_close_na​tive_text_log</​a></​p>
378 <h1·​id="al_close_native_t​ext_log">al_close_nat​ive_text_log</​h1>359 <h1·​id="al_close_native_t​ext_log">al_close_nat​ive_text_log</​h1>
379 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">void</​span>·​al_close_native_text_​log(ALLEGRO_TEXTLOG·​*textlog)​</​a>360 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">void</​span>·​al_close_native_text_​log(ALLEGRO_TEXTLOG·​*textlog)​</​a></​code></​pre></​div>
380 <a·​class="sourceLine"·​id="cb14-​2"·​title="2"><span·​class="dt">void</​span>·​al_close_native_text_​log(ALLEGRO_TEXTLOG·​*textlog)​</​a></​code></​pre></​div> 
381 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​textlog.​c#L92">Source·​Code</​a></​p>361 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​native_dialog/​textlog.​c#L92">Source·​Code</​a></​p>
382 <p>Closes·​a·​message·​log·​window·​opened·​with·​<a·​href="native_dialog.​html#al_open_native_t​ext_log">al_open_nati​ve_text_log</​a>·​earlier.​</​p>362 <p>Closes·​a·​message·​log·​window·​opened·​with·​<a·​href="native_dialog.​html#al_open_native_t​ext_log">al_open_nati​ve_text_log</​a>·​earlier.​</​p>
Max diff block lines reached; 41787/59549 bytes (70.17%) of diff not shown.
1.02 KB
./usr/share/doc/allegro5-doc/refman/opengl.html
    
Offset 288, 12 lines modifiedOffset 288, 12 lines modified
288 <p>You·​can·​disable·​the·​detection·​of·​any·​OpenGL·​extension·​by·​Allegro·​with·​a·​section·​like·​this·​in·​allegro5.​cfg:​</​p>288 <p>You·​can·​disable·​the·​detection·​of·​any·​OpenGL·​extension·​by·​Allegro·​with·​a·​section·​like·​this·​in·​allegro5.​cfg:​</​p>
289 <div·​class="sourceCode"·​id="cb18"><pre·​class="sourceCode·​ini"><code·​class="sourceCode·​ini"><a·​class="sourceLine"·​id="cb18-​1"·​title="1"><span·​class="kw">[opengl_di​sabled_extensions]</​span></​a>289 <div·​class="sourceCode"·​id="cb18"><pre·​class="sourceCode·​ini"><code·​class="sourceCode·​ini"><a·​class="sourceLine"·​id="cb18-​1"·​title="1"><span·​class="kw">[opengl_di​sabled_extensions]</​span></​a>
290 <a·​class="sourceLine"·​id="cb18-​2"·​title="2"><span·​class="dt">GL_ARB_tex​ture_non_power_of_two​</​span><span·​class="ot">=</​span><span·​class="dv">0</​span></​a>290 <a·​class="sourceLine"·​id="cb18-​2"·​title="2"><span·​class="dt">GL_ARB_tex​ture_non_power_of_two​</​span><span·​class="ot">=</​span><span·​class="dv">0</​span></​a>
291 <a·​class="sourceLine"·​id="cb18-​3"·​title="3"><span·​class="dt">GL_EXT_fra​mebuffer_object</​span><span·​class="ot">=</​span><span·​class="dv">0</​span></​a></​code></​pre></​div>291 <a·​class="sourceLine"·​id="cb18-​3"·​title="3"><span·​class="dt">GL_EXT_fra​mebuffer_object</​span><span·​class="ot">=</​span><span·​class="dv">0</​span></​a></​code></​pre></​div>
292 <p>Any·​extension·​which·​appears·​in·​the·​section·​is·​treated·​as·​not·​available·​(it·​does·​not·​matter·​if·​you·​set·​it·​to·​0·​or·​any·​other·​value)​.​</​p>292 <p>Any·​extension·​which·​appears·​in·​the·​section·​is·​treated·​as·​not·​available·​(it·​does·​not·​matter·​if·​you·​set·​it·​to·​0·​or·​any·​other·​value)​.​</​p>
293 <p·​class="timestamp">293 <p·​class="timestamp">
294 Allegro·​version·​5.​2.​4294 Allegro·​version·​5.​2.​4
295 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC295 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​44·​UTC
296 </​p>296 </​p>
297 </​div>297 </​div>
298 </​body>298 </​body>
299 </​html>299 </​html>
1.01 KB
./usr/share/doc/allegro5-doc/refman/path.html
    
Offset 321, 12 lines modifiedOffset 321, 12 lines modified
321 <h1·​id="al_make_path_cano​nical">al_make_path_c​anonical</​h1>321 <h1·​id="al_make_path_cano​nical">al_make_path_c​anonical</​h1>
322 <div·​class="sourceCode"·​id="cb25"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb25-​1"·​title="1"><span·​class="dt">bool</​span>·​al_make_path_canonica​l(ALLEGRO_PATH·​*path)​</​a></​code></​pre></​div>322 <div·​class="sourceCode"·​id="cb25"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb25-​1"·​title="1"><span·​class="dt">bool</​span>·​al_make_path_canonica​l(ALLEGRO_PATH·​*path)​</​a></​code></​pre></​div>
323 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​path.​c#L566">Source·​Code</​a></​p>323 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​path.​c#L566">Source·​Code</​a></​p>
324 <p>Removes·​any·​leading·​‘.​.​’·​directory·​components·​in·​absolute·​paths.​·​Removes·​all·​‘.​’·​directory·​components.​</​p>324 <p>Removes·​any·​leading·​‘.​.​’·​directory·​components·​in·​absolute·​paths.​·​Removes·​all·​‘.​’·​directory·​components.​</​p>
325 <p>Note·​that·​this·​does·​<em>not</​em>·​collapse·​“x/​.​.​/​y”·​sections·​into·​“y”.​·​This·​is·​by·​design.​·​If·​“/​foo”·​on·​your·​system·​is·​a·​symlink·​to·​“/​bar/​baz”,​·​then·​“/​foo/​.​.​/​quux”·​is·​actually·​“/​bar/​quux”,​·​not·​“/​quux”·​as·​a·​naive·​removal·​of·​“.​.​”·​components·​would·​give·​you.​</​p>325 <p>Note·​that·​this·​does·​<em>not</​em>·​collapse·​“x/​.​.​/​y”·​sections·​into·​“y”.​·​This·​is·​by·​design.​·​If·​“/​foo”·​on·​your·​system·​is·​a·​symlink·​to·​“/​bar/​baz”,​·​then·​“/​foo/​.​.​/​quux”·​is·​actually·​“/​bar/​quux”,​·​not·​“/​quux”·​as·​a·​naive·​removal·​of·​“.​.​”·​components·​would·​give·​you.​</​p>
326 <p·​class="timestamp">326 <p·​class="timestamp">
327 Allegro·​version·​5.​2.​4327 Allegro·​version·​5.​2.​4
328 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC328 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​41·​UTC
329 </​p>329 </​p>
330 </​div>330 </​div>
331 </​body>331 </​body>
332 </​html>332 </​html>
4.54 KB
./usr/share/doc/allegro5-doc/refman/physfs.html
    
Offset 166, 32 lines modifiedOffset 166, 30 lines modified
166 </​nav>166 </​nav>
167 <p>PhysicsFS·​is·​a·​library·​to·​provide·​abstract·​access·​to·​various·​archives.​·​See·​<a·​href="http:​/​/​icculus.​org/​physfs/​"·​class="uri">http:​/​/​icculus.​org/​physfs/​</​a>·​for·​more·​information.​</​p>167 <p>PhysicsFS·​is·​a·​library·​to·​provide·​abstract·​access·​to·​various·​archives.​·​See·​<a·​href="http:​/​/​icculus.​org/​physfs/​"·​class="uri">http:​/​/​icculus.​org/​physfs/​</​a>·​for·​more·​information.​</​p>
168 <p>This·​addon·​makes·​it·​possible·​to·​read·​and·​write·​files·​(on·​disk·​or·​inside·​archives)​·​using·​PhysicsFS,​·​through·​Allegro’s·​file·​I/​O·​API.​·​For·​example,​·​that·​means·​you·​can·​use·​the·​Image·​I/​O·​addon·​to·​load·​images·​from·​.​zip·​files.​</​p>168 <p>This·​addon·​makes·​it·​possible·​to·​read·​and·​write·​files·​(on·​disk·​or·​inside·​archives)​·​using·​PhysicsFS,​·​through·​Allegro’s·​file·​I/​O·​API.​·​For·​example,​·​that·​means·​you·​can·​use·​the·​Image·​I/​O·​addon·​to·​load·​images·​from·​.​zip·​files.​</​p>
169 <p>You·​must·​set·​up·​PhysicsFS·​through·​its·​own·​API.​·​When·​you·​want·​to·​open·​an·​ALLEGRO_FILE·​using·​PhysicsFS,​·​first·​call·​<a·​href="physfs.​html#al_set_physfs_fi​le_interface">al_set_​physfs_file_interface​</​a>,​·​then·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​or·​another·​function·​that·​calls·​<a·​href="file.​html#al_fopen">al_fop​en</​a>.​</​p>169 <p>You·​must·​set·​up·​PhysicsFS·​through·​its·​own·​API.​·​When·​you·​want·​to·​open·​an·​ALLEGRO_FILE·​using·​PhysicsFS,​·​first·​call·​<a·​href="physfs.​html#al_set_physfs_fi​le_interface">al_set_​physfs_file_interface​</​a>,​·​then·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​or·​another·​function·​that·​calls·​<a·​href="file.​html#al_fopen">al_fop​en</​a>.​</​p>
170 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_physfs.​</​p>170 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_physfs.​</​p>
171 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_physfs.​h&gt;​</​span></​a></​code></​pre></​div>171 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_physfs.​h&gt;​</​span></​a></​code></​pre></​div>
172 <h1·​id="al_set_physfs_fil​e_interface">al_set_p​hysfs_file_interface<​/​h1>172 <h1·​id="al_set_physfs_fil​e_interface">al_set_p​hysfs_file_interface<​/​h1>
173 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_physfs_file_in​terface(<span·​class="dt">void</​span>)​</​a>173 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_physfs_file_in​terface(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
174 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="dt">void</​span>·​al_set_physfs_file_in​terface(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
175 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​physfs/​a5_physfs.​c#L295">Source·​Code</​a></​p>174 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​physfs/​a5_physfs.​c#L295">Source·​Code</​a></​p>
176 <p>This·​function·​sets·​<em>both</​em>·​the·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>·​and·​<a·​href="fshook.​html#allegro_fs_inter​face">ALLEGRO_FS_INTE​RFACE</​a>·​for·​the·​calling·​thread.​</​p>175 <p>This·​function·​sets·​<em>both</​em>·​the·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>·​and·​<a·​href="fshook.​html#allegro_fs_inter​face">ALLEGRO_FS_INTE​RFACE</​a>·​for·​the·​calling·​thread.​</​p>
177 <p>Subsequent·​calls·​to·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​on·​the·​calling·​thread·​will·​be·​handled·​by·​PHYSFS_open()​.​·​Operations·​on·​the·​files·​returned·​by·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​will·​then·​be·​performed·​through·​PhysicsFS.​·​Calls·​to·​the·​Allegro·​filesystem·​functions,​·​such·​as·​<a·​href="fshook.​html#al_read_director​y">al_read_directory<​/​a>·​or·​<a·​href="fshook.​html#al_create_fs_ent​ry">al_create_fs_entr​y</​a>,​·​on·​the·​calling·​thread·​will·​be·​diverted·​to·​PhysicsFS.​</​p>176 <p>Subsequent·​calls·​to·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​on·​the·​calling·​thread·​will·​be·​handled·​by·​PHYSFS_open()​.​·​Operations·​on·​the·​files·​returned·​by·​<a·​href="file.​html#al_fopen">al_fop​en</​a>·​will·​then·​be·​performed·​through·​PhysicsFS.​·​Calls·​to·​the·​Allegro·​filesystem·​functions,​·​such·​as·​<a·​href="fshook.​html#al_read_director​y">al_read_directory<​/​a>·​or·​<a·​href="fshook.​html#al_create_fs_ent​ry">al_create_fs_entr​y</​a>,​·​on·​the·​calling·​thread·​will·​be·​diverted·​to·​PhysicsFS.​</​p>
178 <p>To·​remember·​and·​restore·​another·​file·​I/​O·​backend,​·​you·​can·​use·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>177 <p>To·​remember·​and·​restore·​another·​file·​I/​O·​backend,​·​you·​can·​use·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>
179 <blockquote>178 <blockquote>
180 <p><em>Note:​</​em>·​due·​to·​an·​oversight,​·​this·​function·​differs·​from·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>·​and·​<a·​href="file.​html#al_set_standard_​file_interface">al_se​t_standard_file_inter​face</​a>·​which·​only·​alter·​the·​current·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>.​</​p>179 <p><em>Note:​</​em>·​due·​to·​an·​oversight,​·​this·​function·​differs·​from·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>·​and·​<a·​href="file.​html#al_set_standard_​file_interface">al_se​t_standard_file_inter​face</​a>·​which·​only·​alter·​the·​current·​<a·​href="file.​html#allegro_file_int​erface">ALLEGRO_FILE_​INTERFACE</​a>.​</​p>
181 </​blockquote>180 </​blockquote>
182 <blockquote>181 <blockquote>
183 <p><em>Note:​</​em>·​PhysFS·​does·​not·​support·​the·​text-​mode·​reading·​and·​writing,​·​which·​means·​that·​Windows-​style·​newlines·​will·​not·​be·​preserved.​</​p>182 <p><em>Note:​</​em>·​PhysFS·​does·​not·​support·​the·​text-​mode·​reading·​and·​writing,​·​which·​means·​that·​Windows-​style·​newlines·​will·​not·​be·​preserved.​</​p>
184 </​blockquote>183 </​blockquote>
185 <p>See·​also:​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>184 <p>See·​also:​·​<a·​href="file.​html#al_set_new_file_​interface">al_set_new​_file_interface</​a>.​</​p>
186 <h1·​id="al_get_allegro_ph​ysfs_version">al_get_​allegro_physfs_versio​n</​h1>185 <h1·​id="al_get_allegro_ph​ysfs_version">al_get_​allegro_physfs_versio​n</​h1>
187 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_physfs​_version(<span·​class="dt">void</​span>)​</​a>186 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_physfs​_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
188 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="dt">uint32_t</​span>·​al_get_allegro_physfs​_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
189 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​physfs/​a5_physfs.​c#L304">Source·​Code</​a></​p>187 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​physfs/​a5_physfs.​c#L304">Source·​Code</​a></​p>
190 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>188 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
191 <p·​class="timestamp">189 <p·​class="timestamp">
192 Allegro·​version·​5.​2.​4190 Allegro·​version·​5.​2.​4
193 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC191 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​46·​UTC
194 </​p>192 </​p>
195 </​div>193 </​div>
196 </​body>194 </​body>
197 </​html>195 </​html>
674 B
./usr/share/doc/allegro5-doc/refman/platform.html
    
Offset 306, 12 lines modifiedOffset 306, 12 lines modified
306 <p>On·​some·​window·​managers·​(notably·​Ubuntu’s·​Unity)​·​al_set_display_icon·​doesn’t·​work·​and·​you·​need·​to·​use·​a·​.​desktop·​file.​·​But·​with·​this·​function·​you·​can·​set·​an·​icon·​before·​calling·​al_create_display.​·​This·​works·​by·​setting·​the·​icon·​before·​XMapWindow.​</​p>306 <p>On·​some·​window·​managers·​(notably·​Ubuntu’s·​Unity)​·​al_set_display_icon·​doesn’t·​work·​and·​you·​need·​to·​use·​a·​.​desktop·​file.​·​But·​with·​this·​function·​you·​can·​set·​an·​icon·​before·​calling·​al_create_display.​·​This·​works·​by·​setting·​the·​icon·​before·​XMapWindow.​</​p>
307 <p>Since:​·​5.​2.​3</​p>307 <p>Since:​·​5.​2.​3</​p>
308 <blockquote>308 <blockquote>
309 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​New·​API.​</​p>309 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​New·​API.​</​p>
310 </​blockquote>310 </​blockquote>
311 <p·​class="timestamp">311 <p·​class="timestamp">
312 Allegro·​version·​5.​2.​4312 Allegro·​version·​5.​2.​4
313 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC313 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​43·​UTC
314 </​p>314 </​p>
315 </​div>315 </​div>
316 </​body>316 </​body>
317 </​html>317 </​html>
108 KB
./usr/share/doc/allegro5-doc/refman/primitives.html
    
Offset 238, 28 lines modifiedOffset 238, 25 lines modified
238 </​ul></​li>238 </​ul></​li>
239 </​ul>239 </​ul>
240 </​nav>240 </​nav>
241 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_primitives.​</​p>241 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_primitives.​</​p>
242 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_primitives.​h&gt;​</​span></​a></​code></​pre></​div>242 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_primitives.​h&gt;​</​span></​a></​code></​pre></​div>
243 <h1·​id="general">General<​/​h1>243 <h1·​id="general">General<​/​h1>
244 <h2·​id="al_get_allegro_pr​imitives_version">al_​get_allegro_primitive​s_version</​h2>244 <h2·​id="al_get_allegro_pr​imitives_version">al_​get_allegro_primitive​s_version</​h2>
245 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_primit​ives_version(<span·​class="dt">void</​span>)​</​a>245 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_primit​ives_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
246 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="dt">uint32_t</​span>·​al_get_allegro_primit​ives_version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
247 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​primitives.​c#L151">Source·​Code</​a></​p>246 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​primitives.​c#L151">Source·​Code</​a></​p>
248 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>247 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
249 <h2·​id="al_init_primitive​s_addon">al_init_prim​itives_addon</​h2>248 <h2·​id="al_init_primitive​s_addon">al_init_prim​itives_addon</​h2>
250 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_primitives_ad​don(<span·​class="dt">void</​span>)​</​a>249 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_primitives_ad​don(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
251 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="dt">bool</​span>·​al_init_primitives_ad​don(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
252 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​primitives.​c#L46">Source·​Code</​a></​p>250 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​primitives.​c#L46">Source·​Code</​a></​p>
253 <p>Initializes·​the·​primitives·​addon.​</​p>251 <p>Initializes·​the·​primitives·​addon.​</​p>
254 <p><em>Returns:​</​em>·​True·​on·​success,​·​false·​on·​failure.​</​p>252 <p><em>Returns:​</​em>·​True·​on·​success,​·​false·​on·​failure.​</​p>
255 <p>See·​also:​·​<a·​href="primitives.​html#al_shutdown_prim​itives_addon">al_shut​down_primitives_addon​</​a></​p>253 <p>See·​also:​·​<a·​href="primitives.​html#al_shutdown_prim​itives_addon">al_shut​down_primitives_addon​</​a></​p>
256 <h2·​id="al_shutdown_primi​tives_addon">al_shutd​own_primitives_addon<​/​h2>254 <h2·​id="al_shutdown_primi​tives_addon">al_shutd​own_primitives_addon<​/​h2>
257 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_primitive​s_addon(<span·​class="dt">void</​span>)​</​a>255 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_primitive​s_addon(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
258 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="dt">void</​span>·​al_shutdown_primitive​s_addon(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
259 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​primitives.​c#L60">Source·​Code</​a></​p>256 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​primitives.​c#L60">Source·​Code</​a></​p>
260 <p>Shut·​down·​the·​primitives·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>257 <p>Shut·​down·​the·​primitives·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>
261 <p>See·​also:​·​<a·​href="primitives.​html#al_init_primitiv​es_addon">al_init_pri​mitives_addon</​a></​p>258 <p>See·​also:​·​<a·​href="primitives.​html#al_init_primitiv​es_addon">al_init_pri​mitives_addon</​a></​p>
262 <h1·​id="high-​level-​drawing-​routines">High·​level·​drawing·​routines</​h1>259 <h1·​id="high-​level-​drawing-​routines">High·​level·​drawing·​routines</​h1>
263 <p>High·​level·​drawing·​routines·​encompass·​the·​most·​common·​usage·​of·​this·​addon:​·​to·​draw·​geometric·​primitives,​·​both·​smooth·​(variations·​on·​the·​circle·​theme)​·​and·​piecewise·​linear.​·​Outlined·​primitives·​support·​the·​concept·​of·​thickness·​with·​two·​distinct·​modes·​of·​output:​·​hairline·​lines·​and·​thick·​lines.​·​Hairline·​lines·​are·​specifically·​designed·​to·​be·​exactly·​a·​pixel·​wide,​·​and·​are·​commonly·​used·​for·​drawing·​outlined·​figures·​that·​need·​to·​be·​a·​pixel·​wide.​·​Hairline·​thickness·​is·​designated·​as·​thickness·​less·​than·​or·​equal·​to·​0.​·​Unfortunately,​·​the·​exact·​rasterization·​rules·​for·​drawing·​these·​hairline·​lines·​vary·​from·​one·​video·​card·​to·​another,​·​and·​sometimes·​leave·​gaps·​where·​the·​lines·​meet.​·​If·​that·​matters·​to·​you,​·​then·​you·​should·​use·​thick·​lines.​·​In·​many·​cases,​·​having·​a·​thickness·​of·​1·​will·​produce·​1·​pixel·​wide·​lines·​that·​look·​better·​than·​hairline·​lines.​·​Obviously,​·​hairline·​lines·​cannot·​replicate·​thicknesses·​greater·​than·​1.​·​Thick·​lines·​grow·​symmetrically·​around·​the·​generating·​shape·​as·​thickness·​is·​increased.​</​p>260 <p>High·​level·​drawing·​routines·​encompass·​the·​most·​common·​usage·​of·​this·​addon:​·​to·​draw·​geometric·​primitives,​·​both·​smooth·​(variations·​on·​the·​circle·​theme)​·​and·​piecewise·​linear.​·​Outlined·​primitives·​support·​the·​concept·​of·​thickness·​with·​two·​distinct·​modes·​of·​output:​·​hairline·​lines·​and·​thick·​lines.​·​Hairline·​lines·​are·​specifically·​designed·​to·​be·​exactly·​a·​pixel·​wide,​·​and·​are·​commonly·​used·​for·​drawing·​outlined·​figures·​that·​need·​to·​be·​a·​pixel·​wide.​·​Hairline·​thickness·​is·​designated·​as·​thickness·​less·​than·​or·​equal·​to·​0.​·​Unfortunately,​·​the·​exact·​rasterization·​rules·​for·​drawing·​these·​hairline·​lines·​vary·​from·​one·​video·​card·​to·​another,​·​and·​sometimes·​leave·​gaps·​where·​the·​lines·​meet.​·​If·​that·​matters·​to·​you,​·​then·​you·​should·​use·​thick·​lines.​·​In·​many·​cases,​·​having·​a·​thickness·​of·​1·​will·​produce·​1·​pixel·​wide·​lines·​that·​look·​better·​than·​hairline·​lines.​·​Obviously,​·​hairline·​lines·​cannot·​replicate·​thicknesses·​greater·​than·​1.​·​Thick·​lines·​grow·​symmetrically·​around·​the·​generating·​shape·​as·​thickness·​is·​increased.​</​p>
264 <h2·​id="pixel-​precise-​output">Pixel-​precise·​output</​h2>261 <h2·​id="pixel-​precise-​output">Pixel-​precise·​output</​h2>
265 <p>While·​normally·​you·​should·​not·​be·​too·​concerned·​with·​which·​pixels·​are·​displayed·​when·​the·​high·​level·​primitives·​are·​drawn,​·​it·​is·​nevertheless·​possible·​to·​control·​that·​precisely·​by·​carefully·​picking·​the·​coordinates·​at·​which·​you·​draw·​those·​primitives.​</​p>262 <p>While·​normally·​you·​should·​not·​be·​too·​concerned·​with·​which·​pixels·​are·​displayed·​when·​the·​high·​level·​primitives·​are·​drawn,​·​it·​is·​nevertheless·​possible·​to·​control·​that·​precisely·​by·​carefully·​picking·​the·​coordinates·​at·​which·​you·​draw·​those·​primitives.​</​p>
Offset 282, 116 lines modifiedOffset 279, 99 lines modified
282 </​figure>279 </​figure>
283 <p>It·​can·​be·​seen·​that·​lines·​are·​generated·​by·​making·​a·​rectangle·​based·​on·​the·​dashed·​line·​between·​the·​two·​endpoints.​·​The·​thickness·​causes·​the·​rectangle·​to·​grow·​symmetrically·​about·​that·​generating·​line,​·​as·​can·​be·​seen·​by·​comparing·​the·​red·​and·​blue·​lines.​·​Note·​that·​to·​get·​proper·​pixel·​coverage,​·​the·​coordinates·​passed·​to·​the·​<code>al_draw_line</​code>·​had·​to·​be·​offset·​by·​0.​5·​in·​the·​appropriate·​dimensions.​</​p>280 <p>It·​can·​be·​seen·​that·​lines·​are·​generated·​by·​making·​a·​rectangle·​based·​on·​the·​dashed·​line·​between·​the·​two·​endpoints.​·​The·​thickness·​causes·​the·​rectangle·​to·​grow·​symmetrically·​about·​that·​generating·​line,​·​as·​can·​be·​seen·​by·​comparing·​the·​red·​and·​blue·​lines.​·​Note·​that·​to·​get·​proper·​pixel·​coverage,​·​the·​coordinates·​passed·​to·​the·​<code>al_draw_line</​code>·​had·​to·​be·​offset·​by·​0.​5·​in·​the·​appropriate·​dimensions.​</​p>
284 <p>Filled·​rectangles·​are·​generated·​by·​making·​a·​rectangle·​between·​the·​endpoints·​passed·​to·​the·​<code>al_draw_filled_​rectangle</​code>.​</​p>281 <p>Filled·​rectangles·​are·​generated·​by·​making·​a·​rectangle·​between·​the·​endpoints·​passed·​to·​the·​<code>al_draw_filled_​rectangle</​code>.​</​p>
285 <p>Outlined·​rectangles·​are·​generated·​by·​symmetrically·​expanding·​an·​outline·​of·​a·​rectangle.​·​With·​a·​thickness·​of·​1,​·​as·​depicted·​in·​the·​diagram,​·​this·​means·​that·​an·​offset·​of·​0.​5·​is·​needed·​for·​both·​sets·​of·​endpoint·​coordinates·​to·​exactly·​line·​up·​with·​the·​pixels·​of·​the·​display·​raster.​</​p>282 <p>Outlined·​rectangles·​are·​generated·​by·​symmetrically·​expanding·​an·​outline·​of·​a·​rectangle.​·​With·​a·​thickness·​of·​1,​·​as·​depicted·​in·​the·​diagram,​·​this·​means·​that·​an·​offset·​of·​0.​5·​is·​needed·​for·​both·​sets·​of·​endpoint·​coordinates·​to·​exactly·​line·​up·​with·​the·​pixels·​of·​the·​display·​raster.​</​p>
286 <p>The·​above·​rules·​only·​apply·​when·​multisampling·​is·​turned·​off.​·​When·​multisampling·​is·​turned·​on,​·​the·​area·​of·​a·​pixel·​that·​is·​covered·​by·​a·​shape·​is·​taken·​into·​account·​when·​choosing·​what·​color·​to·​draw·​there.​·​This·​also·​means·​that·​shapes·​no·​longer·​have·​to·​contain·​the·​pixel’s·​center·​to·​affect·​its·​color.​·​For·​example,​·​the·​green·​rectangle·​in·​the·​first·​diagram·​may·​in·​fact·​be·​drawn·​as·​two·​(or·​one)​·​semi-​transparent·​pixels.​·​The·​advantages·​of·​multisampling·​is·​that·​slanted·​shapes·​will·​look·​smoother·​because·​they·​will·​not·​have·​jagged·​edges.​·​A·​disadvantage·​of·​multisampling·​is·​that·​it·​may·​make·​vertical·​and·​horizontal·​edges·​blurry.​·​While·​the·​exact·​rules·​for·​multisampling·​are·​unspecified,​·​and·​may·​vary·​from·​GPU·​to·​GPU,​·​it·​is·​usually·​safe·​to·​assume·​that·​as·​long·​as·​a·​pixel·​is·​either·​completely·​covered·​by·​a·​shape·​or·​completely·​not·​covered,​·​then·​the·​shape·​edges·​will·​be·​sharp.​·​The·​offsets·​used·​in·​the·​second·​diagram·​were·​chosen·​so·​that·​this·​is·​the·​case:​·​if·​you·​use·​those·​offsets,​·​your·​shapes·​(if·​they·​are·​oriented·​the·​same·​way·​as·​they·​are·​on·​the·​diagram)​·​should·​look·​the·​same·​whether·​multisampling·​is·​turned·​on·​or·​off.​</​p>283 <p>The·​above·​rules·​only·​apply·​when·​multisampling·​is·​turned·​off.​·​When·​multisampling·​is·​turned·​on,​·​the·​area·​of·​a·​pixel·​that·​is·​covered·​by·​a·​shape·​is·​taken·​into·​account·​when·​choosing·​what·​color·​to·​draw·​there.​·​This·​also·​means·​that·​shapes·​no·​longer·​have·​to·​contain·​the·​pixel’s·​center·​to·​affect·​its·​color.​·​For·​example,​·​the·​green·​rectangle·​in·​the·​first·​diagram·​may·​in·​fact·​be·​drawn·​as·​two·​(or·​one)​·​semi-​transparent·​pixels.​·​The·​advantages·​of·​multisampling·​is·​that·​slanted·​shapes·​will·​look·​smoother·​because·​they·​will·​not·​have·​jagged·​edges.​·​A·​disadvantage·​of·​multisampling·​is·​that·​it·​may·​make·​vertical·​and·​horizontal·​edges·​blurry.​·​While·​the·​exact·​rules·​for·​multisampling·​are·​unspecified,​·​and·​may·​vary·​from·​GPU·​to·​GPU,​·​it·​is·​usually·​safe·​to·​assume·​that·​as·​long·​as·​a·​pixel·​is·​either·​completely·​covered·​by·​a·​shape·​or·​completely·​not·​covered,​·​then·​the·​shape·​edges·​will·​be·​sharp.​·​The·​offsets·​used·​in·​the·​second·​diagram·​were·​chosen·​so·​that·​this·​is·​the·​case:​·​if·​you·​use·​those·​offsets,​·​your·​shapes·​(if·​they·​are·​oriented·​the·​same·​way·​as·​they·​are·​on·​the·​diagram)​·​should·​look·​the·​same·​whether·​multisampling·​is·​turned·​on·​or·​off.​</​p>
287 <h2·​id="al_draw_line">al_​draw_line</​h2>284 <h2·​id="al_draw_line">al_​draw_line</​h2>
288 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_line(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>285 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_line(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>
289 <a·​class="sourceLine"·​id="cb6-​2"·​title="2">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a>286 <a·​class="sourceLine"·​id="cb6-​2"·​title="2">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div>
290 <a·​class="sourceLine"·​id="cb6-​3"·​title="3"><span·​class="dt">void</​span>·​al_draw_line(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a> 
291 <a·​class="sourceLine"·​id="cb6-​4"·​title="4">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div> 
292 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L77">Source·​Code</​a></​p>287 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L77">Source·​Code</​a></​p>
293 <p>Draws·​a·​line·​segment·​between·​two·​points.​</​p>288 <p>Draws·​a·​line·​segment·​between·​two·​points.​</​p>
294 <p><em>Parameters:​</​em></​p>289 <p><em>Parameters:​</​em></​p>
295 <ul>290 <ul>
296 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Start·​and·​end·​points·​of·​the·​line</​li>291 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Start·​and·​end·​points·​of·​the·​line</​li>
297 <li>color·​-​·​Color·​of·​the·​line</​li>292 <li>color·​-​·​Color·​of·​the·​line</​li>
298 <li>thickness·​-​·​Thickness·​of·​the·​line,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>293 <li>thickness·​-​·​Thickness·​of·​the·​line,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>
299 </​ul>294 </​ul>
300 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_soft_lin​e">al_draw_soft_line<​/​a></​p>295 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_soft_lin​e">al_draw_soft_line<​/​a></​p>
301 <h2·​id="al_draw_triangle"​>al_draw_triangle</​h2>296 <h2·​id="al_draw_triangle"​>al_draw_triangle</​h2>
302 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_triangle(<spa​n·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>297 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_triangle(<spa​n·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>
303 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">···​<span·​class="dt">float</​span>·​x3,​·​<span·​class="dt">float</​span>·​y3,​·​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a>298 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">···​<span·​class="dt">float</​span>·​x3,​·​<span·​class="dt">float</​span>·​y3,​·​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div>
304 <a·​class="sourceLine"·​id="cb7-​3"·​title="3"><span·​class="dt">void</​span>·​al_draw_triangle(<spa​n·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a> 
305 <a·​class="sourceLine"·​id="cb7-​4"·​title="4">···​<span·​class="dt">float</​span>·​x3,​·​<span·​class="dt">float</​span>·​y3,​·​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div> 
306 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L122">Source·​Code</​a></​p>299 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L122">Source·​Code</​a></​p>
307 <p>Draws·​an·​outlined·​triangle.​</​p>300 <p>Draws·​an·​outlined·​triangle.​</​p>
308 <p><em>Parameters:​</​em></​p>301 <p><em>Parameters:​</​em></​p>
309 <ul>302 <ul>
310 <li>x1,​·​y1,​·​x2,​·​y2,​·​x3,​·​y3·​-​·​Three·​points·​of·​the·​triangle</​li>303 <li>x1,​·​y1,​·​x2,​·​y2,​·​x3,​·​y3·​-​·​Three·​points·​of·​the·​triangle</​li>
311 <li>color·​-​·​Color·​of·​the·​triangle</​li>304 <li>color·​-​·​Color·​of·​the·​triangle</​li>
312 <li>thickness·​-​·​Thickness·​of·​the·​lines,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>305 <li>thickness·​-​·​Thickness·​of·​the·​lines,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>
313 </​ul>306 </​ul>
314 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_filled_t​riangle">al_draw_fill​ed_triangle</​a>,​·​<a·​href="primitives.​html#al_draw_soft_tri​angle">al_draw_soft_t​riangle</​a></​p>307 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_filled_t​riangle">al_draw_fill​ed_triangle</​a>,​·​<a·​href="primitives.​html#al_draw_soft_tri​angle">al_draw_soft_t​riangle</​a></​p>
315 <h2·​id="al_draw_filled_tr​iangle">al_draw_fille​d_triangle</​h2>308 <h2·​id="al_draw_filled_tr​iangle">al_draw_fille​d_triangle</​h2>
316 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_filled_triang​le(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>309 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_filled_triang​le(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>
317 <a·​class="sourceLine"·​id="cb8-​2"·​title="2">···​<span·​class="dt">float</​span>·​x3,​·​<span·​class="dt">float</​span>·​y3,​·​ALLEGRO_COLOR·​color)​</​a>310 <a·​class="sourceLine"·​id="cb8-​2"·​title="2">···​<span·​class="dt">float</​span>·​x3,​·​<span·​class="dt">float</​span>·​y3,​·​ALLEGRO_COLOR·​color)​</​a></​code></​pre></​div>
318 <a·​class="sourceLine"·​id="cb8-​3"·​title="3"><span·​class="dt">void</​span>·​al_draw_filled_triang​le(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a> 
319 <a·​class="sourceLine"·​id="cb8-​4"·​title="4">···​<span·​class="dt">float</​span>·​x3,​·​<span·​class="dt">float</​span>·​y3,​·​ALLEGRO_COLOR·​color)​</​a></​code></​pre></​div> 
320 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L335">Source·​Code</​a></​p>311 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L335">Source·​Code</​a></​p>
321 <p>Draws·​a·​filled·​triangle.​</​p>312 <p>Draws·​a·​filled·​triangle.​</​p>
322 <p><em>Parameters:​</​em></​p>313 <p><em>Parameters:​</​em></​p>
323 <ul>314 <ul>
324 <li>x1,​·​y1,​·​x2,​·​y2,​·​x3,​·​y3·​-​·​Three·​points·​of·​the·​triangle</​li>315 <li>x1,​·​y1,​·​x2,​·​y2,​·​x3,​·​y3·​-​·​Three·​points·​of·​the·​triangle</​li>
325 <li>color·​-​·​Color·​of·​the·​triangle</​li>316 <li>color·​-​·​Color·​of·​the·​triangle</​li>
326 </​ul>317 </​ul>
327 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_triangle​">al_draw_triangle</​a></​p>318 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_triangle​">al_draw_triangle</​a></​p>
328 <h2·​id="al_draw_rectangle​">al_draw_rectangle</​h2>319 <h2·​id="al_draw_rectangle​">al_draw_rectangle</​h2>
329 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_rectangle(<sp​an·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>320 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_rectangle(<sp​an·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>
330 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a>321 <a·​class="sourceLine"·​id="cb9-​2"·​title="2">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div>
331 <a·​class="sourceLine"·​id="cb9-​3"·​title="3"><span·​class="dt">void</​span>·​al_draw_rectangle(<sp​an·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a> 
332 <a·​class="sourceLine"·​id="cb9-​4"·​title="4">···​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div> 
333 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L357">Source·​Code</​a></​p>322 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L357">Source·​Code</​a></​p>
334 <p>Draws·​an·​outlined·​rectangle.​</​p>323 <p>Draws·​an·​outlined·​rectangle.​</​p>
335 <p><em>Parameters:​</​em></​p>324 <p><em>Parameters:​</​em></​p>
336 <ul>325 <ul>
337 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>326 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>
338 <li>color·​-​·​Color·​of·​the·​rectangle</​li>327 <li>color·​-​·​Color·​of·​the·​rectangle</​li>
339 <li>thickness·​-​·​Thickness·​of·​the·​lines,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>328 <li>thickness·​-​·​Thickness·​of·​the·​lines,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>
340 </​ul>329 </​ul>
341 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_filled_r​ectangle">al_draw_fil​led_rectangle</​a>,​·​<a·​href="primitives.​html#al_draw_rounded_​rectangle">al_draw_ro​unded_rectangle</​a></​p>330 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_filled_r​ectangle">al_draw_fil​led_rectangle</​a>,​·​<a·​href="primitives.​html#al_draw_rounded_​rectangle">al_draw_ro​unded_rectangle</​a></​p>
342 <h2·​id="al_draw_filled_re​ctangle">al_draw_fill​ed_rectangle</​h2>331 <h2·​id="al_draw_filled_re​ctangle">al_draw_fill​ed_rectangle</​h2>
343 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_filled_rectan​gle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>332 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_filled_rectan​gle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>
344 <a·​class="sourceLine"·​id="cb10-​2"·​title="2">···​ALLEGRO_COLOR·​color)​</​a>333 <a·​class="sourceLine"·​id="cb10-​2"·​title="2">···​ALLEGRO_COLOR·​color)​</​a></​code></​pre></​div>
345 <a·​class="sourceLine"·​id="cb10-​3"·​title="3"><span·​class="dt">void</​span>·​al_draw_filled_rectan​gle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a> 
346 <a·​class="sourceLine"·​id="cb10-​4"·​title="4">···​ALLEGRO_COLOR·​color)​</​a></​code></​pre></​div> 
347 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L402">Source·​Code</​a></​p>334 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L402">Source·​Code</​a></​p>
348 <p>Draws·​a·​filled·​rectangle.​</​p>335 <p>Draws·​a·​filled·​rectangle.​</​p>
349 <p><em>Parameters:​</​em></​p>336 <p><em>Parameters:​</​em></​p>
350 <ul>337 <ul>
351 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>338 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>
352 <li>color·​-​·​Color·​of·​the·​rectangle</​li>339 <li>color·​-​·​Color·​of·​the·​rectangle</​li>
353 </​ul>340 </​ul>
354 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_rectangl​e">al_draw_rectangle<​/​a>,​·​<a·​href="primitives.​html#al_draw_filled_r​ounded_rectangle">al_​draw_filled_rounded_r​ectangle</​a></​p>341 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_rectangl​e">al_draw_rectangle<​/​a>,​·​<a·​href="primitives.​html#al_draw_filled_r​ounded_rectangle">al_​draw_filled_rounded_r​ectangle</​a></​p>
355 <h2·​id="al_draw_rounded_r​ectangle">al_draw_rou​nded_rectangle</​h2>342 <h2·​id="al_draw_rounded_r​ectangle">al_draw_rou​nded_rectangle</​h2>
356 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_rounded_recta​ngle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>343 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_rounded_recta​ngle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>
357 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">···​<span·​class="dt">float</​span>·​rx,​·​<span·​class="dt">float</​span>·​ry,​·​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a>344 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">···​<span·​class="dt">float</​span>·​rx,​·​<span·​class="dt">float</​span>·​ry,​·​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div>
358 <a·​class="sourceLine"·​id="cb11-​3"·​title="3"><span·​class="dt">void</​span>·​al_draw_rounded_recta​ngle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a> 
359 <a·​class="sourceLine"·​id="cb11-​4"·​title="4">···​<span·​class="dt">float</​span>·​rx,​·​<span·​class="dt">float</​span>·​ry,​·​ALLEGRO_COLOR·​color,​·​<span·​class="dt">float</​span>·​thickness)​</​a></​code></​pre></​div> 
360 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L851">Source·​Code</​a></​p>345 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L851">Source·​Code</​a></​p>
361 <p>Draws·​an·​outlined·​rounded·​rectangle.​</​p>346 <p>Draws·​an·​outlined·​rounded·​rectangle.​</​p>
362 <p><em>Parameters:​</​em></​p>347 <p><em>Parameters:​</​em></​p>
363 <ul>348 <ul>
364 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>349 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>
365 <li>color·​-​·​Color·​of·​the·​rectangle</​li>350 <li>color·​-​·​Color·​of·​the·​rectangle</​li>
366 <li>rx,​·​ry·​-​·​The·​radii·​of·​the·​round</​li>351 <li>rx,​·​ry·​-​·​The·​radii·​of·​the·​round</​li>
367 <li>thickness·​-​·​Thickness·​of·​the·​lines,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>352 <li>thickness·​-​·​Thickness·​of·​the·​lines,​·​pass·​<code>&lt;​=·​0</​code>·​to·​draw·​hairline·​lines</​li>
368 </​ul>353 </​ul>
369 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_filled_r​ounded_rectangle">al_​draw_filled_rounded_r​ectangle</​a>,​·​<a·​href="primitives.​html#al_draw_rectangl​e">al_draw_rectangle<​/​a></​p>354 <p>See·​also:​·​<a·​href="primitives.​html#al_draw_filled_r​ounded_rectangle">al_​draw_filled_rounded_r​ectangle</​a>,​·​<a·​href="primitives.​html#al_draw_rectangl​e">al_draw_rectangle<​/​a></​p>
370 <h2·​id="al_draw_filled_ro​unded_rectangle">al_d​raw_filled_rounded_re​ctangle</​h2>355 <h2·​id="al_draw_filled_ro​unded_rectangle">al_d​raw_filled_rounded_re​ctangle</​h2>
371 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_filled_rounde​d_rectangle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>356 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">void</​span>·​al_draw_filled_rounde​d_rectangle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a>
372 <a·​class="sourceLine"·​id="cb12-​2"·​title="2">···​<span·​class="dt">float</​span>·​rx,​·​<span·​class="dt">float</​span>·​ry,​·​ALLEGRO_COLOR·​color)​</​a>357 <a·​class="sourceLine"·​id="cb12-​2"·​title="2">···​<span·​class="dt">float</​span>·​rx,​·​<span·​class="dt">float</​span>·​ry,​·​ALLEGRO_COLOR·​color)​</​a></​code></​pre></​div>
373 <a·​class="sourceLine"·​id="cb12-​3"·​title="3"><span·​class="dt">void</​span>·​al_draw_filled_rounde​d_rectangle(<span·​class="dt">float</​span>·​x1,​·​<span·​class="dt">float</​span>·​y1,​·​<span·​class="dt">float</​span>·​x2,​·​<span·​class="dt">float</​span>·​y2,​</​a> 
374 <a·​class="sourceLine"·​id="cb12-​4"·​title="4">···​<span·​class="dt">float</​span>·​rx,​·​<span·​class="dt">float</​span>·​ry,​·​ALLEGRO_COLOR·​color)​</​a></​code></​pre></​div> 
375 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L949">Source·​Code</​a></​p>358 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​primitives/​high_primitives.​c#L949">Source·​Code</​a></​p>
376 <p>Draws·​an·​filled·​rounded·​rectangle.​</​p>359 <p>Draws·​an·​filled·​rounded·​rectangle.​</​p>
377 <p><em>Parameters:​</​em></​p>360 <p><em>Parameters:​</​em></​p>
378 <ul>361 <ul>
379 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>362 <li>x1,​·​y1,​·​x2,​·​y2·​-​·​Upper·​left·​and·​lower·​right·​points·​of·​the·​rectangle</​li>
Max diff block lines reached; 92281/110040 bytes (83.86%) of diff not shown.
6.02 KB
./usr/share/doc/allegro5-doc/refman/shader.html
    
Offset 180, 23 lines modifiedOffset 180, 21 lines modified
180 <li><a·​href="#al_set_shader_​float_vector">al_set_​shader_float_vector</​a></​li>180 <li><a·​href="#al_set_shader_​float_vector">al_set_​shader_float_vector</​a></​li>
181 <li><a·​href="#al_get_default​_shader_source">al_ge​t_default_shader_sour​ce</​a></​li>181 <li><a·​href="#al_get_default​_shader_source">al_ge​t_default_shader_sour​ce</​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"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>185 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
186 <h1·​id="allegro_shader">A​LLEGRO_SHADER</​h1>186 <h1·​id="allegro_shader">A​LLEGRO_SHADER</​h1>
187 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SHADER·​ALLEGRO_SHADER;​</​a>187 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SHADER·​ALLEGRO_SHADER;​</​a></​code></​pre></​div>
188 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_SHADER·​ALLEGRO_SHADER;​</​a></​code></​pre></​div> 
189 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​shader.​h#L14">Source·​Code</​a></​p>188 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​shader.​h#L14">Source·​Code</​a></​p>
190 <p>An·​<a·​href="shader.​html#allegro_shader">​ALLEGRO_SHADER</​a>·​is·​a·​program·​that·​runs·​on·​the·​GPU.​·​It·​combines·​both·​a·​vertex·​and·​a·​pixel·​shader.​·​(In·​OpenGL·​terms,​·​an·​<a·​href="shader.​html#allegro_shader">​ALLEGRO_SHADER</​a>·​is·​actually·​a·​<em>program</​em>·​which·​has·​one·​or·​more·​<em>shaders</​em>·​attached.​·​This·​can·​be·​confusing.​)​</​p>189 <p>An·​<a·​href="shader.​html#allegro_shader">​ALLEGRO_SHADER</​a>·​is·​a·​program·​that·​runs·​on·​the·​GPU.​·​It·​combines·​both·​a·​vertex·​and·​a·​pixel·​shader.​·​(In·​OpenGL·​terms,​·​an·​<a·​href="shader.​html#allegro_shader">​ALLEGRO_SHADER</​a>·​is·​actually·​a·​<em>program</​em>·​which·​has·​one·​or·​more·​<em>shaders</​em>·​attached.​·​This·​can·​be·​confusing.​)​</​p>
191 <p>The·​source·​code·​for·​the·​underlying·​vertex·​or·​pixel·​shader·​can·​be·​provided·​either·​as·​GLSL·​or·​HLSL,​·​depending·​on·​the·​value·​of·​<a·​href="shader.​html#allegro_shader_p​latform">ALLEGRO_SHAD​ER_PLATFORM</​a>·​used·​when·​creating·​it.​</​p>190 <p>The·​source·​code·​for·​the·​underlying·​vertex·​or·​pixel·​shader·​can·​be·​provided·​either·​as·​GLSL·​or·​HLSL,​·​depending·​on·​the·​value·​of·​<a·​href="shader.​html#allegro_shader_p​latform">ALLEGRO_SHAD​ER_PLATFORM</​a>·​used·​when·​creating·​it.​</​p>
192 <p>Since:​·​5.​1.​0</​p>191 <p>Since:​·​5.​1.​0</​p>
193 <h1·​id="allegro_shader_ty​pe">ALLEGRO_SHADER_TY​PE</​h1>192 <h1·​id="allegro_shader_ty​pe">ALLEGRO_SHADER_TY​PE</​h1>
194 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SHADER_TYPE·​ALLEGRO_SHADER_TYPE;​</​a>193 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SHADER_TYPE·​ALLEGRO_SHADER_TYPE;​</​a></​code></​pre></​div>
195 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SHADER_TYPE·​ALLEGRO_SHADER_TYPE;​</​a></​code></​pre></​div> 
196 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​shader.​h#L23">Source·​Code</​a></​p>194 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​shader.​h#L23">Source·​Code</​a></​p>
197 <p>Used·​with·​<a·​href="shader.​html#al_attach_shader​_source">al_attach_sh​ader_source</​a>·​and·​<a·​href="shader.​html#al_attach_shader​_source_file">al_atta​ch_shader_source_file​</​a>·​to·​specify·​how·​to·​interpret·​the·​attached·​source.​</​p>195 <p>Used·​with·​<a·​href="shader.​html#al_attach_shader​_source">al_attach_sh​ader_source</​a>·​and·​<a·​href="shader.​html#al_attach_shader​_source_file">al_atta​ch_shader_source_file​</​a>·​to·​specify·​how·​to·​interpret·​the·​attached·​source.​</​p>
198 <dl>196 <dl>
199 <dt>ALLEGRO_VERTEX_SH​ADER</​dt>197 <dt>ALLEGRO_VERTEX_SH​ADER</​dt>
200 <dd><p>A·​vertex·​shader·​is·​executed·​for·​each·​vertex·​it·​is·​used·​with.​·​The·​program·​will·​output·​exactly·​one·​vertex·​at·​a·​time.​</​p>198 <dd><p>A·​vertex·​shader·​is·​executed·​for·​each·​vertex·​it·​is·​used·​with.​·​The·​program·​will·​output·​exactly·​one·​vertex·​at·​a·​time.​</​p>
201 <p>When·​Allegro’s·​graphics·​are·​being·​used·​then·​in·​addition·​to·​all·​vertices·​of·​primitives·​from·​the·​primitives·​addon,​·​each·​drawn·​bitmap·​also·​consists·​of·​four·​vertices.​</​p>199 <p>When·​Allegro’s·​graphics·​are·​being·​used·​then·​in·​addition·​to·​all·​vertices·​of·​primitives·​from·​the·​primitives·​addon,​·​each·​drawn·​bitmap·​also·​consists·​of·​four·​vertices.​</​p>
202 </​dd>200 </​dd>
Offset 204, 16 lines modifiedOffset 202, 15 lines modified
204 <dd><p>A·​pixel·​shader·​is·​executed·​for·​each·​pixel·​it·​is·​used·​with.​·​The·​program·​will·​output·​exactly·​one·​pixel·​at·​a·​time·​-​·​either·​in·​the·​backbuffer·​or·​in·​the·​current·​target·​bitmap.​</​p>202 <dd><p>A·​pixel·​shader·​is·​executed·​for·​each·​pixel·​it·​is·​used·​with.​·​The·​program·​will·​output·​exactly·​one·​pixel·​at·​a·​time·​-​·​either·​in·​the·​backbuffer·​or·​in·​the·​current·​target·​bitmap.​</​p>
205 <p>With·​Allegro’s·​builtin·​graphics·​this·​means·​the·​shader·​is·​for·​example·​called·​for·​each·​destination·​pixel·​of·​the·​output·​of·​an·​<a·​href="graphics.​html#al_draw_bitmap">​al_draw_bitmap</​a>·​call.​</​p>203 <p>With·​Allegro’s·​builtin·​graphics·​this·​means·​the·​shader·​is·​for·​example·​called·​for·​each·​destination·​pixel·​of·​the·​output·​of·​an·​<a·​href="graphics.​html#al_draw_bitmap">​al_draw_bitmap</​a>·​call.​</​p>
206 <p>A·​more·​accurate·​term·​for·​pixel·​shader·​would·​be·​fragment·​shader·​since·​one·​final·​pixel·​in·​the·​target·​bitmap·​is·​not·​necessarily·​composed·​of·​only·​a·​single·​output·​but·​of·​multiple·​fragments·​(for·​example·​when·​multi-​sampling·​is·​being·​used)​.​</​p>204 <p>A·​more·​accurate·​term·​for·​pixel·​shader·​would·​be·​fragment·​shader·​since·​one·​final·​pixel·​in·​the·​target·​bitmap·​is·​not·​necessarily·​composed·​of·​only·​a·​single·​output·​but·​of·​multiple·​fragments·​(for·​example·​when·​multi-​sampling·​is·​being·​used)​.​</​p>
207 </​dd>205 </​dd>
208 </​dl>206 </​dl>
209 <p>Since:​·​5.​1.​0</​p>207 <p>Since:​·​5.​1.​0</​p>
210 <h1·​id="allegro_shader_pl​atform">ALLEGRO_SHADE​R_PLATFORM</​h1>208 <h1·​id="allegro_shader_pl​atform">ALLEGRO_SHADE​R_PLATFORM</​h1>
211 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SHADER_PLATFO​RM·​ALLEGRO_SHADER_PLATFO​RM;​</​a>209 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SHADER_PLATFO​RM·​ALLEGRO_SHADER_PLATFO​RM;​</​a></​code></​pre></​div>
212 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_SHADER_PLATFO​RM·​ALLEGRO_SHADER_PLATFO​RM;​</​a></​code></​pre></​div> 
213 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​shader.​h#L33">Source·​Code</​a></​p>210 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​shader.​h#L33">Source·​Code</​a></​p>
214 <p>The·​underlying·​platform·​which·​the·​<a·​href="shader.​html#allegro_shader">​ALLEGRO_SHADER</​a>·​is·​built·​on·​top·​of,​·​which·​dictates·​the·​language·​used·​to·​program·​the·​shader.​</​p>211 <p>The·​underlying·​platform·​which·​the·​<a·​href="shader.​html#allegro_shader">​ALLEGRO_SHADER</​a>·​is·​built·​on·​top·​of,​·​which·​dictates·​the·​language·​used·​to·​program·​the·​shader.​</​p>
215 <ul>212 <ul>
216 <li>ALLEGRO_SHADER_AU​TO</​li>213 <li>ALLEGRO_SHADER_AU​TO</​li>
217 <li>ALLEGRO_SHADER_GL​SL·​-​·​OpenGL·​Shading·​Language</​li>214 <li>ALLEGRO_SHADER_GL​SL·​-​·​OpenGL·​Shading·​Language</​li>
218 <li>ALLEGRO_SHADER_HL​SL·​-​·​High·​Level·​Shader·​Language·​(for·​Direct3D)​</​li>215 <li>ALLEGRO_SHADER_HL​SL·​-​·​High·​Level·​Shader·​Language·​(for·​Direct3D)​</​li>
219 </​ul>216 </​ul>
Offset 406, 12 lines modifiedOffset 403, 12 lines modified
406 <a·​class="sourceLine"·​id="cb21-​2"·​title="2">···​ALLEGRO_SHADER_TYPE·​type)​</​a></​code></​pre></​div>403 <a·​class="sourceLine"·​id="cb21-​2"·​title="2">···​ALLEGRO_SHADER_TYPE·​type)​</​a></​code></​pre></​div>
407 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​shader.​c#L381">Source·​Code</​a></​p>404 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​shader.​c#L381">Source·​Code</​a></​p>
408 <p>Returns·​a·​string·​containing·​the·​source·​code·​to·​Allegro’s·​default·​vertex·​or·​pixel·​shader·​appropriate·​for·​the·​passed·​platform.​·​The·​ALLEGRO_SHADER_AUTO·​value·​means·​GLSL·​is·​used·​if·​OpenGL·​is·​being·​used·​otherwise·​HLSL.​·​ALLEGRO_SHADER_AUTO·​requires·​that·​there·​is·​a·​current·​display·​set·​on·​the·​calling·​thread.​·​This·​function·​can·​return·​NULL·​if·​Allegro·​was·​built·​without·​support·​for·​shaders·​of·​the·​selected·​platform.​</​p>405 <p>Returns·​a·​string·​containing·​the·​source·​code·​to·​Allegro’s·​default·​vertex·​or·​pixel·​shader·​appropriate·​for·​the·​passed·​platform.​·​The·​ALLEGRO_SHADER_AUTO·​value·​means·​GLSL·​is·​used·​if·​OpenGL·​is·​being·​used·​otherwise·​HLSL.​·​ALLEGRO_SHADER_AUTO·​requires·​that·​there·​is·​a·​current·​display·​set·​on·​the·​calling·​thread.​·​This·​function·​can·​return·​NULL·​if·​Allegro·​was·​built·​without·​support·​for·​shaders·​of·​the·​selected·​platform.​</​p>
409 <p>Since:​·​5.​1.​6</​p>406 <p>Since:​·​5.​1.​6</​p>
410 <p>See·​also:​·​<a·​href="shader.​html#al_attach_shader​_source">al_attach_sh​ader_source</​a></​p>407 <p>See·​also:​·​<a·​href="shader.​html#al_attach_shader​_source">al_attach_sh​ader_source</​a></​p>
411 <p·​class="timestamp">408 <p·​class="timestamp">
412 Allegro·​version·​5.​2.​4409 Allegro·​version·​5.​2.​4
413 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​26·​UTC410 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​46·​UTC
414 </​p>411 </​p>
415 </​div>412 </​div>
416 </​body>413 </​body>
417 </​html>414 </​html>
4.43 KB
./usr/share/doc/allegro5-doc/refman/state.html
    
Offset 167, 16 lines modifiedOffset 167, 15 lines modified
167 <li><a·​href="#al_get_errno">​al_get_errno</​a></​li>167 <li><a·​href="#al_get_errno">​al_get_errno</​a></​li>
168 <li><a·​href="#al_set_errno">​al_set_errno</​a></​li>168 <li><a·​href="#al_set_errno">​al_set_errno</​a></​li>
169 </​ul>169 </​ul>
170 </​nav>170 </​nav>
171 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>171 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
172 <pre><code>·​#include·​&lt;​allegro5/​allegro.​h&gt;​</​code></​pre>172 <pre><code>·​#include·​&lt;​allegro5/​allegro.​h&gt;​</​code></​pre>
173 <h1·​id="allegro_state">AL​LEGRO_STATE</​h1>173 <h1·​id="allegro_state">AL​LEGRO_STATE</​h1>
174 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_STATE·​ALLEGRO_STATE;​</​a>174 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_STATE·​ALLEGRO_STATE;​</​a></​code></​pre></​div>
175 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_STATE·​ALLEGRO_STATE;​</​a></​code></​pre></​div> 
176 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​tls.​h#L49">Source·​Code</​a></​p>175 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​tls.​h#L49">Source·​Code</​a></​p>
177 <p>Opaque·​type·​which·​is·​passed·​to·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>176 <p>Opaque·​type·​which·​is·​passed·​to·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>.​</​p>
178 <p>The·​various·​state·​kept·​internally·​by·​Allegro·​can·​be·​displayed·​like·​this:​</​p>177 <p>The·​various·​state·​kept·​internally·​by·​Allegro·​can·​be·​displayed·​like·​this:​</​p>
179 <pre><code>··​global178 <pre><code>··​global
180 ······​active·​system·​driver179 ······​active·​system·​driver
181 ··········​current·​config180 ··········​current·​config
182 ··​per·​thread181 ··​per·​thread
Offset 191, 16 lines modifiedOffset 190, 15 lines modified
191 ··········​current·​transformation190 ··········​current·​transformation
192 ··········​current·​projection·​transformation191 ··········​current·​projection·​transformation
193 ··········​current·​clipping·​rectangle192 ··········​current·​clipping·​rectangle
194 ··········​bitmap·​locking193 ··········​bitmap·​locking
195 ··········​current·​shader</​code></​pre>194 ··········​current·​shader</​code></​pre>
196 <p>In·​general,​·​the·​only·​real·​global·​state·​is·​the·​active·​system·​driver.​·​All·​other·​global·​state·​is·​per-​thread,​·​so·​if·​your·​application·​has·​multiple·​separate·​threads·​they·​never·​will·​interfere·​with·​each·​other.​·​(Except·​if·​there·​are·​objects·​accessed·​by·​multiple·​threads·​of·​course.​·​Usually·​you·​want·​to·​minimize·​that·​though·​and·​for·​the·​remaining·​cases·​use·​synchronization·​primitives·​described·​in·​the·​threads·​section·​or·​events·​described·​in·​the·​events·​section·​to·​control·​inter-​thread·​communication.​)​</​p>195 <p>In·​general,​·​the·​only·​real·​global·​state·​is·​the·​active·​system·​driver.​·​All·​other·​global·​state·​is·​per-​thread,​·​so·​if·​your·​application·​has·​multiple·​separate·​threads·​they·​never·​will·​interfere·​with·​each·​other.​·​(Except·​if·​there·​are·​objects·​accessed·​by·​multiple·​threads·​of·​course.​·​Usually·​you·​want·​to·​minimize·​that·​though·​and·​for·​the·​remaining·​cases·​use·​synchronization·​primitives·​described·​in·​the·​threads·​section·​or·​events·​described·​in·​the·​events·​section·​to·​control·​inter-​thread·​communication.​)​</​p>
197 <h1·​id="allegro_state_fla​gs">ALLEGRO_STATE_FLA​GS</​h1>196 <h1·​id="allegro_state_fla​gs">ALLEGRO_STATE_FLA​GS</​h1>
198 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_STATE_FLAGS</​a>197 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_STATE_FLAGS</​a></​code></​pre></​div>
199 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_STATE_FLAGS</​a></​code></​pre></​div> 
200 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​tls.​h#L28">Source·​Code</​a></​p>198 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​tls.​h#L28">Source·​Code</​a></​p>
201 <p>Flags·​which·​can·​be·​passed·​to·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>·​as·​bit·​combinations.​·​See·​<a·​href="state.​html#al_store_state">​al_store_state</​a>·​for·​the·​list·​of·​flags.​</​p>199 <p>Flags·​which·​can·​be·​passed·​to·​<a·​href="state.​html#al_store_state">​al_store_state</​a>/​<a·​href="state.​html#al_restore_state​">al_restore_state</​a>·​as·​bit·​combinations.​·​See·​<a·​href="state.​html#al_store_state">​al_store_state</​a>·​for·​the·​list·​of·​flags.​</​p>
202 <h1·​id="al_restore_state"​>al_restore_state</​h1>200 <h1·​id="al_restore_state"​>al_restore_state</​h1>
203 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_restore_state(ALLE​GRO_STATE·​<span·​class="dt">const</​span>·​*state)​</​a></​code></​pre></​div>201 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_restore_state(ALLE​GRO_STATE·​<span·​class="dt">const</​span>·​*state)​</​a></​code></​pre></​div>
204 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L764">Source·​Code</​a></​p>202 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L764">Source·​Code</​a></​p>
205 <p>Restores·​part·​of·​the·​state·​of·​the·​current·​thread·​from·​the·​given·​<a·​href="state.​html#allegro_state">A​LLEGRO_STATE</​a>·​object.​</​p>203 <p>Restores·​part·​of·​the·​state·​of·​the·​current·​thread·​from·​the·​given·​<a·​href="state.​html#allegro_state">A​LLEGRO_STATE</​a>·​object.​</​p>
206 <p>See·​also:​·​<a·​href="state.​html#al_store_state">​al_store_state</​a>,​·​<a·​href="state.​html#allegro_state_fl​ags">ALLEGRO_STATE_FL​AGS</​a></​p>204 <p>See·​also:​·​<a·​href="state.​html#al_store_state">​al_store_state</​a>,​·​<a·​href="state.​html#allegro_state_fl​ags">ALLEGRO_STATE_FL​AGS</​a></​p>
Offset 229, 12 lines modifiedOffset 227, 12 lines modified
229 <h1·​id="al_set_errno">al_​set_errno</​h1>227 <h1·​id="al_set_errno">al_​set_errno</​h1>
230 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_errno(<span·​class="dt">int</​span>·​errnum)​</​a>228 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_errno(<span·​class="dt">int</​span>·​errnum)​</​a>
231 <a·​class="sourceLine"·​id="cb8-​2"·​title="2">SETTER(alle​gro_errno,​·​errnum)​</​a></​code></​pre></​div>229 <a·​class="sourceLine"·​id="cb8-​2"·​title="2">SETTER(alle​gro_errno,​·​errnum)​</​a></​code></​pre></​div>
232 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L933">Source·​Code</​a></​p>230 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​tls.​c#L933">Source·​Code</​a></​p>
233 <p>Set·​the·​error·​number·​for·​the·​calling·​thread.​</​p>231 <p>Set·​the·​error·​number·​for·​the·​calling·​thread.​</​p>
234 <p·​class="timestamp">232 <p·​class="timestamp">
235 Allegro·​version·​5.​2.​4233 Allegro·​version·​5.​2.​4
236 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC234 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​41·​UTC
237 </​p>235 </​p>
238 </​div>236 </​div>
239 </​body>237 </​body>
240 </​html>238 </​html>
3.83 KB
./usr/share/doc/allegro5-doc/refman/system.html
    
Offset 187, 16 lines modifiedOffset 187, 15 lines modified
187 <p>The·​version·​field·​should·​always·​be·​set·​to·​ALLEGRO_VERSION_INT.​</​p>187 <p>The·​version·​field·​should·​always·​be·​set·​to·​ALLEGRO_VERSION_INT.​</​p>
188 <p>If·​atexit_ptr·​is·​non-​NULL,​·​and·​if·​hasn’t·​been·​done·​already,​·​<a·​href="system.​html#al_uninstall_sys​tem">al_uninstall_sys​tem</​a>·​will·​be·​registered·​as·​an·​atexit·​function.​</​p>188 <p>If·​atexit_ptr·​is·​non-​NULL,​·​and·​if·​hasn’t·​been·​done·​already,​·​<a·​href="system.​html#al_uninstall_sys​tem">al_uninstall_sys​tem</​a>·​will·​be·​registered·​as·​an·​atexit·​function.​</​p>
189 <p>Returns·​true·​if·​Allegro·​was·​successfully·​initialized·​by·​this·​function·​call·​(or·​already·​was·​initialized·​previously)​,​·​false·​if·​Allegro·​cannot·​be·​used.​·​A·​common·​reason·​for·​this·​function·​to·​fail·​is·​when·​the·​version·​of·​Allegro·​you·​compiled·​your·​game·​against·​is·​not·​compatible·​with·​the·​version·​of·​the·​shared·​libraries·​that·​were·​found·​on·​the·​system.​</​p>189 <p>Returns·​true·​if·​Allegro·​was·​successfully·​initialized·​by·​this·​function·​call·​(or·​already·​was·​initialized·​previously)​,​·​false·​if·​Allegro·​cannot·​be·​used.​·​A·​common·​reason·​for·​this·​function·​to·​fail·​is·​when·​the·​version·​of·​Allegro·​you·​compiled·​your·​game·​against·​is·​not·​compatible·​with·​the·​version·​of·​the·​shared·​libraries·​that·​were·​found·​on·​the·​system.​</​p>
190 <p>The·​version·​compatibility·​check·​works·​as·​follows.​·​Let·​A·​=·​xa.​ya.​za.​*·​be·​the·​version·​of·​Allegro·​you·​compiled·​with,​·​and·​B·​=·​xb.​yb.​zb.​*·​be·​the·​version·​of·​Allegro·​found·​in·​the·​system·​shared·​library.​</​p>190 <p>The·​version·​compatibility·​check·​works·​as·​follows.​·​Let·​A·​=·​xa.​ya.​za.​*·​be·​the·​version·​of·​Allegro·​you·​compiled·​with,​·​and·​B·​=·​xb.​yb.​zb.​*·​be·​the·​version·​of·​Allegro·​found·​in·​the·​system·​shared·​library.​</​p>
191 <p>If·​you·​defined·​<code>ALLEGRO_UNSTABL​E</​code>·​before·​including·​Allegro·​headers,​·​then·​version·​A·​is·​compatible·​with·​B·​only·​if·​xa.​ya.​za·​=·​xb.​yb.​zb.​·​Otherwise,​·​A·​is·​compatible·​with·​B·​only·​if·​xa.​ya·​=·​xb.​yb.​</​p>191 <p>If·​you·​defined·​<code>ALLEGRO_UNSTABL​E</​code>·​before·​including·​Allegro·​headers,​·​then·​version·​A·​is·​compatible·​with·​B·​only·​if·​xa.​ya.​za·​=·​xb.​yb.​zb.​·​Otherwise,​·​A·​is·​compatible·​with·​B·​only·​if·​xa.​ya·​=·​xb.​yb.​</​p>
192 <p>See·​also:​·​<a·​href="system.​html#al_init">al_init​</​a></​p>192 <p>See·​also:​·​<a·​href="system.​html#al_init">al_init​</​a></​p>
193 <h1·​id="al_init">al_init<​/​h1>193 <h1·​id="al_init">al_init<​/​h1>
194 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​al_init()​····​(al_install_system(AL​LEGRO_VERSION_INT,​·​atexit)​)​</​span></​a>194 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​al_init()​····​(al_install_system(AL​LEGRO_VERSION_INT,​·​atexit)​)​</​span></​a></​code></​pre></​div>
195 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="pp">#define·​al_init()​····​(al_install_system(AL​LEGRO_VERSION_INT,​·​atexit)​)​</​span></​a></​code></​pre></​div> 
196 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​system.​h#L15">Source·​Code</​a></​p>195 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​system.​h#L15">Source·​Code</​a></​p>
197 <p>Like·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>,​·​but·​automatically·​passes·​in·​the·​version·​and·​uses·​the·​atexit·​function·​visible·​in·​the·​current·​binary.​</​p>196 <p>Like·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>,​·​but·​automatically·​passes·​in·​the·​version·​and·​uses·​the·​atexit·​function·​visible·​in·​the·​current·​binary.​</​p>
198 <blockquote>197 <blockquote>
199 <p>Note:​·​It·​is·​typically·​wrong·​to·​call·​al_init·​anywhere·​except·​the·​final·​game·​binary.​·​In·​particular,​·​do·​not·​call·​it·​inside·​a·​shared·​library·​unless·​you·​know·​what·​you’re·​doing.​·​In·​those·​cases,​·​it·​is·​better·​to·​call·​al_install_system·​either·​with·​a·​<code>NULL</​code>·​atexit_ptr,​·​or·​with·​a·​pointer·​to·​atexit·​provided·​by·​the·​user·​of·​this·​shared·​library.​</​p>198 <p>Note:​·​It·​is·​typically·​wrong·​to·​call·​al_init·​anywhere·​except·​the·​final·​game·​binary.​·​In·​particular,​·​do·​not·​call·​it·​inside·​a·​shared·​library·​unless·​you·​know·​what·​you’re·​doing.​·​In·​those·​cases,​·​it·​is·​better·​to·​call·​al_install_system·​either·​with·​a·​<code>NULL</​code>·​atexit_ptr,​·​or·​with·​a·​pointer·​to·​atexit·​provided·​by·​the·​user·​of·​this·​shared·​library.​</​p>
200 </​blockquote>199 </​blockquote>
201 <p>See·​also:​·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a></​p>200 <p>See·​also:​·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a></​p>
202 <h1·​id="al_uninstall_syst​em">al_uninstall_syst​em</​h1>201 <h1·​id="al_uninstall_syst​em">al_uninstall_syst​em</​h1>
Offset 557, 12 lines modifiedOffset 556, 12 lines modified
557 <p>Returns·​the·​size·​in·​MB·​of·​the·​random·​access·​memory·​that·​the·​system·​Allegro·​is·​running·​on·​has·​and·​which·​could·​be·​detected,​·​or·​a·​negative·​number·​if·​detection·​failed.​·​Even·​if·​a·​positive·​number·​is·​returned,​·​it·​might·​be·​that·​it·​is·​not·​correct.​·​For·​example,​·​Allegro·​running·​on·​a·​virtual·​machine·​will·​return·​the·​amount·​of·​RAM·​of·​the·​VM,​·​and·​not·​that·​of·​the·​underlying·​system.​</​p>556 <p>Returns·​the·​size·​in·​MB·​of·​the·​random·​access·​memory·​that·​the·​system·​Allegro·​is·​running·​on·​has·​and·​which·​could·​be·​detected,​·​or·​a·​negative·​number·​if·​detection·​failed.​·​Even·​if·​a·​positive·​number·​is·​returned,​·​it·​might·​be·​that·​it·​is·​not·​correct.​·​For·​example,​·​Allegro·​running·​on·​a·​virtual·​machine·​will·​return·​the·​amount·​of·​RAM·​of·​the·​VM,​·​and·​not·​that·​of·​the·​underlying·​system.​</​p>
558 <p>Furthermore·​even·​if·​the·​number·​is·​correct,​·​this·​only·​gives·​you·​information·​about·​the·​total·​physical·​memory·​of·​the·​system·​Allegro·​runs·​on.​·​The·​memory·​available·​to·​your·​program·​may·​be·​less·​or·​more·​than·​what·​this·​function·​returns·​due·​to·​circumstances·​such·​as·​virtual·​memory,​·​and·​other·​programs·​that·​are·​currently·​running.​</​p>557 <p>Furthermore·​even·​if·​the·​number·​is·​correct,​·​this·​only·​gives·​you·​information·​about·​the·​total·​physical·​memory·​of·​the·​system·​Allegro·​runs·​on.​·​The·​memory·​available·​to·​your·​program·​may·​be·​less·​or·​more·​than·​what·​this·​function·​returns·​due·​to·​circumstances·​such·​as·​virtual·​memory,​·​and·​other·​programs·​that·​are·​currently·​running.​</​p>
559 <p>Therefore,​·​it’s·​best·​to·​use·​this·​for·​advisory·​purposes·​only.​·​It·​is·​certainly·​a·​bad·​idea·​to·​make·​your·​program·​exclusive·​to·​systems·​for·​which·​this·​function·​returns·​a·​certain·​“desirable”·​number.​</​p>558 <p>Therefore,​·​it’s·​best·​to·​use·​this·​for·​advisory·​purposes·​only.​·​It·​is·​certainly·​a·​bad·​idea·​to·​make·​your·​program·​exclusive·​to·​systems·​for·​which·​this·​function·​returns·​a·​certain·​“desirable”·​number.​</​p>
560 <p>This·​function·​may·​be·​called·​prior·​to·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​or·​<a·​href="system.​html#al_init">al_init​</​a>.​</​p>559 <p>This·​function·​may·​be·​called·​prior·​to·​<a·​href="system.​html#al_install_syste​m">al_install_system<​/​a>·​or·​<a·​href="system.​html#al_init">al_init​</​a>.​</​p>
561 <p>Since:​·​5.​1.​12</​p>560 <p>Since:​·​5.​1.​12</​p>
562 <p·​class="timestamp">561 <p·​class="timestamp">
563 Allegro·​version·​5.​2.​4562 Allegro·​version·​5.​2.​4
564 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC563 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​41·​UTC
565 </​p>564 </​p>
566 </​div>565 </​div>
567 </​body>566 </​body>
568 </​html>567 </​html>
4.89 KB
./usr/share/doc/allegro5-doc/refman/threads.html
    
Offset 183, 26 lines modifiedOffset 183, 23 lines modified
183 <li><a·​href="#al_signal_cond​">al_signal_cond</​a></​li>183 <li><a·​href="#al_signal_cond​">al_signal_cond</​a></​li>
184 </​ul>184 </​ul>
185 </​nav>185 </​nav>
186 <p>Allegro·​includes·​a·​simple·​cross-​platform·​threading·​interface.​·​It·​is·​a·​thin·​layer·​on·​top·​of·​two·​threading·​APIs:​·​Windows·​threads·​and·​POSIX·​Threads·​(pthreads)​.​·​Enforcing·​a·​consistent·​semantics·​on·​all·​platforms·​would·​be·​difficult·​at·​best,​·​hence·​the·​behaviour·​of·​the·​following·​functions·​will·​differ·​subtly·​on·​different·​platforms·​(more·​so·​than·​usual)​.​·​Your·​best·​bet·​is·​to·​be·​aware·​of·​this·​and·​code·​to·​the·​intersection·​of·​the·​semantics·​and·​avoid·​edge·​cases.​</​p>186 <p>Allegro·​includes·​a·​simple·​cross-​platform·​threading·​interface.​·​It·​is·​a·​thin·​layer·​on·​top·​of·​two·​threading·​APIs:​·​Windows·​threads·​and·​POSIX·​Threads·​(pthreads)​.​·​Enforcing·​a·​consistent·​semantics·​on·​all·​platforms·​would·​be·​difficult·​at·​best,​·​hence·​the·​behaviour·​of·​the·​following·​functions·​will·​differ·​subtly·​on·​different·​platforms·​(more·​so·​than·​usual)​.​·​Your·​best·​bet·​is·​to·​be·​aware·​of·​this·​and·​code·​to·​the·​intersection·​of·​the·​semantics·​and·​avoid·​edge·​cases.​</​p>
187 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>187 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
188 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>188 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
189 <h1·​id="allegro_thread">A​LLEGRO_THREAD</​h1>189 <h1·​id="allegro_thread">A​LLEGRO_THREAD</​h1>
190 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_THREAD·​ALLEGRO_THREAD;​</​a>190 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_THREAD·​ALLEGRO_THREAD;​</​a></​code></​pre></​div>
191 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_THREAD·​ALLEGRO_THREAD;​</​a></​code></​pre></​div> 
192 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​threads.​h#L27">Source·​Code</​a></​p>191 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​threads.​h#L27">Source·​Code</​a></​p>
193 <p>An·​opaque·​structure·​representing·​a·​thread.​</​p>192 <p>An·​opaque·​structure·​representing·​a·​thread.​</​p>
194 <h1·​id="allegro_mutex">AL​LEGRO_MUTEX</​h1>193 <h1·​id="allegro_mutex">AL​LEGRO_MUTEX</​h1>
195 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MUTEX·​ALLEGRO_MUTEX;​</​a>194 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MUTEX·​ALLEGRO_MUTEX;​</​a></​code></​pre></​div>
196 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_MUTEX·​ALLEGRO_MUTEX;​</​a></​code></​pre></​div> 
197 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​threads.​h#L31">Source·​Code</​a></​p>195 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​threads.​h#L31">Source·​Code</​a></​p>
198 <p>An·​opaque·​structure·​representing·​a·​mutex.​</​p>196 <p>An·​opaque·​structure·​representing·​a·​mutex.​</​p>
199 <h1·​id="allegro_cond">ALL​EGRO_COND</​h1>197 <h1·​id="allegro_cond">ALL​EGRO_COND</​h1>
200 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_COND·​ALLEGRO_COND;​</​a>198 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_COND·​ALLEGRO_COND;​</​a></​code></​pre></​div>
201 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_COND·​ALLEGRO_COND;​</​a></​code></​pre></​div> 
202 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​threads.​h#L35">Source·​Code</​a></​p>199 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​threads.​h#L35">Source·​Code</​a></​p>
203 <p>An·​opaque·​structure·​representing·​a·​condition·​variable.​</​p>200 <p>An·​opaque·​structure·​representing·​a·​condition·​variable.​</​p>
204 <h1·​id="al_create_thread"​>al_create_thread</​h1>201 <h1·​id="al_create_thread"​>al_create_thread</​h1>
205 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1">ALLEGRO_THR​EAD·​*al_create_thread(</​a>202 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1">ALLEGRO_THR​EAD·​*al_create_thread(</​a>
206 <a·​class="sourceLine"·​id="cb5-​2"·​title="2">···​<span·​class="dt">void</​span>·​*(*proc)​(ALLEGRO_THREAD·​*thread,​·​<span·​class="dt">void</​span>·​*arg)​,​·​<span·​class="dt">void</​span>·​*arg)​</​a></​code></​pre></​div>203 <a·​class="sourceLine"·​id="cb5-​2"·​title="2">···​<span·​class="dt">void</​span>·​*(*proc)​(ALLEGRO_THREAD·​*thread,​·​<span·​class="dt">void</​span>·​*arg)​,​·​<span·​class="dt">void</​span>·​*arg)​</​a></​code></​pre></​div>
207 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​threads.​c#L115">Source·​Code</​a></​p>204 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​threads.​c#L115">Source·​Code</​a></​p>
208 <p>Spawn·​a·​new·​thread·​which·​begins·​executing·​<code>proc</​code>.​·​The·​new·​thread·​is·​passed·​its·​own·​thread·​handle·​and·​the·​value·​<code>arg</​code>.​</​p>205 <p>Spawn·​a·​new·​thread·​which·​begins·​executing·​<code>proc</​code>.​·​The·​new·​thread·​is·​passed·​its·​own·​thread·​handle·​and·​the·​value·​<code>arg</​code>.​</​p>
Offset 316, 12 lines modifiedOffset 313, 12 lines modified
316 <div·​class="sourceCode"·​id="cb23"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb23-​1"·​title="1"><span·​class="dt">void</​span>·​al_signal_cond(ALLEGR​O_COND·​*cond)​</​a></​code></​pre></​div>313 <div·​class="sourceCode"·​id="cb23"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb23-​1"·​title="1"><span·​class="dt">void</​span>·​al_signal_cond(ALLEGR​O_COND·​*cond)​</​a></​code></​pre></​div>
317 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​threads.​c#L395">Source·​Code</​a></​p>314 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​threads.​c#L395">Source·​Code</​a></​p>
318 <p>Unblock·​at·​least·​one·​thread·​waiting·​on·​a·​condition·​variable.​</​p>315 <p>Unblock·​at·​least·​one·​thread·​waiting·​on·​a·​condition·​variable.​</​p>
319 <p>Generally·​you·​should·​use·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>·​but·​<a·​href="threads.​html#al_signal_cond">​al_signal_cond</​a>·​may·​be·​more·​efficient·​when·​it’s·​applicable.​</​p>316 <p>Generally·​you·​should·​use·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>·​but·​<a·​href="threads.​html#al_signal_cond">​al_signal_cond</​a>·​may·​be·​more·​efficient·​when·​it’s·​applicable.​</​p>
320 <p>See·​also:​·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>.​</​p>317 <p>See·​also:​·​<a·​href="threads.​html#al_broadcast_con​d">al_broadcast_cond<​/​a>.​</​p>
321 <p·​class="timestamp">318 <p·​class="timestamp">
322 Allegro·​version·​5.​2.​4319 Allegro·​version·​5.​2.​4
323 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC320 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​42·​UTC
324 </​p>321 </​p>
325 </​div>322 </​div>
326 </​body>323 </​body>
327 </​html>324 </​html>
1.14 KB
./usr/share/doc/allegro5-doc/refman/time.html
    
Offset 187, 12 lines modifiedOffset 187, 12 lines modified
187 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_rest(<span·​class="dt">double</​span>·​seconds)​</​a></​code></​pre></​div>187 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_rest(<span·​class="dt">double</​span>·​seconds)​</​a></​code></​pre></​div>
188 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​unix/​utime.​c#L63">Source·​Code</​a></​p>188 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​unix/​utime.​c#L63">Source·​Code</​a></​p>
189 <p>Waits·​for·​the·​specified·​number·​of·​seconds.​·​This·​tells·​the·​system·​to·​pause·​the·​current·​thread·​for·​the·​given·​amount·​of·​time.​·​With·​some·​operating·​systems,​·​the·​accuracy·​can·​be·​in·​the·​order·​of·​10ms.​·​That·​is,​·​even</​p>189 <p>Waits·​for·​the·​specified·​number·​of·​seconds.​·​This·​tells·​the·​system·​to·​pause·​the·​current·​thread·​for·​the·​given·​amount·​of·​time.​·​With·​some·​operating·​systems,​·​the·​accuracy·​can·​be·​in·​the·​order·​of·​10ms.​·​That·​is,​·​even</​p>
190 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1">al_rest(<sp​an·​class="fl">0.​000001</​span>)​</​a></​code></​pre></​div>190 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1">al_rest(<sp​an·​class="fl">0.​000001</​span>)​</​a></​code></​pre></​div>
191 <p>might·​pause·​for·​something·​like·​10ms.​·​Also·​see·​the·​section·​on·​Timer·​routines·​for·​easier·​ways·​to·​time·​your·​program·​without·​using·​up·​all·​CPU.​</​p>191 <p>might·​pause·​for·​something·​like·​10ms.​·​Also·​see·​the·​section·​on·​Timer·​routines·​for·​easier·​ways·​to·​time·​your·​program·​without·​using·​up·​all·​CPU.​</​p>
192 <p·​class="timestamp">192 <p·​class="timestamp">
193 Allegro·​version·​5.​2.​4193 Allegro·​version·​5.​2.​4
194 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC194 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​42·​UTC
195 </​p>195 </​p>
196 </​div>196 </​div>
197 </​body>197 </​body>
198 </​html>198 </​html>
6.01 KB
./usr/share/doc/allegro5-doc/refman/timer.html
    
Offset 178, 36 lines modifiedOffset 178, 31 lines modified
178 <li><a·​href="#al_set_timer_s​peed">al_set_timer_sp​eed</​a></​li>178 <li><a·​href="#al_set_timer_s​peed">al_set_timer_sp​eed</​a></​li>
179 <li><a·​href="#al_get_timer_e​vent_source">al_get_t​imer_event_source</​a></​li>179 <li><a·​href="#al_get_timer_e​vent_source">al_get_t​imer_event_source</​a></​li>
180 </​ul>180 </​ul>
181 </​nav>181 </​nav>
182 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>182 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
183 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>183 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
184 <h1·​id="allegro_timer">AL​LEGRO_TIMER</​h1>184 <h1·​id="allegro_timer">AL​LEGRO_TIMER</​h1>
185 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TIMER·​ALLEGRO_TIMER;​</​a>185 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TIMER·​ALLEGRO_TIMER;​</​a></​code></​pre></​div>
186 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TIMER·​ALLEGRO_TIMER;​</​a></​code></​pre></​div> 
187 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L46">Source·​Code</​a></​p>186 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L46">Source·​Code</​a></​p>
188 <p>This·​is·​an·​abstract·​data·​type·​representing·​a·​timer·​object.​</​p>187 <p>This·​is·​an·​abstract·​data·​type·​representing·​a·​timer·​object.​</​p>
189 <h1·​id="allegro_usecs_to_​secs">ALLEGRO_USECS_T​O_SECS</​h1>188 <h1·​id="allegro_usecs_to_​secs">ALLEGRO_USECS_T​O_SECS</​h1>
190 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_USECS_TO_SECS​(x)​······​((x)​·​/​·​1000000.​0)​</​span></​a>189 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_USECS_TO_SECS​(x)​······​((x)​·​/​·​1000000.​0)​</​span></​a></​code></​pre></​div>
191 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_USECS_TO_SECS​(x)​······​((x)​·​/​·​1000000.​0)​</​span></​a></​code></​pre></​div> 
192 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L29">Source·​Code</​a></​p>190 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L29">Source·​Code</​a></​p>
193 <p>Convert·​microseconds·​to·​seconds.​</​p>191 <p>Convert·​microseconds·​to·​seconds.​</​p>
194 <h1·​id="allegro_msecs_to_​secs">ALLEGRO_MSECS_T​O_SECS</​h1>192 <h1·​id="allegro_msecs_to_​secs">ALLEGRO_MSECS_T​O_SECS</​h1>
195 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_MSECS_TO_SECS​(x)​······​((x)​·​/​·​1000.​0)​</​span></​a>193 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_MSECS_TO_SECS​(x)​······​((x)​·​/​·​1000.​0)​</​span></​a></​code></​pre></​div>
196 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_MSECS_TO_SECS​(x)​······​((x)​·​/​·​1000.​0)​</​span></​a></​code></​pre></​div> 
197 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L33">Source·​Code</​a></​p>194 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L33">Source·​Code</​a></​p>
198 <p>Convert·​milliseconds·​to·​seconds.​</​p>195 <p>Convert·​milliseconds·​to·​seconds.​</​p>
199 <h1·​id="allegro_bps_to_se​cs">ALLEGRO_BPS_TO_SE​CS</​h1>196 <h1·​id="allegro_bps_to_se​cs">ALLEGRO_BPS_TO_SE​CS</​h1>
200 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_BPS_TO_SECS(x​)​········​(1.​0·​/​·​(x)​)​</​span></​a>197 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_BPS_TO_SECS(x​)​········​(1.​0·​/​·​(x)​)​</​span></​a></​code></​pre></​div>
201 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_BPS_TO_SECS(x​)​········​(1.​0·​/​·​(x)​)​</​span></​a></​code></​pre></​div> 
202 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L37">Source·​Code</​a></​p>198 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L37">Source·​Code</​a></​p>
203 <p>Convert·​beats·​per·​second·​to·​seconds.​</​p>199 <p>Convert·​beats·​per·​second·​to·​seconds.​</​p>
204 <h1·​id="allegro_bpm_to_se​cs">ALLEGRO_BPM_TO_SE​CS</​h1>200 <h1·​id="allegro_bpm_to_se​cs">ALLEGRO_BPM_TO_SE​CS</​h1>
205 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_BPM_TO_SECS(x​)​········​(60.​0·​/​·​(x)​)​</​span></​a>201 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_BPM_TO_SECS(x​)​········​(60.​0·​/​·​(x)​)​</​span></​a></​code></​pre></​div>
206 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_BPM_TO_SECS(x​)​········​(60.​0·​/​·​(x)​)​</​span></​a></​code></​pre></​div> 
207 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L41">Source·​Code</​a></​p>202 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​timer.​h#L41">Source·​Code</​a></​p>
208 <p>Convert·​beats·​per·​minute·​to·​seconds.​</​p>203 <p>Convert·​beats·​per·​minute·​to·​seconds.​</​p>
209 <h1·​id="al_create_timer">​al_create_timer</​h1>204 <h1·​id="al_create_timer">​al_create_timer</​h1>
210 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_TIM​ER·​*al_create_timer(<spa​n·​class="dt">double</​span>·​speed_secs)​</​a></​code></​pre></​div>205 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_TIM​ER·​*al_create_timer(<spa​n·​class="dt">double</​span>·​speed_secs)​</​a></​code></​pre></​div>
211 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​timernu.​c#L244">Source·​Code</​a></​p>206 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​timernu.​c#L244">Source·​Code</​a></​p>
212 <p>Allocates·​and·​initializes·​a·​timer.​·​If·​successful,​·​a·​pointer·​to·​a·​new·​timer·​object·​is·​returned,​·​otherwise·​NULL·​is·​returned.​·​<em>speed_secs</​em>·​is·​in·​seconds·​per·​“tick”,​·​and·​must·​be·​positive.​·​The·​new·​timer·​is·​initially·​stopped.​</​p>207 <p>Allocates·​and·​initializes·​a·​timer.​·​If·​successful,​·​a·​pointer·​to·​a·​new·​timer·​object·​is·​returned,​·​otherwise·​NULL·​is·​returned.​·​<em>speed_secs</​em>·​is·​in·​seconds·​per·​“tick”,​·​and·​must·​be·​positive.​·​The·​new·​timer·​is·​initially·​stopped.​</​p>
213 <p>Usage·​note:​·​typical·​granularity·​is·​on·​the·​order·​of·​microseconds,​·​but·​with·​some·​drivers·​might·​only·​be·​milliseconds.​</​p>208 <p>Usage·​note:​·​typical·​granularity·​is·​on·​the·​order·​of·​microseconds,​·​but·​with·​some·​drivers·​might·​only·​be·​milliseconds.​</​p>
Offset 267, 12 lines modifiedOffset 262, 12 lines modified
267 <p>See·​also:​·​<a·​href="timer.​html#al_get_timer_spe​ed">al_get_timer_spee​d</​a></​p>262 <p>See·​also:​·​<a·​href="timer.​html#al_get_timer_spe​ed">al_get_timer_spee​d</​a></​p>
268 <h1·​id="al_get_timer_even​t_source">al_get_time​r_event_source</​h1>263 <h1·​id="al_get_timer_even​t_source">al_get_time​r_event_source</​h1>
269 <div·​class="sourceCode"·​id="cb19"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb19-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_timer_event_s​ource(ALLEGRO_TIMER·​*timer)​</​a></​code></​pre></​div>264 <div·​class="sourceCode"·​id="cb19"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb19-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_timer_event_s​ource(ALLEGRO_TIMER·​*timer)​</​a></​code></​pre></​div>
270 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​timernu.​c#L436">Source·​Code</​a></​p>265 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​timernu.​c#L436">Source·​Code</​a></​p>
271 <p>Retrieve·​the·​associated·​event·​source.​·​Timers·​will·​generate·​events·​of·​type·​<a·​href="events.​html#allegro_event_ti​mer">ALLEGRO_EVENT_TI​MER</​a>.​</​p>266 <p>Retrieve·​the·​associated·​event·​source.​·​Timers·​will·​generate·​events·​of·​type·​<a·​href="events.​html#allegro_event_ti​mer">ALLEGRO_EVENT_TI​MER</​a>.​</​p>
272 <p·​class="timestamp">267 <p·​class="timestamp">
273 Allegro·​version·​5.​2.​4268 Allegro·​version·​5.​2.​4
274 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC269 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​42·​UTC
275 </​p>270 </​p>
276 </​div>271 </​div>
277 </​body>272 </​body>
278 </​html>273 </​html>
6.45 KB
./usr/share/doc/allegro5-doc/refman/touch.html
    
Offset 174, 54 lines modifiedOffset 174, 49 lines modified
174 <li><a·​href="#al_get_touch_i​nput_event_source">al​_get_touch_input_even​t_source</​a></​li>174 <li><a·​href="#al_get_touch_i​nput_event_source">al​_get_touch_input_even​t_source</​a></​li>
175 <li><a·​href="#al_get_touch_i​nput_mouse_emulation_​event_source">al_get_​touch_input_mouse_emu​lation_event_source</​a></​li>175 <li><a·​href="#al_get_touch_i​nput_mouse_emulation_​event_source">al_get_​touch_input_mouse_emu​lation_event_source</​a></​li>
176 </​ul>176 </​ul>
177 </​nav>177 </​nav>
178 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>178 <p>These·​functions·​are·​declared·​in·​the·​main·​Allegro·​header·​file:​</​p>
179 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>179 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro.​h&gt;​</​span></​a></​code></​pre></​div>
180 <h1·​id="allegro_touch_inp​ut">ALLEGRO_TOUCH_INP​UT</​h1>180 <h1·​id="allegro_touch_inp​ut">ALLEGRO_TOUCH_INP​UT</​h1>
181 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_INPUT·​ALLEGRO_TOUCH_INPUT;​</​a>181 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_INPUT·​ALLEGRO_TOUCH_INPUT;​</​a></​code></​pre></​div>
182 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_INPUT·​ALLEGRO_TOUCH_INPUT;​</​a></​code></​pre></​div> 
183 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L34">Source·​Code</​a></​p>182 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L34">Source·​Code</​a></​p>
184 <p>An·​abstract·​data·​type·​representing·​a·​physical·​touch·​screen·​or·​touch·​pad.​</​p>183 <p>An·​abstract·​data·​type·​representing·​a·​physical·​touch·​screen·​or·​touch·​pad.​</​p>
185 <p>Since:​·​5.​1.​0</​p>184 <p>Since:​·​5.​1.​0</​p>
186 <h1·​id="allegro_touch_inp​ut_max_touch_count">A​LLEGRO_TOUCH_INPUT_MA​X_TOUCH_COUNT</​h1>185 <h1·​id="allegro_touch_inp​ut_max_touch_count">A​LLEGRO_TOUCH_INPUT_MA​X_TOUCH_COUNT</​h1>
187 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_TOUCH_INPUT_M​AX_TOUCH_COUNT········​16</​span></​a>186 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="pp">#define·​ALLEGRO_TOUCH_INPUT_M​AX_TOUCH_COUNT········​16</​span></​a></​code></​pre></​div>
188 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="pp">#define·​ALLEGRO_TOUCH_INPUT_M​AX_TOUCH_COUNT········​16</​span></​a></​code></​pre></​div> 
189 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L29">Source·​Code</​a></​p>187 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L29">Source·​Code</​a></​p>
190 <p>The·​maximum·​amount·​of·​simultaneous·​touches·​that·​can·​be·​detected.​</​p>188 <p>The·​maximum·​amount·​of·​simultaneous·​touches·​that·​can·​be·​detected.​</​p>
191 <p>Since:​·​5.​1.​0</​p>189 <p>Since:​·​5.​1.​0</​p>
192 <h1·​id="allegro_touch_sta​te">ALLEGRO_TOUCH_STA​TE</​h1>190 <h1·​id="allegro_touch_sta​te">ALLEGRO_TOUCH_STA​TE</​h1>
193 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_STATE·​ALLEGRO_TOUCH_STATE;​</​a>191 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_STATE·​ALLEGRO_TOUCH_STATE;​</​a></​code></​pre></​div>
194 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_STATE·​ALLEGRO_TOUCH_STATE;​</​a></​code></​pre></​div> 
195 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L44">Source·​Code</​a></​p>192 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L44">Source·​Code</​a></​p>
196 <p>This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​“snapshot”·​of·​a·​touch·​at·​a·​particular·​instant.​</​p>193 <p>This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​“snapshot”·​of·​a·​touch·​at·​a·​particular·​instant.​</​p>
197 <p>Public·​fields·​(read·​only)​:​</​p>194 <p>Public·​fields·​(read·​only)​:​</​p>
198 <ul>195 <ul>
199 <li>id·​-​·​identifier·​of·​the·​touch.​·​If·​the·​touch·​is·​valid,​·​this·​is·​positive.​</​li>196 <li>id·​-​·​identifier·​of·​the·​touch.​·​If·​the·​touch·​is·​valid,​·​this·​is·​positive.​</​li>
200 <li>x·​-​·​touch·​x·​position</​li>197 <li>x·​-​·​touch·​x·​position</​li>
201 <li>y·​-​·​touch·​y·​position</​li>198 <li>y·​-​·​touch·​y·​position</​li>
202 <li>dx·​-​·​touch·​relative·​x·​position</​li>199 <li>dx·​-​·​touch·​relative·​x·​position</​li>
203 <li>dy·​-​·​touch·​relative·​y·​position</​li>200 <li>dy·​-​·​touch·​relative·​y·​position</​li>
204 <li>primary·​-​·​TRUE·​if·​this·​touch·​is·​the·​primary·​one·​(usually·​the·​first·​one)​.​</​li>201 <li>primary·​-​·​TRUE·​if·​this·​touch·​is·​the·​primary·​one·​(usually·​the·​first·​one)​.​</​li>
205 <li>display·​-​·​The·​<a·​href="display.​html#allegro_display"​>ALLEGRO_DISPLAY</​a>·​that·​was·​touched.​</​li>202 <li>display·​-​·​The·​<a·​href="display.​html#allegro_display"​>ALLEGRO_DISPLAY</​a>·​that·​was·​touched.​</​li>
206 </​ul>203 </​ul>
207 <p>Since:​·​5.​1.​0</​p>204 <p>Since:​·​5.​1.​0</​p>
208 <h1·​id="allegro_touch_inp​ut_state">ALLEGRO_TOU​CH_INPUT_STATE</​h1>205 <h1·​id="allegro_touch_inp​ut_state">ALLEGRO_TOU​CH_INPUT_STATE</​h1>
209 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_INPUT_S​TATE·​ALLEGRO_TOUCH_INPUT_S​TATE;​</​a>206 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_INPUT_S​TATE·​ALLEGRO_TOUCH_INPUT_S​TATE;​</​a></​code></​pre></​div>
210 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TOUCH_INPUT_S​TATE·​ALLEGRO_TOUCH_INPUT_S​TATE;​</​a></​code></​pre></​div> 
211 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L39">Source·​Code</​a></​p>207 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L39">Source·​Code</​a></​p>
212 <p>This·​is·​a·​structure·​that·​holds·​a·​snapshot·​of·​all·​simultaneous·​touches·​at·​a·​particular·​instant.​</​p>208 <p>This·​is·​a·​structure·​that·​holds·​a·​snapshot·​of·​all·​simultaneous·​touches·​at·​a·​particular·​instant.​</​p>
213 <p>Public·​fields·​(read·​only)​:​</​p>209 <p>Public·​fields·​(read·​only)​:​</​p>
214 <ul>210 <ul>
215 <li>touches·​-​·​an·​array·​of·​<a·​href="touch.​html#allegro_touch_st​ate">ALLEGRO_TOUCH_ST​ATE</​a></​li>211 <li>touches·​-​·​an·​array·​of·​<a·​href="touch.​html#allegro_touch_st​ate">ALLEGRO_TOUCH_ST​ATE</​a></​li>
216 </​ul>212 </​ul>
217 <p>Since:​·​5.​1.​0</​p>213 <p>Since:​·​5.​1.​0</​p>
218 <h1·​id="allegro_mouse_emu​lation_mode">ALLEGRO_​MOUSE_EMULATION_MODE<​/​h1>214 <h1·​id="allegro_mouse_emu​lation_mode">ALLEGRO_​MOUSE_EMULATION_MODE<​/​h1>
219 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_MOUSE_EMULATI​ON_MODE</​a>215 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_MOUSE_EMULATI​ON_MODE</​a></​code></​pre></​div>
220 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_MOUSE_EMULATI​ON_MODE</​a></​code></​pre></​div> 
221 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L71">Source·​Code</​a></​p>216 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​touch_input.​h#L71">Source·​Code</​a></​p>
222 <p>Type·​of·​mouse·​emulation·​to·​apply.​</​p>217 <p>Type·​of·​mouse·​emulation·​to·​apply.​</​p>
223 <dl>218 <dl>
224 <dt>ALLEGRO_MOUSE_EMU​LATION_NONE</​dt>219 <dt>ALLEGRO_MOUSE_EMU​LATION_NONE</​dt>
225 <dd>Disables·​mouse·​emulation.​220 <dd>Disables·​mouse·​emulation.​
226 </​dd>221 </​dd>
227 <dt>ALLEGRO_MOUSE_EMU​LATION_TRANSPARENT</​dt>222 <dt>ALLEGRO_MOUSE_EMU​LATION_TRANSPARENT</​dt>
Offset 295, 12 lines modifiedOffset 290, 12 lines modified
295 <p>See·​also:​·​<a·​href="events.​html#allegro_event_so​urce">ALLEGRO_EVENT_S​OURCE</​a>,​·​<a·​href="events.​html#al_register_even​t_source">al_register​_event_source</​a></​p>290 <p>See·​also:​·​<a·​href="events.​html#allegro_event_so​urce">ALLEGRO_EVENT_S​OURCE</​a>,​·​<a·​href="events.​html#al_register_even​t_source">al_register​_event_source</​a></​p>
296 <p>Since:​·​5.​1.​0</​p>291 <p>Since:​·​5.​1.​0</​p>
297 <blockquote>292 <blockquote>
298 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Seems·​of·​limited·​value,​·​as·​touch·​input·​tends·​to·​have·​different·​semantics·​compared·​to·​mouse·​input.​</​p>293 <p><em><a·​href="getting_started​.​html#unstable-​api">Unstable·​API</​a>:​</​em>·​Seems·​of·​limited·​value,​·​as·​touch·​input·​tends·​to·​have·​different·​semantics·​compared·​to·​mouse·​input.​</​p>
299 </​blockquote>294 </​blockquote>
300 <p·​class="timestamp">295 <p·​class="timestamp">
301 Allegro·​version·​5.​2.​4296 Allegro·​version·​5.​2.​4
302 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC297 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​42·​UTC
303 </​p>298 </​p>
304 </​div>299 </​div>
305 </​body>300 </​body>
306 </​html>301 </​html>
2.3 KB
./usr/share/doc/allegro5-doc/refman/transformations.html
    
Offset 224, 16 lines modifiedOffset 224, 15 lines modified
224 <a·​class="sourceLine"·​id="cb4-​11"·​title="11">al_use_tra​nsform(&amp;​T)​;​</​a></​code></​pre></​div>224 <a·​class="sourceLine"·​id="cb4-​11"·​title="11">al_use_tra​nsform(&amp;​T)​;​</​a></​code></​pre></​div>
225 <p>it·​does·​exactly·​the·​same·​as:​</​p>225 <p>it·​does·​exactly·​the·​same·​as:​</​p>
226 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1">al_identity​_transform(&amp;​T)​;​</​a>226 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1">al_identity​_transform(&amp;​T)​;​</​a>
227 <a·​class="sourceLine"·​id="cb5-​2"·​title="2">al_scale_tr​ansform(&amp;​T,​·​<span·​class="dv">2</​span>,​·​<span·​class="dv">2</​span>)​;​</​a>227 <a·​class="sourceLine"·​id="cb5-​2"·​title="2">al_scale_tr​ansform(&amp;​T,​·​<span·​class="dv">2</​span>,​·​<span·​class="dv">2</​span>)​;​</​a>
228 <a·​class="sourceLine"·​id="cb5-​3"·​title="3">al_translat​e_transform(&amp;​T,​·​<span·​class="dv">100</​span>,​·​<span·​class="dv">0</​span>)​;​</​a>228 <a·​class="sourceLine"·​id="cb5-​3"·​title="3">al_translat​e_transform(&amp;​T,​·​<span·​class="dv">100</​span>,​·​<span·​class="dv">0</​span>)​;​</​a>
229 <a·​class="sourceLine"·​id="cb5-​4"·​title="4">al_use_tran​sform(&amp;​T)​;​</​a></​code></​pre></​div>229 <a·​class="sourceLine"·​id="cb5-​4"·​title="4">al_use_tran​sform(&amp;​T)​;​</​a></​code></​pre></​div>
230 <h1·​id="allegro_transform​">ALLEGRO_TRANSFORM</​h1>230 <h1·​id="allegro_transform​">ALLEGRO_TRANSFORM</​h1>
231 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TRANSFORM·​ALLEGRO_TRANSFORM;​</​a>231 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TRANSFORM·​ALLEGRO_TRANSFORM;​</​a></​code></​pre></​div>
232 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​ALLEGRO_TRANSFORM·​ALLEGRO_TRANSFORM;​</​a></​code></​pre></​div> 
233 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​transformations.​h#L12">Source·​Code</​a></​p>232 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​transformations.​h#L12">Source·​Code</​a></​p>
234 <p>Defines·​the·​generic·​transformation·​type,​·​a·​4x4·​matrix.​·​2D·​transforms·​use·​only·​a·​small·​subsection·​of·​this·​matrix,​·​namely·​the·​top·​left·​2x2·​matrix,​·​and·​the·​right·​most·​2x1·​matrix,​·​for·​a·​total·​of·​6·​values.​</​p>233 <p>Defines·​the·​generic·​transformation·​type,​·​a·​4x4·​matrix.​·​2D·​transforms·​use·​only·​a·​small·​subsection·​of·​this·​matrix,​·​namely·​the·​top·​left·​2x2·​matrix,​·​and·​the·​right·​most·​2x1·​matrix,​·​for·​a·​total·​of·​6·​values.​</​p>
235 <p><em>Fields:​</​em></​p>234 <p><em>Fields:​</​em></​p>
236 <ul>235 <ul>
237 <li>m·​-​·​A·​4x4·​float·​matrix</​li>236 <li>m·​-​·​A·​4x4·​float·​matrix</​li>
238 </​ul>237 </​ul>
239 <h1·​id="al_copy_transform​">al_copy_transform</​h1>238 <h1·​id="al_copy_transform​">al_copy_transform</​h1>
Offset 534, 12 lines modifiedOffset 533, 12 lines modified
534 <li>trans·​-​·​Transformation·​to·​alter</​li>533 <li>trans·​-​·​Transformation·​to·​alter</​li>
535 <li>theta·​-​·​Rotation·​angle·​in·​radians</​li>534 <li>theta·​-​·​Rotation·​angle·​in·​radians</​li>
536 </​ul>535 </​ul>
537 <p>Since:​·​5.​1.​7</​p>536 <p>Since:​·​5.​1.​7</​p>
538 <p>See·​also:​·​<a·​href="transformations​.​html#al_horizontal_sh​ear_transform">al_hor​izontal_shear_transfo​rm</​a></​p>537 <p>See·​also:​·​<a·​href="transformations​.​html#al_horizontal_sh​ear_transform">al_hor​izontal_shear_transfo​rm</​a></​p>
539 <p·​class="timestamp">538 <p·​class="timestamp">
540 Allegro·​version·​5.​2.​4539 Allegro·​version·​5.​2.​4
541 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC540 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​43·​UTC
542 </​p>541 </​p>
543 </​div>542 </​div>
544 </​body>543 </​body>
545 </​html>544 </​html>
5.06 KB
./usr/share/doc/allegro5-doc/refman/utf8.html
    
Offset 285, 21 lines modifiedOffset 285, 19 lines modified
285 <p>On·​the·​other·​hand,​·​UTF-​16·​represents·​each·​code·​point·​by·​either·​one·​or·​two·​16-​bit·​code·​units·​(two·​or·​four·​bytes)​.​·​The·​representation·​of·​each·​16-​bit·​code·​unit·​depends·​on·​the·​byte·​order;​·​here·​we·​have·​demonstrated·​little·​endian.​</​p>285 <p>On·​the·​other·​hand,​·​UTF-​16·​represents·​each·​code·​point·​by·​either·​one·​or·​two·​16-​bit·​code·​units·​(two·​or·​four·​bytes)​.​·​The·​representation·​of·​each·​16-​bit·​code·​unit·​depends·​on·​the·​byte·​order;​·​here·​we·​have·​demonstrated·​little·​endian.​</​p>
286 <p>Both·​UTF-​8·​and·​UTF-​16·​are·​self-​synchronising.​·​Starting·​from·​any·​offset·​within·​a·​string,​·​it·​is·​efficient·​to·​find·​the·​beginning·​of·​the·​previous·​or·​next·​code·​point.​</​p>286 <p>Both·​UTF-​8·​and·​UTF-​16·​are·​self-​synchronising.​·​Starting·​from·​any·​offset·​within·​a·​string,​·​it·​is·​efficient·​to·​find·​the·​beginning·​of·​the·​previous·​or·​next·​code·​point.​</​p>
287 <p>Not·​all·​sequences·​of·​bytes·​or·​16-​bit·​words·​are·​valid·​UTF-​8·​and·​UTF-​16·​strings·​respectively.​·​UTF-​8·​also·​has·​an·​additional·​problem·​of·​overlong·​forms,​·​where·​a·​code·​point·​value·​is·​encoded·​using·​more·​bytes·​than·​is·​strictly·​necessary.​·​This·​is·​invalid·​and·​needs·​to·​be·​guarded·​against.​</​p>287 <p>Not·​all·​sequences·​of·​bytes·​or·​16-​bit·​words·​are·​valid·​UTF-​8·​and·​UTF-​16·​strings·​respectively.​·​UTF-​8·​also·​has·​an·​additional·​problem·​of·​overlong·​forms,​·​where·​a·​code·​point·​value·​is·​encoded·​using·​more·​bytes·​than·​is·​strictly·​necessary.​·​This·​is·​invalid·​and·​needs·​to·​be·​guarded·​against.​</​p>
288 <p>In·​the·​following·​“ustr”·​functions,​·​be·​careful·​whether·​a·​function·​takes·​code·​unit·​(byte)​·​or·​code·​point·​indices.​·​In·​general,​·​all·​position·​parameters·​are·​in·​code·​unit·​offsets.​·​This·​may·​be·​surprising,​·​but·​if·​you·​think·​about·​it,​·​it·​is·​required·​for·​good·​performance.​·​(It·​also·​means·​some·​functions·​will·​work·​even·​if·​they·​do·​not·​contain·​UTF-​8,​·​since·​they·​only·​care·​about·​storing·​bytes,​·​so·​you·​may·​actually·​store·​arbitrary·​data·​in·​the·​ALLEGRO_USTRs.​)​</​p>288 <p>In·​the·​following·​“ustr”·​functions,​·​be·​careful·​whether·​a·​function·​takes·​code·​unit·​(byte)​·​or·​code·​point·​indices.​·​In·​general,​·​all·​position·​parameters·​are·​in·​code·​unit·​offsets.​·​This·​may·​be·​surprising,​·​but·​if·​you·​think·​about·​it,​·​it·​is·​required·​for·​good·​performance.​·​(It·​also·​means·​some·​functions·​will·​work·​even·​if·​they·​do·​not·​contain·​UTF-​8,​·​since·​they·​only·​care·​about·​storing·​bytes,​·​so·​you·​may·​actually·​store·​arbitrary·​data·​in·​the·​ALLEGRO_USTRs.​)​</​p>
289 <p>For·​actual·​text·​processing,​·​where·​you·​want·​to·​specify·​positions·​with·​code·​point·​indices,​·​you·​should·​use·​<a·​href="utf8.​html#al_ustr_offset">​al_ustr_offset</​a>·​to·​find·​the·​code·​unit·​offset·​position.​·​However,​·​most·​of·​the·​time·​you·​would·​probably·​just·​work·​with·​byte·​offsets.​</​p>289 <p>For·​actual·​text·​processing,​·​where·​you·​want·​to·​specify·​positions·​with·​code·​point·​indices,​·​you·​should·​use·​<a·​href="utf8.​html#al_ustr_offset">​al_ustr_offset</​a>·​to·​find·​the·​code·​unit·​offset·​position.​·​However,​·​most·​of·​the·​time·​you·​would·​probably·​just·​work·​with·​byte·​offsets.​</​p>
290 <h1·​id="utf-​8-​string-​types">UTF-​8·​string·​types</​h1>290 <h1·​id="utf-​8-​string-​types">UTF-​8·​string·​types</​h1>
291 <h2·​id="allegro_ustr">ALL​EGRO_USTR</​h2>291 <h2·​id="allegro_ustr">ALL​EGRO_USTR</​h2>
292 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​_al_tagbstring·​ALLEGRO_USTR;​</​a>292 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​_al_tagbstring·​ALLEGRO_USTR;​</​a></​code></​pre></​div>
293 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​_al_tagbstring·​ALLEGRO_USTR;​</​a></​code></​pre></​div> 
294 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​utf8.​h#L12">Source·​Code</​a></​p>293 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​utf8.​h#L12">Source·​Code</​a></​p>
295 <p>An·​opaque·​type·​representing·​a·​string.​·​ALLEGRO_USTRs·​normally·​contain·​UTF-​8·​encoded·​strings,​·​but·​they·​may·​be·​used·​to·​hold·​any·​byte·​sequences,​·​including·​NULs.​</​p>294 <p>An·​opaque·​type·​representing·​a·​string.​·​ALLEGRO_USTRs·​normally·​contain·​UTF-​8·​encoded·​strings,​·​but·​they·​may·​be·​used·​to·​hold·​any·​byte·​sequences,​·​including·​NULs.​</​p>
296 <h2·​id="allegro_ustr_info​">ALLEGRO_USTR_INFO</​h2>295 <h2·​id="allegro_ustr_info​">ALLEGRO_USTR_INFO</​h2>
297 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​_al_tagbstring·​ALLEGRO_USTR_INFO;​</​a>296 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​_al_tagbstring·​ALLEGRO_USTR_INFO;​</​a></​code></​pre></​div>
298 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">struct</​span>·​_al_tagbstring·​ALLEGRO_USTR_INFO;​</​a></​code></​pre></​div> 
299 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​utf8.​h#L16">Source·​Code</​a></​p>297 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​include/​allegro5/​utf8.​h#L16">Source·​Code</​a></​p>
300 <p>A·​type·​that·​holds·​additional·​information·​for·​an·​<a·​href="utf8.​html#allegro_ustr">AL​LEGRO_USTR</​a>·​that·​references·​an·​external·​memory·​buffer.​</​p>298 <p>A·​type·​that·​holds·​additional·​information·​for·​an·​<a·​href="utf8.​html#allegro_ustr">AL​LEGRO_USTR</​a>·​that·​references·​an·​external·​memory·​buffer.​</​p>
301 <p>See·​also:​·​<a·​href="utf8.​html#al_ref_cstr">al_​ref_cstr</​a>,​·​<a·​href="utf8.​html#al_ref_buffer">a​l_ref_buffer</​a>·​and·​<a·​href="utf8.​html#al_ref_ustr">al_​ref_ustr</​a>.​</​p>299 <p>See·​also:​·​<a·​href="utf8.​html#al_ref_cstr">al_​ref_cstr</​a>,​·​<a·​href="utf8.​html#al_ref_buffer">a​l_ref_buffer</​a>·​and·​<a·​href="utf8.​html#al_ref_ustr">al_​ref_ustr</​a>.​</​p>
302 <h1·​id="creating-​and-​destroying-​strings">Creating·​and·​destroying·​strings</​h1>300 <h1·​id="creating-​and-​destroying-​strings">Creating·​and·​destroying·​strings</​h1>
303 <h2·​id="al_ustr_new">al_u​str_new</​h2>301 <h2·​id="al_ustr_new">al_u​str_new</​h2>
304 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1">ALLEGRO_UST​R·​*al_ustr_new(<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*s)​</​a></​code></​pre></​div>302 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1">ALLEGRO_UST​R·​*al_ustr_new(<span·​class="dt">const</​span>·​<span·​class="dt">char</​span>·​*s)​</​a></​code></​pre></​div>
305 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​utf8.​c#L62">Source·​Code</​a></​p>303 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​utf8.​c#L62">Source·​Code</​a></​p>
Offset 707, 12 lines modifiedOffset 705, 12 lines modified
707 <div·​class="sourceCode"·​id="cb72"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb72-​1"·​title="1"><span·​class="dt">size_t</​span>·​al_utf16_encode(<span​·​class="dt">uint16_t</​span>·​s[],​·​<span·​class="dt">int32_t</​span>·​c)​</​a></​code></​pre></​div>705 <div·​class="sourceCode"·​id="cb72"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb72-​1"·​title="1"><span·​class="dt">size_t</​span>·​al_utf16_encode(<span​·​class="dt">uint16_t</​span>·​s[],​·​<span·​class="dt">int32_t</​span>·​c)​</​a></​code></​pre></​div>
708 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​utf8.​c#L1067">Source·​Code</​a></​p>706 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​src/​utf8.​c#L1067">Source·​Code</​a></​p>
709 <p>Encode·​the·​specified·​code·​point·​to·​UTF-​16·​into·​the·​buffer·​<code>s</​code>.​·​The·​buffer·​must·​have·​enough·​space·​to·​hold·​the·​encoding,​·​which·​takes·​either·​2·​or·​4·​bytes.​·​This·​routine·​will·​refuse·​to·​encode·​code·​points·​above·​0x10FFFF.​</​p>707 <p>Encode·​the·​specified·​code·​point·​to·​UTF-​16·​into·​the·​buffer·​<code>s</​code>.​·​The·​buffer·​must·​have·​enough·​space·​to·​hold·​the·​encoding,​·​which·​takes·​either·​2·​or·​4·​bytes.​·​This·​routine·​will·​refuse·​to·​encode·​code·​points·​above·​0x10FFFF.​</​p>
710 <p>Returns·​the·​number·​of·​bytes·​written,​·​which·​is·​the·​same·​as·​that·​returned·​by·​<a·​href="utf8.​html#al_utf16_width">​al_utf16_width</​a>.​</​p>708 <p>Returns·​the·​number·​of·​bytes·​written,​·​which·​is·​the·​same·​as·​that·​returned·​by·​<a·​href="utf8.​html#al_utf16_width">​al_utf16_width</​a>.​</​p>
711 <p>See·​also:​·​<a·​href="utf8.​html#al_utf8_encode">​al_utf8_encode</​a>,​·​<a·​href="utf8.​html#al_ustr_encode_u​tf16">al_ustr_encode_​utf16</​a></​p>709 <p>See·​also:​·​<a·​href="utf8.​html#al_utf8_encode">​al_utf8_encode</​a>,​·​<a·​href="utf8.​html#al_ustr_encode_u​tf16">al_ustr_encode_​utf16</​a></​p>
712 <p·​class="timestamp">710 <p·​class="timestamp">
713 Allegro·​version·​5.​2.​4711 Allegro·​version·​5.​2.​4
714 ·​-​·​Last·​updated:​·​2021-​06-​01·23:​14:​25·​UTC712 ·​-​·​Last·​updated:​·​2020-​04-​29·17:​01:​43·​UTC
715 </​p>713 </​p>
716 </​div>714 </​div>
717 </​body>715 </​body>
718 </​html>716 </​html>
20.8 KB
./usr/share/doc/allegro5-doc/refman/video.html
    
Offset 184, 16 lines modifiedOffset 184, 15 lines modified
184 <li><a·​href="#al_seek_video"​>al_seek_video</​a></​li>184 <li><a·​href="#al_seek_video"​>al_seek_video</​a></​li>
185 </​ul>185 </​ul>
186 </​nav>186 </​nav>
187 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_video.​</​p>187 <p>These·​functions·​are·​declared·​in·​the·​following·​header·​file.​·​Link·​with·​allegro_video.​</​p>
188 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_video.​h&gt;​</​span></​a></​code></​pre></​div>188 <div·​class="sourceCode"·​id="cb1"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb1-​1"·​title="1">·​<span·​class="pp">#include·​</​span><span·​class="im">&lt;​allegro5/​allegro_video.​h&gt;​</​span></​a></​code></​pre></​div>
189 <p>Currently·​we·​have·​an·​Ogg·​backend·​(Theora·​+·​Vorbis)​.​·​See·​<a·​href="http:​/​/​xiph.​org/​"·​class="uri">http:​/​/​xiph.​org/​</​a>·​for·​installation·​instructions,​·​licensing·​information·​and·​supported·​video·​formats.​</​p>189 <p>Currently·​we·​have·​an·​Ogg·​backend·​(Theora·​+·​Vorbis)​.​·​See·​<a·​href="http:​/​/​xiph.​org/​"·​class="uri">http:​/​/​xiph.​org/​</​a>·​for·​installation·​instructions,​·​licensing·​information·​and·​supported·​video·​formats.​</​p>
190 <h1·​id="allegro_video_eve​nt_type">ALLEGRO_VIDE​O_EVENT_TYPE</​h1>190 <h1·​id="allegro_video_eve​nt_type">ALLEGRO_VIDE​O_EVENT_TYPE</​h1>
191 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_VIDEO_EVENT_T​YPE</​a>191 <div·​class="sourceCode"·​id="cb2"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb2-​1"·​title="1"><span·​class="kw">enum</​span>·​ALLEGRO_VIDEO_EVENT_T​YPE</​a></​code></​pre></​div>
192 <a·​class="sourceLine"·​id="cb2-​2"·​title="2"><span·​class="kw">enum</​span>·​ALLEGRO_VIDEO_EVENT_T​YPE</​a></​code></​pre></​div> 
193 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​allegro5/​allegro_video.​h#L35">Source·​Code</​a></​p>192 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​allegro5/​allegro_video.​h#L35">Source·​Code</​a></​p>
194 <p>Events·​sent·​by·​<a·​href="video.​html#al_get_video_eve​nt_source">al_get_vid​eo_event_source</​a>.​</​p>193 <p>Events·​sent·​by·​<a·​href="video.​html#al_get_video_eve​nt_source">al_get_vid​eo_event_source</​a>.​</​p>
195 <h2·​id="allegro_event_vid​eo_frame_show">ALLEGR​O_EVENT_VIDEO_FRAME_S​HOW</​h2>194 <h2·​id="allegro_event_vid​eo_frame_show">ALLEGR​O_EVENT_VIDEO_FRAME_S​HOW</​h2>
196 <p>This·​event·​is·​sent·​when·​it·​is·​time·​to·​show·​a·​new·​frame.​·​Once·​you·​receive·​this·​event,​·​you·​can·​draw·​the·​current·​frame·​(as·​returned·​by·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a>)​.​·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a>·​will·​continue·​returning·​the·​same·​frame·​until·​the·​next·​ALLEGRO_EVENT_VIDEO_F​RAME_SHOW·​is·​sent.​</​p>195 <p>This·​event·​is·​sent·​when·​it·​is·​time·​to·​show·​a·​new·​frame.​·​Once·​you·​receive·​this·​event,​·​you·​can·​draw·​the·​current·​frame·​(as·​returned·​by·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a>)​.​·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a>·​will·​continue·​returning·​the·​same·​frame·​until·​the·​next·​ALLEGRO_EVENT_VIDEO_F​RAME_SHOW·​is·​sent.​</​p>
197 <dl>196 <dl>
198 <dt>user.​data1·​(ALLEGRO_VIDEO·​*)​</​dt>197 <dt>user.​data1·​(ALLEGRO_VIDEO·​*)​</​dt>
199 <dd>The·​video·​which·​generated·​the·​event.​198 <dd>The·​video·​which·​generated·​the·​event.​
Offset 205, 137 lines modifiedOffset 204, 119 lines modified
205 <dl>204 <dl>
206 <dt>user.​data1·​(ALLEGRO_VIDEO·​*)​</​dt>205 <dt>user.​data1·​(ALLEGRO_VIDEO·​*)​</​dt>
207 <dd>The·​video·​which·​generated·​the·​event.​206 <dd>The·​video·​which·​generated·​the·​event.​
208 </​dd>207 </​dd>
209 </​dl>208 </​dl>
210 <p>Since:​·​5.​1.​0</​p>209 <p>Since:​·​5.​1.​0</​p>
211 <h1·​id="allegro_video_pos​ition_type">ALLEGRO_V​IDEO_POSITION_TYPE</​h1>210 <h1·​id="allegro_video_pos​ition_type">ALLEGRO_V​IDEO_POSITION_TYPE</​h1>
212 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_VIDEO_POSITIO​N_TYPE·​ALLEGRO_VIDEO_POSITIO​N_TYPE;​</​a>211 <div·​class="sourceCode"·​id="cb3"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb3-​1"·​title="1"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_VIDEO_POSITIO​N_TYPE·​ALLEGRO_VIDEO_POSITIO​N_TYPE;​</​a></​code></​pre></​div>
213 <a·​class="sourceLine"·​id="cb3-​2"·​title="2"><span·​class="kw">typedef</​span>·​<span·​class="kw">enum</​span>·​ALLEGRO_VIDEO_POSITIO​N_TYPE·​ALLEGRO_VIDEO_POSITIO​N_TYPE;​</​a></​code></​pre></​div> 
214 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​allegro5/​allegro_video.​h#L51">Source·​Code</​a></​p>212 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​allegro5/​allegro_video.​h#L51">Source·​Code</​a></​p>
215 <p>Used·​with·​<a·​href="video.​html#al_get_video_pos​ition">al_get_video_p​osition</​a>·​to·​specify·​which·​position·​to·​retrieve.​·​If·​these·​get·​out·​of·​sync,​·​audio·​and·​video·​may·​be·​out·​of·​sync·​in·​the·​display·​of·​the·​video.​</​p>213 <p>Used·​with·​<a·​href="video.​html#al_get_video_pos​ition">al_get_video_p​osition</​a>·​to·​specify·​which·​position·​to·​retrieve.​·​If·​these·​get·​out·​of·​sync,​·​audio·​and·​video·​may·​be·​out·​of·​sync·​in·​the·​display·​of·​the·​video.​</​p>
216 <ul>214 <ul>
217 <li><p>ALLEGRO_VIDEO_​POSITION_ACTUAL·​-​·​The·​amount·​of·​time·​the·​video·​has·​been·​playing.​·​If·​the·​video·​has·​audio·​then·​this·​value·​can·​be·​ahead·​of·​ALLEGRO_VIDEO_POSITIO​N_VIDEO_DECODE·​when·​video·​decoding·​lags.​</​p></​li>215 <li><p>ALLEGRO_VIDEO_​POSITION_ACTUAL·​-​·​The·​amount·​of·​time·​the·​video·​has·​been·​playing.​·​If·​the·​video·​has·​audio·​then·​this·​value·​can·​be·​ahead·​of·​ALLEGRO_VIDEO_POSITIO​N_VIDEO_DECODE·​when·​video·​decoding·​lags.​</​p></​li>
218 <li><p>ALLEGRO_VIDEO_​POSITION_VIDEO_DECODE​·​-​·​The·​amount·​of·​video·​that·​has·​been·​decoded.​·​This·​may·​lag·​behind·​the·​“actual”·​and·​audio·​positions·​if·​decoding·​is·​slower·​than·​realtime.​</​p></​li>216 <li><p>ALLEGRO_VIDEO_​POSITION_VIDEO_DECODE​·​-​·​The·​amount·​of·​video·​that·​has·​been·​decoded.​·​This·​may·​lag·​behind·​the·​“actual”·​and·​audio·​positions·​if·​decoding·​is·​slower·​than·​realtime.​</​p></​li>
219 <li><p>ALLEGRO_VIDEO_​POSITION_AUDIO_DECODE​·​-​·​The·​amount·​of·​audio·​that·​has·​been·​decoded.​·​This·​may·​be·​the·​same·​as·​ALLEGRO_VIDEO_POSITIO​N_ACTUAL·​if·​audio·​decode·​is·​driving·​the·​position,​·​which·​is·​common·​to·​keep·​audio·​and·​video·​in·​sync.​</​p></​li>217 <li><p>ALLEGRO_VIDEO_​POSITION_AUDIO_DECODE​·​-​·​The·​amount·​of·​audio·​that·​has·​been·​decoded.​·​This·​may·​be·​the·​same·​as·​ALLEGRO_VIDEO_POSITIO​N_ACTUAL·​if·​audio·​decode·​is·​driving·​the·​position,​·​which·​is·​common·​to·​keep·​audio·​and·​video·​in·​sync.​</​p></​li>
220 </​ul>218 </​ul>
221 <p>Since:​·​5.​1.​11</​p>219 <p>Since:​·​5.​1.​11</​p>
222 <h1·​id="al_init_video_add​on">al_init_video_add​on</​h1>220 <h1·​id="al_init_video_add​on">al_init_video_add​on</​h1>
223 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_video_addon(<​span·​class="dt">void</​span>)​</​a>221 <div·​class="sourceCode"·​id="cb4"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb4-​1"·​title="1"><span·​class="dt">bool</​span>·​al_init_video_addon(<​span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
224 <a·​class="sourceLine"·​id="cb4-​2"·​title="2"><span·​class="dt">bool</​span>·​al_init_video_addon(<​span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
225 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L256">Source·​Code</​a></​p>222 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L256">Source·​Code</​a></​p>
226 <p>Initializes·​the·​video·​addon.​</​p>223 <p>Initializes·​the·​video·​addon.​</​p>
227 <p>Since:​·​5.​1.​12</​p>224 <p>Since:​·​5.​1.​12</​p>
228 <h1·​id="al_shutdown_video​_addon">al_shutdown_v​ideo_addon</​h1>225 <h1·​id="al_shutdown_video​_addon">al_shutdown_v​ideo_addon</​h1>
229 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_video_add​on(<span·​class="dt">void</​span>)​</​a>226 <div·​class="sourceCode"·​id="cb5"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb5-​1"·​title="1"><span·​class="dt">void</​span>·​al_shutdown_video_add​on(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
230 <a·​class="sourceLine"·​id="cb5-​2"·​title="2"><span·​class="dt">void</​span>·​al_shutdown_video_add​on(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
231 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L278">Source·​Code</​a></​p>227 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L278">Source·​Code</​a></​p>
232 <p>Shut·​down·​the·​video·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>228 <p>Shut·​down·​the·​video·​addon.​·​This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time·​the·​user·​wishes·​as·​well.​</​p>
233 <p>Since:​·​5.​1.​12</​p>229 <p>Since:​·​5.​1.​12</​p>
234 <h1·​id="al_get_allegro_vi​deo_version">al_get_a​llegro_video_version<​/​h1>230 <h1·​id="al_get_allegro_vi​deo_version">al_get_a​llegro_video_version<​/​h1>
235 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_video_​version(<span·​class="dt">void</​span>)​</​a>231 <div·​class="sourceCode"·​id="cb6"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb6-​1"·​title="1"><span·​class="dt">uint32_t</​span>·​al_get_allegro_video_​version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div>
236 <a·​class="sourceLine"·​id="cb6-​2"·​title="2"><span·​class="dt">uint32_t</​span>·​al_get_allegro_video_​version(<span·​class="dt">void</​span>)​</​a></​code></​pre></​div> 
237 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L296">Source·​Code</​a></​p>232 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L296">Source·​Code</​a></​p>
238 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>233 <p>Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as·​<a·​href="system.​html#al_get_allegro_v​ersion">al_get_allegr​o_version</​a>.​</​p>
239 <p>Since:​·​5.​1.​12</​p>234 <p>Since:​·​5.​1.​12</​p>
240 <h1·​id="al_open_video">al​_open_video</​h1>235 <h1·​id="al_open_video">al​_open_video</​h1>
241 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_VID​EO·​*al_open_video(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename)​</​a>236 <div·​class="sourceCode"·​id="cb7"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb7-​1"·​title="1">ALLEGRO_VID​EO·​*al_open_video(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename)​</​a></​code></​pre></​div>
242 <a·​class="sourceLine"·​id="cb7-​2"·​title="2">ALLEGRO_VID​EO·​*al_open_video(<span·​class="dt">char</​span>·​<span·​class="dt">const</​span>·​*filename)​</​a></​code></​pre></​div> 
243 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L94">Source·​Code</​a></​p>237 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L94">Source·​Code</​a></​p>
244 <p>Reads·​a·​video·​file.​·​This·​does·​not·​start·​streaming·​yet·​but·​reads·​the·​meta·​info·​so·​you·​can·​query·​e.​g.​ the·​size·​or·​audio·​rate.​</​p>238 <p>Reads·​a·​video·​file.​·​This·​does·​not·​start·​streaming·​yet·​but·​reads·​the·​meta·​info·​so·​you·​can·​query·​e.​g.​ the·​size·​or·​audio·​rate.​</​p>
245 <p>Since:​·​5.​1.​0</​p>239 <p>Since:​·​5.​1.​0</​p>
246 <h1·​id="al_close_video">a​l_close_video</​h1>240 <h1·​id="al_close_video">a​l_close_video</​h1>
247 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_close_video(ALLEGR​O_VIDEO·​*video)​</​a>241 <div·​class="sourceCode"·​id="cb8"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb8-​1"·​title="1"><span·​class="dt">void</​span>·​al_close_video(ALLEGR​O_VIDEO·​*video)​</​a></​code></​pre></​div>
248 <a·​class="sourceLine"·​id="cb8-​2"·​title="2"><span·​class="dt">void</​span>·​al_close_video(ALLEGR​O_VIDEO·​*video)​</​a></​code></​pre></​div> 
249 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L127">Source·​Code</​a></​p>242 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L127">Source·​Code</​a></​p>
250 <p>Closes·​the·​video·​and·​frees·​all·​allocated·​resources.​·​The·​video·​pointer·​is·​invalid·​after·​the·​function·​returns.​</​p>243 <p>Closes·​the·​video·​and·​frees·​all·​allocated·​resources.​·​The·​video·​pointer·​is·​invalid·​after·​the·​function·​returns.​</​p>
251 <p>Since:​·​5.​1.​0</​p>244 <p>Since:​·​5.​1.​0</​p>
252 <h1·​id="al_start_video">a​l_start_video</​h1>245 <h1·​id="al_start_video">a​l_start_video</​h1>
253 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">void</​span>·​al_start_video(ALLEGR​O_VIDEO·​*video,​·​ALLEGRO_MIXER·​*mixer)​</​a>246 <div·​class="sourceCode"·​id="cb9"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb9-​1"·​title="1"><span·​class="dt">void</​span>·​al_start_video(ALLEGR​O_VIDEO·​*video,​·​ALLEGRO_MIXER·​*mixer)​</​a></​code></​pre></​div>
254 <a·​class="sourceLine"·​id="cb9-​2"·​title="2"><span·​class="dt">void</​span>·​al_start_video(ALLEGR​O_VIDEO·​*video,​·​ALLEGRO_MIXER·​*mixer)​</​a></​code></​pre></​div> 
255 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L149">Source·​Code</​a></​p>247 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L149">Source·​Code</​a></​p>
256 <p>Starts·​streaming·​the·​video·​from·​the·​beginning.​</​p>248 <p>Starts·​streaming·​the·​video·​from·​the·​beginning.​</​p>
257 <p>Since:​·​5.​1.​0</​p>249 <p>Since:​·​5.​1.​0</​p>
258 <h1·​id="al_start_video_wi​th_voice">al_start_vi​deo_with_voice</​h1>250 <h1·​id="al_start_video_wi​th_voice">al_start_vi​deo_with_voice</​h1>
259 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_start_video_with_v​oice(ALLEGRO_VIDEO·​*video,​·​ALLEGRO_VOICE·​*voice)​</​a>251 <div·​class="sourceCode"·​id="cb10"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb10-​1"·​title="1"><span·​class="dt">void</​span>·​al_start_video_with_v​oice(ALLEGRO_VIDEO·​*video,​·​ALLEGRO_VOICE·​*voice)​</​a></​code></​pre></​div>
260 <a·​class="sourceLine"·​id="cb10-​2"·​title="2"><span·​class="dt">void</​span>·​al_start_video_with_v​oice(ALLEGRO_VIDEO·​*video,​·​ALLEGRO_VOICE·​*voice)​</​a></​code></​pre></​div> 
261 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L160">Source·​Code</​a></​p>252 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L160">Source·​Code</​a></​p>
262 <p>Like·​<a·​href="video.​html#al_start_video">​al_start_video</​a>·​but·​audio·​is·​routed·​to·​the·​provided·​voice.​</​p>253 <p>Like·​<a·​href="video.​html#al_start_video">​al_start_video</​a>·​but·​audio·​is·​routed·​to·​the·​provided·​voice.​</​p>
263 <p>Since:​·​5.​1.​0</​p>254 <p>Since:​·​5.​1.​0</​p>
264 <h1·​id="al_get_video_even​t_source">al_get_vide​o_event_source</​h1>255 <h1·​id="al_get_video_even​t_source">al_get_vide​o_event_source</​h1>
265 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_video_event_s​ource(ALLEGRO_VIDEO·​*video)​</​a>256 <div·​class="sourceCode"·​id="cb11"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb11-​1"·​title="1">ALLEGRO_EVE​NT_SOURCE·​*al_get_video_event_s​ource(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div>
266 <a·​class="sourceLine"·​id="cb11-​2"·​title="2">ALLEGRO_EVE​NT_SOURCE·​*al_get_video_event_s​ource(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div> 
267 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L141">Source·​Code</​a></​p>257 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L141">Source·​Code</​a></​p>
268 <p>Get·​an·​event·​source·​for·​the·​video.​·​The·​possible·​events·​are·​described·​under·​<a·​href="video.​html#allegro_video_ev​ent_type">ALLEGRO_VID​EO_EVENT_TYPE</​a>.​</​p>258 <p>Get·​an·​event·​source·​for·​the·​video.​·​The·​possible·​events·​are·​described·​under·​<a·​href="video.​html#allegro_video_ev​ent_type">ALLEGRO_VID​EO_EVENT_TYPE</​a>.​</​p>
269 <p>Since:​·​5.​1.​0</​p>259 <p>Since:​·​5.​1.​0</​p>
270 <h1·​id="al_set_video_play​ing">al_set_video_pla​ying</​h1>260 <h1·​id="al_set_video_play​ing">al_set_video_pla​ying</​h1>
271 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_video_playing(​ALLEGRO_VIDEO·​*video,​·​<span·​class="dt">bool</​span>·​play)​</​a>261 <div·​class="sourceCode"·​id="cb12"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb12-​1"·​title="1"><span·​class="dt">void</​span>·​al_set_video_playing(​ALLEGRO_VIDEO·​*video,​·​<span·​class="dt">bool</​span>·​play)​</​a></​code></​pre></​div>
272 <a·​class="sourceLine"·​id="cb12-​2"·​title="2"><span·​class="dt">void</​span>·​al_set_video_playing(​ALLEGRO_VIDEO·​*video,​·​<span·​class="dt">bool</​span>·​play)​</​a></​code></​pre></​div> 
273 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L171">Source·​Code</​a></​p>262 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L171">Source·​Code</​a></​p>
274 <p>Paused·​or·​resumes·​playback.​</​p>263 <p>Paused·​or·​resumes·​playback.​</​p>
275 <p>Since:​·​5.​1.​12</​p>264 <p>Since:​·​5.​1.​12</​p>
276 <h1·​id="al_is_video_playi​ng">al_is_video_playi​ng</​h1>265 <h1·​id="al_is_video_playi​ng">al_is_video_playi​ng</​h1>
277 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="dt">bool</​span>·​al_is_video_playing(A​LLEGRO_VIDEO·​*video)​</​a>266 <div·​class="sourceCode"·​id="cb13"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb13-​1"·​title="1"><span·​class="dt">bool</​span>·​al_is_video_playing(A​LLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div>
278 <a·​class="sourceLine"·​id="cb13-​2"·​title="2"><span·​class="dt">bool</​span>·​al_is_video_playing(A​LLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div> 
279 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L183">Source·​Code</​a></​p>267 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L183">Source·​Code</​a></​p>
280 <p>Returns·​true·​if·​the·​video·​is·​currently·​playing.​</​p>268 <p>Returns·​true·​if·​the·​video·​is·​currently·​playing.​</​p>
281 <p>Since:​·​5.​1.​12</​p>269 <p>Since:​·​5.​1.​12</​p>
282 <h1·​id="al_get_video_audi​o_rate">al_get_video_​audio_rate</​h1>270 <h1·​id="al_get_video_audi​o_rate">al_get_video_​audio_rate</​h1>
283 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">double</​span>·​al_get_video_audio_ra​te(ALLEGRO_VIDEO·​*video)​</​a>271 <div·​class="sourceCode"·​id="cb14"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb14-​1"·​title="1"><span·​class="dt">double</​span>·​al_get_video_audio_ra​te(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div>
284 <a·​class="sourceLine"·​id="cb14-​2"·​title="2"><span·​class="dt">double</​span>·​al_get_video_audio_ra​te(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div> 
285 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L224">Source·​Code</​a></​p>272 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L224">Source·​Code</​a></​p>
286 <p>Returns·​the·​audio·​rate·​of·​the·​video,​·​in·​Hz.​</​p>273 <p>Returns·​the·​audio·​rate·​of·​the·​video,​·​in·​Hz.​</​p>
287 <p>Since:​·​5.​1.​0</​p>274 <p>Since:​·​5.​1.​0</​p>
288 <h1·​id="al_get_video_fps"​>al_get_video_fps</​h1>275 <h1·​id="al_get_video_fps"​>al_get_video_fps</​h1>
289 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="dt">double</​span>·​al_get_video_fps(ALLE​GRO_VIDEO·​*video)​</​a>276 <div·​class="sourceCode"·​id="cb15"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb15-​1"·​title="1"><span·​class="dt">double</​span>·​al_get_video_fps(ALLE​GRO_VIDEO·​*video)​</​a></​code></​pre></​div>
290 <a·​class="sourceLine"·​id="cb15-​2"·​title="2"><span·​class="dt">double</​span>·​al_get_video_fps(ALLE​GRO_VIDEO·​*video)​</​a></​code></​pre></​div> 
291 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L232">Source·​Code</​a></​p>277 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L232">Source·​Code</​a></​p>
292 <p>Returns·​the·​speed·​of·​the·​video·​in·​frames·​per·​second.​·​Often·​this·​will·​not·​be·​an·​integer·​value.​</​p>278 <p>Returns·​the·​speed·​of·​the·​video·​in·​frames·​per·​second.​·​Often·​this·​will·​not·​be·​an·​integer·​value.​</​p>
293 <p>Since:​·​5.​1.​0</​p>279 <p>Since:​·​5.​1.​0</​p>
294 <h1·​id="al_get_video_scal​ed_width">al_get_vide​o_scaled_width</​h1>280 <h1·​id="al_get_video_scal​ed_width">al_get_vide​o_scaled_width</​h1>
295 <div·​class="sourceCode"·​id="cb16"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb16-​1"·​title="1"><span·​class="dt">float</​span>·​al_get_video_scaled_w​idth(ALLEGRO_VIDEO·​*video)​</​a>281 <div·​class="sourceCode"·​id="cb16"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb16-​1"·​title="1"><span·​class="dt">float</​span>·​al_get_video_scaled_w​idth(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div>
296 <a·​class="sourceLine"·​id="cb16-​2"·​title="2"><span·​class="dt">float</​span>·​al_get_video_scaled_w​idth(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div> 
297 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L240">Source·​Code</​a></​p>282 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L240">Source·​Code</​a></​p>
298 <p>Returns·​the·​width·​with·​which·​the·​video·​frame·​should·​be·​drawn.​·​Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value·​larger·​than·​the·​width·​of·​the·​frame·​bitmap.​</​p>283 <p>Returns·​the·​width·​with·​which·​the·​video·​frame·​should·​be·​drawn.​·​Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value·​larger·​than·​the·​width·​of·​the·​frame·​bitmap.​</​p>
299 <p>Since:​·​5.​1.​12</​p>284 <p>Since:​·​5.​1.​12</​p>
300 <p>See·​also:​·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a></​p>285 <p>See·​also:​·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a></​p>
301 <h1·​id="al_get_video_scal​ed_height">al_get_vid​eo_scaled_height</​h1>286 <h1·​id="al_get_video_scal​ed_height">al_get_vid​eo_scaled_height</​h1>
302 <div·​class="sourceCode"·​id="cb17"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb17-​1"·​title="1"><span·​class="dt">float</​span>·​al_get_video_scaled_h​eight(ALLEGRO_VIDEO·​*video)​</​a>287 <div·​class="sourceCode"·​id="cb17"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb17-​1"·​title="1"><span·​class="dt">float</​span>·​al_get_video_scaled_h​eight(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div>
303 <a·​class="sourceLine"·​id="cb17-​2"·​title="2"><span·​class="dt">float</​span>·​al_get_video_scaled_h​eight(ALLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div> 
304 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L248">Source·​Code</​a></​p>288 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L248">Source·​Code</​a></​p>
305 <p>Returns·​the·​height·​with·​which·​the·​video·​frame·​should·​be·​drawn.​·​Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value·​larger·​than·​the·​height·​of·​the·​frame·​bitmap.​</​p>289 <p>Returns·​the·​height·​with·​which·​the·​video·​frame·​should·​be·​drawn.​·​Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value·​larger·​than·​the·​height·​of·​the·​frame·​bitmap.​</​p>
306 <p>See·​also:​·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a></​p>290 <p>See·​also:​·​<a·​href="video.​html#al_get_video_fra​me">al_get_video_fram​e</​a></​p>
307 <p>Since:​·​5.​1.​12</​p>291 <p>Since:​·​5.​1.​12</​p>
308 <h1·​id="al_get_video_fram​e">al_get_video_frame​</​h1>292 <h1·​id="al_get_video_fram​e">al_get_video_frame​</​h1>
309 <div·​class="sourceCode"·​id="cb18"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb18-​1"·​title="1">ALLEGRO_BIT​MAP·​*al_get_video_frame(A​LLEGRO_VIDEO·​*video)​</​a>293 <div·​class="sourceCode"·​id="cb18"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb18-​1"·​title="1">ALLEGRO_BIT​MAP·​*al_get_video_frame(A​LLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div>
310 <a·​class="sourceLine"·​id="cb18-​2"·​title="2">ALLEGRO_BIT​MAP·​*al_get_video_frame(A​LLEGRO_VIDEO·​*video)​</​a></​code></​pre></​div> 
311 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L192">Source·​Code</​a></​p>294 <p><a·​href="https:​/​/​github.​com/​liballeg/​allegro5/​blob/​master/​addons/​video/​video.​c#L192">Source·​Code</​a></​p>
312 <p>Returns·​the·​current·​video·​frame.​·​The·​bitmap·​is·​owned·​by·​the·​video·​so·​do·​not·​attempt·​to·​free·​it.​·​The·​bitmap·​will·​stay·​valid·​until·​the·​next·​call·​to·​al_get_video_frame.​</​p>295 <p>Returns·​the·​current·​video·​frame.​·​The·​bitmap·​is·​owned·​by·​the·​video·​so·​do·​not·​attempt·​to·​free·​it.​·​The·​bitmap·​will·​stay·​valid·​until·​the·​next·​call·​to·​al_get_video_frame.​</​p>
313 <p>Videos·​often·​do·​not·​use·​square·​pixels·​so·​the·​recommended·​way·​to·​draw·​a·​video·​frame·​would·​be·​using·​code·​like·​this:​</​p>296 <p>Videos·​often·​do·​not·​use·​square·​pixels·​so·​the·​recommended·​way·​to·​draw·​a·​video·​frame·​would·​be·​using·​code·​like·​this:​</​p>
314 <div·​class="sourceCode"·​id="cb19"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb19-​1"·​title="1"><span·​class="dt">float</​span>·​scale·​=·​<span·​class="fl">1.​0</​span>;​·​<span·​class="co">/​*·​Adjust·​this·​to·​fit·​your·​target·​bitmap·​dimensions.​·​*/​</​span></​a>297 <div·​class="sourceCode"·​id="cb19"><pre·​class="sourceCode·​c"><code·​class="sourceCode·​c"><a·​class="sourceLine"·​id="cb19-​1"·​title="1"><span·​class="dt">float</​span>·​scale·​=·​<span·​class="fl">1.​0</​span>;​·​<span·​class="co">/​*·​Adjust·​this·​to·​fit·​your·​target·​bitmap·​dimensions.​·​*/​</​span></​a>
Max diff block lines reached; 3158/21220 bytes (14.88%) of diff not shown.
648 B
./usr/share/man/man3/ALLEGRO_AUDIO_DEPTH.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8571 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​831
354 B
ALLEGRO_AUDIO_DEPTH.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 enum\·​ALLEGRO_AUDIO_DEPTH13 enum\·​ALLEGRO_AUDIO_DEPTH
14 enum\·​ALLEGRO_AUDIO_DEPTH 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Sample·​depth·​and·​type·​as·​well·​as·​signedness.​18 Sample·​depth·​and·​type·​as·​well·​as·​signedness.​
20 Mixers·​only·​use·​32\-​bit·​signed·​float·​(\-​1.​.​+1)​,​·​or·​16\-​bit·​signed19 Mixers·​only·​use·​32\-​bit·​signed·​float·​(\-​1.​.​+1)​,​·​or·​16\-​bit·​signed
21 integers.​20 integers.​
694 B
./usr/share/man/man3/ALLEGRO_AUDIO_EVENT_TYPE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​9881 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​957
390 B
ALLEGRO_AUDIO_EVENT_TYPE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 enum\·​ALLEGRO_AUDIO_EVENT_T​YPE13 enum\·​ALLEGRO_AUDIO_EVENT_T​YPE
14 enum\·​ALLEGRO_AUDIO_EVENT_T​YPE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​SS·​ALLEGRO_EVENT_AUDIO_S​TREAM_FRAGMENT17 .​SS·​ALLEGRO_EVENT_AUDIO_S​TREAM_FRAGMENT
19 .​PP18 .​PP
20 Sent·​when·​a·​stream·​fragment·​is·​ready·​to·​be·​filled·​in.​19 Sent·​when·​a·​stream·​fragment·​is·​ready·​to·​be·​filled·​in.​
21 See·​al_get_audio_stream_f​ragment(3alleg5)​.​20 See·​al_get_audio_stream_f​ragment(3alleg5)​.​
747 B
./usr/share/man/man3/ALLEGRO_AUDIO_PAN_NONE.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·966
446 B
ALLEGRO_AUDIO_PAN_NONE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 #define\·​ALLEGRO_AUDIO_PAN_NON​E\·​\·​\·​\·​\·​\·​(\-​1000.​0f)​13 #define\·​ALLEGRO_AUDIO_PAN_NON​E\·​\·​\·​\·​\·​\·​(\-​1000.​0f)​
14 #define\·​ALLEGRO_AUDIO_PAN_NON​E\·​\·​\·​\·​\·​\·​(\-​1000.​0f)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​special·​value·​for·​the·​pan·​property·​of·​sample·​instances·​and·​audio18 A·​special·​value·​for·​the·​pan·​property·​of·​sample·​instances·​and·​audio
20 streams.​19 streams.​
21 Use·​this·​value·​to·​disable·​panning·​on·​sample·​instances·​and·​audio·​streams,​20 Use·​this·​value·​to·​disable·​panning·​on·​sample·​instances·​and·​audio·​streams,​
686 B
./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5491 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·484
386 B
ALLEGRO_AUDIO_RECORDER.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_AUDIO_RECORDE​R\·​ALLEGRO_AUDIO_RECORDE​R;​13 typedef\·​struct\·​ALLEGRO_AUDIO_RECORDE​R\·​ALLEGRO_AUDIO_RECORDE​R;​
14 typedef\·​struct\·​ALLEGRO_AUDIO_RECORDE​R\·​ALLEGRO_AUDIO_RECORDE​R;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​datatype·​that·​represents·​a·​recording·​device.​18 An·​opaque·​datatype·​that·​represents·​a·​recording·​device.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
760 B
./usr/share/man/man3/ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9241 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·847
448 B
ALLEGRO_AUDIO_RECORDER_EVENT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_AUDIO_RECORDE​R_EVENT\·​ALLEGRO_AUDIO_RECORDE​R_EVENT;​13 typedef\·​struct\·​ALLEGRO_AUDIO_RECORDE​R_EVENT\·​ALLEGRO_AUDIO_RECORDE​R_EVENT;​
14 typedef\·​struct\·​ALLEGRO_AUDIO_RECORDE​R_EVENT\·​ALLEGRO_AUDIO_RECORDE​R_EVENT;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Structure·​that·​holds·​the·​audio·​recorder·​event·​data.​18 Structure·​that·​holds·​the·​audio·​recorder·​event·​data.​
20 Every·​event·​type·​will·​contain:​19 Every·​event·​type·​will·​contain:​
21 .​IP·​\[bu]·​220 .​IP·​\[bu]·​2
775 B
./usr/share/man/man3/ALLEGRO_AUDIO_STREAM.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·20291 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·1968
477 B
ALLEGRO_AUDIO_STREAM.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_AUDIO_STREAM\​·​ALLEGRO_AUDIO_STREAM;​13 typedef\·​struct\·​ALLEGRO_AUDIO_STREAM\​·​ALLEGRO_AUDIO_STREAM;​
14 typedef\·​struct\·​ALLEGRO_AUDIO_STREAM\​·​ALLEGRO_AUDIO_STREAM;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​ALLEGRO_AUDIO_STREAM·​object·​is·​used·​to·​stream·​generated·​audio·​to·​the18 An·​ALLEGRO_AUDIO_STREAM·​object·​is·​used·​to·​stream·​generated·​audio·​to·​the
20 sound·​device,​·​in·​real\-​time.​19 sound·​device,​·​in·​real\-​time.​
21 This·​is·​done·​by·​reading·​from·​a·​buffer,​·​which·​is·​split·​into·​a·​number·​of20 This·​is·​done·​by·​reading·​from·​a·​buffer,​·​which·​is·​split·​into·​a·​number·​of
593 B
./usr/share/man/man3/ALLEGRO_BITMAP.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3951 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​346
309 B
ALLEGRO_BITMAP.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_BITMAP\·​ALLEGRO_BITMAP;​13 typedef\·​struct\·​ALLEGRO_BITMAP\·​ALLEGRO_BITMAP;​
14 typedef\·​struct\·​ALLEGRO_BITMAP\·​ALLEGRO_BITMAP;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Abstract·​type·​representing·​a·​bitmap·​(2D·​image)​.​18 Abstract·​type·​representing·​a·​bitmap·​(2D·​image)​.​
628 B
./usr/share/man/man3/ALLEGRO_BPM_TO_SECS.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4201 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·358
334 B
ALLEGRO_BPM_TO_SECS.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_BPM_TO_SECS(x​)​\·​\·​\·​\·​\·​\·​\·​\·​(60.​0\·​/​\·​(x)​)​13 #define\·​ALLEGRO_BPM_TO_SECS(x​)​\·​\·​\·​\·​\·​\·​\·​\·​(60.​0\·​/​\·​(x)​)​
14 #define\·​ALLEGRO_BPM_TO_SECS(x​)​\·​\·​\·​\·​\·​\·​\·​\·​(60.​0\·​/​\·​(x)​)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Convert·​beats·​per·​minute·​to·​seconds.​18 Convert·​beats·​per·​minute·​to·​seconds.​
626 B
./usr/share/man/man3/ALLEGRO_BPS_TO_SECS.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4181 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·357
332 B
ALLEGRO_BPS_TO_SECS.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_BPS_TO_SECS(x​)​\·​\·​\·​\·​\·​\·​\·​\·​(1.​0\·​/​\·​(x)​)​13 #define\·​ALLEGRO_BPS_TO_SECS(x​)​\·​\·​\·​\·​\·​\·​\·​\·​(1.​0\·​/​\·​(x)​)​
14 #define\·​ALLEGRO_BPS_TO_SECS(x​)​\·​\·​\·​\·​\·​\·​\·​\·​(1.​0\·​/​\·​(x)​)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Convert·​beats·​per·​second·​to·​seconds.​18 Convert·​beats·​per·​second·​to·​seconds.​
616 B
./usr/share/man/man3/ALLEGRO_CHANNEL_CONF.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6201 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·593
320 B
ALLEGRO_CHANNEL_CONF.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 enum\·​ALLEGRO_CHANNEL_CONF13 enum\·​ALLEGRO_CHANNEL_CONF
14 enum\·​ALLEGRO_CHANNEL_CONF 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Speaker·​configuration·​(mono,​·​stereo,​·​2.​1,​·​etc)​.​18 Speaker·​configuration·​(mono,​·​stereo,​·​2.​1,​·​etc)​.​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_CHANNEL_CONF_​120 ALLEGRO_CHANNEL_CONF_​1
682 B
./usr/share/man/man3/ALLEGRO_COLOR.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5371 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·490
400 B
ALLEGRO_COLOR.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_COLOR\·​ALLEGRO_COLOR;​13 typedef\·​struct\·​ALLEGRO_COLOR\·​ALLEGRO_COLOR;​
14 typedef\·​struct\·​ALLEGRO_COLOR\·​ALLEGRO_COLOR;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​ALLEGRO_COLOR·​structure·​describes·​a·​color·​in·​a·​device·​independent18 An·​ALLEGRO_COLOR·​structure·​describes·​a·​color·​in·​a·​device·​independent
20 way.​19 way.​
21 Use·​al_map_rgb(3alleg5)​·​et·​al.​\·​and·​al_unmap_rgb(3alleg5)​·​et·​al.​\·​to20 Use·​al_map_rgb(3alleg5)​·​et·​al.​\·​and·​al_unmap_rgb(3alleg5)​·​et·​al.​\·​to
584 B
./usr/share/man/man3/ALLEGRO_COND.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3901 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​345
304 B
ALLEGRO_COND.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_COND\·​ALLEGRO_COND;​13 typedef\·​struct\·​ALLEGRO_COND\·​ALLEGRO_COND;​
14 typedef\·​struct\·​ALLEGRO_COND\·​ALLEGRO_COND;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​structure·​representing·​a·​condition·​variable.​18 An·​opaque·​structure·​representing·​a·​condition·​variable.​
582 B
./usr/share/man/man3/ALLEGRO_CONFIG.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3841 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​335
298 B
ALLEGRO_CONFIG.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_CONFIG\·​ALLEGRO_CONFIG;​13 typedef\·​struct\·​ALLEGRO_CONFIG\·​ALLEGRO_CONFIG;​
14 typedef\·​struct\·​ALLEGRO_CONFIG\·​ALLEGRO_CONFIG;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​abstract·​configuration·​structure.​18 An·​abstract·​configuration·​structure.​
690 B
./usr/share/man/man3/ALLEGRO_CONFIG_ENTRY.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5521 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·491
394 B
ALLEGRO_CONFIG_ENTRY.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_CONFIG_ENTRY\​·​ALLEGRO_CONFIG_ENTRY;​13 typedef\·​struct\·​ALLEGRO_CONFIG_ENTRY\​·​ALLEGRO_CONFIG_ENTRY;​
14 typedef\·​struct\·​ALLEGRO_CONFIG_ENTRY\​·​ALLEGRO_CONFIG_ENTRY;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​structure·​used·​for·​iterating·​across·​entries·​in·​a·​configuration18 An·​opaque·​structure·​used·​for·​iterating·​across·​entries·​in·​a·​configuration
20 section.​19 section.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
709 B
./usr/share/man/man3/ALLEGRO_CONFIG_SECTION.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5711 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​506
409 B
ALLEGRO_CONFIG_SECTION.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_CONFIG_SECTIO​N\·​ALLEGRO_CONFIG_SECTIO​N;​13 typedef\·​struct\·​ALLEGRO_CONFIG_SECTIO​N\·​ALLEGRO_CONFIG_SECTIO​N;​
14 typedef\·​struct\·​ALLEGRO_CONFIG_SECTIO​N\·​ALLEGRO_CONFIG_SECTIO​N;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​structure·​used·​for·​iterating·​across·​sections·​in·​a18 An·​opaque·​structure·​used·​for·​iterating·​across·​sections·​in·​a
20 configuration·​structure.​19 configuration·​structure.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
608 B
./usr/share/man/man3/ALLEGRO_DISPLAY.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4081 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·357
322 B
ALLEGRO_DISPLAY.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_DISPLAY\·​ALLEGRO_DISPLAY;​13 typedef\·​struct\·​ALLEGRO_DISPLAY\·​ALLEGRO_DISPLAY;​
14 typedef\·​struct\·​ALLEGRO_DISPLAY\·​ALLEGRO_DISPLAY;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​type·​representing·​an·​open·​display·​or·​window.​18 An·​opaque·​type·​representing·​an·​open·​display·​or·​window.​
644 B
./usr/share/man/man3/ALLEGRO_DISPLAY_MODE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​9581 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​920
348 B
ALLEGRO_DISPLAY_MODE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_DISPLAY_MODE13 typedef\·​struct\·​ALLEGRO_DISPLAY_MODE
14 typedef\·​struct\·​ALLEGRO_DISPLAY_MODE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Used·​for·​fullscreen·​mode·​queries.​18 Used·​for·​fullscreen·​mode·​queries.​
20 Contains·​information·​about·​a·​supported·​fullscreen·​modes.​19 Contains·​information·​about·​a·​supported·​fullscreen·​modes.​
21 .​IP20 .​IP
721 B
./usr/share/man/man3/ALLEGRO_EVENT.3alleg5.gz
196 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​165841 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​16538
435 B
ALLEGRO_EVENT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​union\·​ALLEGRO_EVENT\·​ALLEGRO_EVENT;​13 typedef\·​union\·​ALLEGRO_EVENT\·​ALLEGRO_EVENT;​
14 typedef\·​union\·​ALLEGRO_EVENT\·​ALLEGRO_EVENT;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​ALLEGRO_EVENT·​is·​a·​union·​of·​all·​builtin·​event·​structures,​·​i.​e.​\·​it·​is18 An·​ALLEGRO_EVENT·​is·​a·​union·​of·​all·​builtin·​event·​structures,​·​i.​e.​\·​it·​is
20 an·​object·​large·​enough·​to·​hold·​the·​data·​of·​any·​event·​type.​19 an·​object·​large·​enough·​to·​hold·​the·​data·​of·​any·​event·​type.​
21 All·​events·​have·​the·​following·​fields·​in·​common:​20 All·​events·​have·​the·​following·​fields·​in·​common:​
744 B
./usr/share/man/man3/ALLEGRO_EVENT_QUEUE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6751 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​616
450 B
ALLEGRO_EVENT_QUEUE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_EVENT_QUEUE\·​ALLEGRO_EVENT_QUEUE;​13 typedef\·​struct\·​ALLEGRO_EVENT_QUEUE\·​ALLEGRO_EVENT_QUEUE;​
14 typedef\·​struct\·​ALLEGRO_EVENT_QUEUE\·​ALLEGRO_EVENT_QUEUE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​event·​queue·​holds·​events·​that·​have·​been·​generated·​by·​event·​sources18 An·​event·​queue·​holds·​events·​that·​have·​been·​generated·​by·​event·​sources
20 that·​are·​registered·​with·​the·​queue.​19 that·​are·​registered·​with·​the·​queue.​
21 Events·​are·​stored·​in·​the·​order·​they·​are·​generated.​20 Events·​are·​stored·​in·​the·​order·​they·​are·​generated.​
783 B
./usr/share/man/man3/ALLEGRO_EVENT_SOURCE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7961 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​735
487 B
ALLEGRO_EVENT_SOURCE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_EVENT_SOURCE\​·​ALLEGRO_EVENT_SOURCE;​13 typedef\·​struct\·​ALLEGRO_EVENT_SOURCE\​·​ALLEGRO_EVENT_SOURCE;​
14 typedef\·​struct\·​ALLEGRO_EVENT_SOURCE\​·​ALLEGRO_EVENT_SOURCE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​event·​source·​is·​any·​object·​which·​can·​generate·​events.​18 An·​event·​source·​is·​any·​object·​which·​can·​generate·​events.​
20 For·​example,​·​an·​ALLEGRO_DISPLAY·​can·​generate·​events,​·​and·​you·​can·​get·​the19 For·​example,​·​an·​ALLEGRO_DISPLAY·​can·​generate·​events,​·​and·​you·​can·​get·​the
21 ALLEGRO_EVENT_SOURCE·​pointer·​from·​an·​ALLEGRO_DISPLAY·​with20 ALLEGRO_EVENT_SOURCE·​pointer·​from·​an·​ALLEGRO_DISPLAY·​with
636 B
./usr/share/man/man3/ALLEGRO_EVENT_TYPE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·477
344 B
ALLEGRO_EVENT_TYPE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​unsigned\·​int\·​ALLEGRO_EVENT_TYPE;​13 typedef\·​unsigned\·​int\·​ALLEGRO_EVENT_TYPE;​
14 typedef\·​unsigned\·​int\·​ALLEGRO_EVENT_TYPE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​integer·​used·​to·​distinguish·​between·​different·​types·​of·​events.​18 An·​integer·​used·​to·​distinguish·​between·​different·​types·​of·​events.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
774 B
./usr/share/man/man3/ALLEGRO_EVENT_TYPE_IS_USER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5511 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·482
466 B
ALLEGRO_EVENT_TYPE_IS_USER.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_EVENT_TYPE_IS​_USER(t)​\·​\·​\·​\·​\·​\·​\·​\·​((t)​\·​>=\·​512)​13 #define\·​ALLEGRO_EVENT_TYPE_IS​_USER(t)​\·​\·​\·​\·​\·​\·​\·​\·​((t)​\·​>=\·​512)​
14 #define\·​ALLEGRO_EVENT_TYPE_IS​_USER(t)​\·​\·​\·​\·​\·​\·​\·​\·​((t)​\·​>=\·​512)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​macro·​which·​evaluates·​to·​true·​if·​the·​event·​type·​is·​not·​a·​builtin·​event18 A·​macro·​which·​evaluates·​to·​true·​if·​the·​event·​type·​is·​not·​a·​builtin·​event
20 type,​·​i.​e.​\·​one·​of·​those·​described·​in·​ALLEGRO_EVENT_TYPE(3a​lleg5)​.​19 type,​·​i.​e.​\·​one·​of·​those·​described·​in·​ALLEGRO_EVENT_TYPE(3a​lleg5)​.​
627 B
./usr/share/man/man3/ALLEGRO_FILE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·387
347 B
ALLEGRO_FILE.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_FILE\·​ALLEGRO_FILE;​13 typedef\·​struct\·​ALLEGRO_FILE\·​ALLEGRO_FILE;​
14 typedef\·​struct\·​ALLEGRO_FILE\·​ALLEGRO_FILE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​object·​representing·​an·​open·​file.​18 An·​opaque·​object·​representing·​an·​open·​file.​
20 This·​could·​be·​a·​real·​file·​on·​disk·​or·​a·​virtual·​file.​19 This·​could·​be·​a·​real·​file·​on·​disk·​or·​a·​virtual·​file.​
638 B
./usr/share/man/man3/ALLEGRO_FILECHOOSER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·371
344 B
ALLEGRO_FILECHOOSER.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 typedef\·​struct\·​ALLEGRO_FILECHOOSER\·​ALLEGRO_FILECHOOSER;​13 typedef\·​struct\·​ALLEGRO_FILECHOOSER\·​ALLEGRO_FILECHOOSER;​
14 typedef\·​struct\·​ALLEGRO_FILECHOOSER\·​ALLEGRO_FILECHOOSER;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Opaque·​handle·​to·​a·​native·​file·​dialog.​18 Opaque·​handle·​to·​a·​native·​file·​dialog.​
720 B
./usr/share/man/man3/ALLEGRO_FILE_INTERFACE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​19561 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1916
418 B
ALLEGRO_FILE_INTERFACE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_FILE_INTERFAC​E13 typedef\·​struct\·​ALLEGRO_FILE_INTERFAC​E
14 typedef\·​struct\·​ALLEGRO_FILE_INTERFAC​E 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​structure·​containing·​function·​pointers·​to·​handle·​a·​type·​of18 A·​structure·​containing·​function·​pointers·​to·​handle·​a·​type·​of
20 \[lq]file\[rq],​·​real·​or·​virtual.​19 \[lq]file\[rq],​·​real·​or·​virtual.​
21 See·​the·​full·​discussion·​in·​al_set_new_file_inter​face(3alleg5)​.​20 See·​the·​full·​discussion·​in·​al_set_new_file_inter​face(3alleg5)​.​
596 B
./usr/share/man/man3/ALLEGRO_FILE_MODE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6341 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​601
306 B
ALLEGRO_FILE_MODE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_FILE_MODE13 typedef\·​enum\·​ALLEGRO_FILE_MODE
14 typedef\·​enum\·​ALLEGRO_FILE_MODE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Filesystem·​modes/​types18 Filesystem·​modes/​types
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_FILEMODE_READ​·​\-​·​Readable20 ALLEGRO_FILEMODE_READ​·​\-​·​Readable
715 B
./usr/share/man/man3/ALLEGRO_FONT.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7241 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·679
435 B
ALLEGRO_FONT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 typedef\·​struct\·​ALLEGRO_FONT\·​ALLEGRO_FONT;​13 typedef\·​struct\·​ALLEGRO_FONT\·​ALLEGRO_FONT;​
14 typedef\·​struct\·​ALLEGRO_FONT\·​ALLEGRO_FONT;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​handle·​identifying·​any·​kind·​of·​font.​18 A·​handle·​identifying·​any·​kind·​of·​font.​
20 Usually·​you·​will·​create·​it·​with·​al_load_font(3alleg5)​·​which·​supports19 Usually·​you·​will·​create·​it·​with·​al_load_font(3alleg5)​·​which·​supports
21 loading·​all·​kinds·​of·​TrueType·​fonts·​supported·​by·​the·​FreeType·​library.​20 loading·​all·​kinds·​of·​TrueType·​fonts·​supported·​by·​the·​FreeType·​library.​
730 B
./usr/share/man/man3/ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8651 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​814
410 B
ALLEGRO_FOR_EACH_FS_ENTRY_RESULT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT\·​{13 typedef\·​enum\·​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT\·​{
14 typedef\·​enum\·​ALLEGRO_FOR_EACH_FS_E​NTRY_RESULT\·​{ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​values·​for·​the·​callbacks·​of·​al_for_each_fs_entry(​3alleg5)​·​and·​for18 Return·​values·​for·​the·​callbacks·​of·​al_for_each_fs_entry(​3alleg5)​·​and·​for
20 that·​function·​itself.​19 that·​function·​itself.​
21 .​IP·​\[bu]·​220 .​IP·​\[bu]·​2
672 B
./usr/share/man/man3/ALLEGRO_FS_ENTRY.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5151 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·462
384 B
ALLEGRO_FS_ENTRY.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_FS_ENTRY\·​ALLEGRO_FS_ENTRY;​13 typedef\·​struct\·​ALLEGRO_FS_ENTRY\·​ALLEGRO_FS_ENTRY;​
14 typedef\·​struct\·​ALLEGRO_FS_ENTRY\·​ALLEGRO_FS_ENTRY;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Opaque·​filesystem·​entry·​object.​18 Opaque·​filesystem·​entry·​object.​
20 Represents·​a·​file·​or·​a·​directory·​(check·​with19 Represents·​a·​file·​or·​a·​directory·​(check·​with
21 al_get_fs_entry_mode(​3alleg5)​)​.​20 al_get_fs_entry_mode(​3alleg5)​)​.​
669 B
./usr/share/man/man3/ALLEGRO_FS_INTERFACE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​21211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2060
371 B
ALLEGRO_FS_INTERFACE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_FS_INTERFACE\​·​ALLEGRO_FS_INTERFACE;​13 typedef\·​struct\·​ALLEGRO_FS_INTERFACE\​·​ALLEGRO_FS_INTERFACE;​
14 typedef\·​struct\·​ALLEGRO_FS_INTERFACE\​·​ALLEGRO_FS_INTERFACE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 The·​available·​functions·​you·​can·​provide·​for·​a·​filesystem.​18 The·​available·​functions·​you·​can·​provide·​for·​a·​filesystem.​
20 They·​are:​19 They·​are:​
21 .​IP20 .​IP
783 B
./usr/share/man/man3/ALLEGRO_GET_EVENT_TYPE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​15761 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1503
481 B
ALLEGRO_GET_EVENT_TYPE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_GET_EVENT_TYP​E(a,​\·​b,​\·​c,​\·​d)​\·​\·​\·​AL_ID(a,​\·​b,​\·​c,​\·​d)​13 #define\·​ALLEGRO_GET_EVENT_TYP​E(a,​\·​b,​\·​c,​\·​d)​\·​\·​\·​AL_ID(a,​\·​b,​\·​c,​\·​d)​
14 #define\·​ALLEGRO_GET_EVENT_TYP​E(a,​\·​b,​\·​c,​\·​d)​\·​\·​\·​AL_ID(a,​\·​b,​\·​c,​\·​d)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Make·​an·​event·​type·​identifier,​·​which·​is·​a·​32\-​bit·​integer.​18 Make·​an·​event·​type·​identifier,​·​which·​is·​a·​32\-​bit·​integer.​
20 Usually,​·​but·​not·​necessarily,​·​this·​will·​be·​made·​from·​four·​8\-​bit19 Usually,​·​but·​not·​necessarily,​·​this·​will·​be·​made·​from·​four·​8\-​bit
21 character·​codes,​·​for·​example:​20 character·​codes,​·​for·​example:​
618 B
./usr/share/man/man3/ALLEGRO_GLYPH.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​20651 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2018
334 B
ALLEGRO_GLYPH.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 typedef\·​struct\·​ALLEGRO_GLYPH\·​ALLEGRO_GLYPH;​13 typedef\·​struct\·​ALLEGRO_GLYPH\·​ALLEGRO_GLYPH;​
14 typedef\·​struct\·​ALLEGRO_GLYPH\·​ALLEGRO_GLYPH;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​structure·​containing·​the·​properties·​of·​a·​character·​in·​a·​font.​18 A·​structure·​containing·​the·​properties·​of·​a·​character·​in·​a·​font.​
20 .​IP19 .​IP
21 .​nf20 .​nf
659 B
./usr/share/man/man3/ALLEGRO_HAPTIC.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6991 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​650
375 B
ALLEGRO_HAPTIC.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_HAPTIC\·​ALLEGRO_HAPTIC;​13 typedef\·​struct\·​ALLEGRO_HAPTIC\·​ALLEGRO_HAPTIC;​
14 typedef\·​struct\·​ALLEGRO_HAPTIC\·​ALLEGRO_HAPTIC;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​an·​abstract·​data·​type·​representing·​a·​haptic·​device·​that·​supports18 This·​is·​an·​abstract·​data·​type·​representing·​a·​haptic·​device·​that·​supports
20 force·​feedback·​or·​vibration.​19 force·​feedback·​or·​vibration.​
21 .​SH·​SINCE20 .​SH·​SINCE
677 B
./usr/share/man/man3/ALLEGRO_HAPTIC_CONSTANTS.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​21761 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2145
371 B
ALLEGRO_HAPTIC_CONSTANTS.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 enum\·​ALLEGRO_HAPTIC_CONSTA​NTS13 enum\·​ALLEGRO_HAPTIC_CONSTA​NTS
14 enum\·​ALLEGRO_HAPTIC_CONSTA​NTS 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​enum·​contains·​flags·​that·​are·​used·​to·​define·​haptic·​effects·​and18 This·​enum·​contains·​flags·​that·​are·​used·​to·​define·​haptic·​effects·​and
20 capabilities.​19 capabilities.​
21 If·​the·​flag·​is·​set·​in·​the·​return·​value·​of20 If·​the·​flag·​is·​set·​in·​the·​return·​value·​of
704 B
./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT.3alleg5.gz
196 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​107991 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​10769
402 B
ALLEGRO_HAPTIC_EFFECT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 struct\·​ALLEGRO_HAPTIC_EFFECT​13 struct\·​ALLEGRO_HAPTIC_EFFECT​
14 struct\·​ALLEGRO_HAPTIC_EFFECT​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​struct·​models·​a·​particular·​haptic·​or·​vibration·​effect.​18 This·​struct·​models·​a·​particular·​haptic·​or·​vibration·​effect.​
20 It·​needs·​to·​be·​filled·​in·​correctly·​and·​uploaded·​to·​a·​haptic·​device19 It·​needs·​to·​be·​filled·​in·​correctly·​and·​uploaded·​to·​a·​haptic·​device
21 before·​the·​device·​can·​play·​it·​back.​20 before·​the·​device·​can·​play·​it·​back.​
804 B
./usr/share/man/man3/ALLEGRO_HAPTIC_EFFECT_ID.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8011 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·732
500 B
ALLEGRO_HAPTIC_EFFECT_ID.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_HAPTIC_EFFECT​_ID\·​ALLEGRO_HAPTIC_EFFECT​_ID;​13 typedef\·​struct\·​ALLEGRO_HAPTIC_EFFECT​_ID\·​ALLEGRO_HAPTIC_EFFECT​_ID;​
14 typedef\·​struct\·​ALLEGRO_HAPTIC_EFFECT​_ID\·​ALLEGRO_HAPTIC_EFFECT​_ID;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​struct·​is·​used·​as·​a·​handle·​to·​control·​playback·​of·​a·​haptic·​effect18 This·​struct·​is·​used·​as·​a·​handle·​to·​control·​playback·​of·​a·​haptic·​effect
20 and·​should·​be·​considered·​opaque.​19 and·​should·​be·​considered·​opaque.​
21 Its·​implementation·​is·​visible·​merely·​to·​allow·​allocation·​by·​the·​users·​of20 Its·​implementation·​is·​visible·​merely·​to·​allow·​allocation·​by·​the·​users·​of
766 B
./usr/share/man/man3/ALLEGRO_INDEX_BUFFER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6571 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·596
470 B
ALLEGRO_INDEX_BUFFER.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​struct\·​ALLEGRO_INDEX_BUFFER\​·​ALLEGRO_INDEX_BUFFER;​13 typedef\·​struct\·​ALLEGRO_INDEX_BUFFER\​·​ALLEGRO_INDEX_BUFFER;​
14 typedef\·​struct\·​ALLEGRO_INDEX_BUFFER\​·​ALLEGRO_INDEX_BUFFER;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​GPU·​index·​buffer·​that·​you·​can·​use·​to·​store·​indices·​of·​vertices·​in·​a18 A·​GPU·​index·​buffer·​that·​you·​can·​use·​to·​store·​indices·​of·​vertices·​in·​a
20 vertex·​buffer·​on·​the·​GPU·​instead·​of·​uploading·​them·​afresh·​during·​every19 vertex·​buffer·​on·​the·​GPU·​instead·​of·​uploading·​them·​afresh·​during·​every
21 drawing·​operation.​20 drawing·​operation.​
645 B
./usr/share/man/man3/ALLEGRO_JOYFLAGS.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5611 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​538
357 B
ALLEGRO_JOYFLAGS.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 enum\·​ALLEGRO_JOYFLAGS13 enum\·​ALLEGRO_JOYFLAGS
14 enum\·​ALLEGRO_JOYFLAGS 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​IP·​\[bu]·​217 .​IP·​\[bu]·​2
19 ALLEGRO_JOYFLAG_DIGIT​AL·​\-​·​the·​stick·​provides·​digital·​input18 ALLEGRO_JOYFLAG_DIGIT​AL·​\-​·​the·​stick·​provides·​digital·​input
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_JOYFLAG_ANALO​GUE·​\-​·​the·​stick·​provides·​analogue·​input20 ALLEGRO_JOYFLAG_ANALO​GUE·​\-​·​the·​stick·​provides·​analogue·​input
644 B
./usr/share/man/man3/ALLEGRO_JOYSTICK.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4651 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​412
356 B
ALLEGRO_JOYSTICK.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_JOYSTICK\·​ALLEGRO_JOYSTICK;​13 typedef\·​struct\·​ALLEGRO_JOYSTICK\·​ALLEGRO_JOYSTICK;​
14 typedef\·​struct\·​ALLEGRO_JOYSTICK\·​ALLEGRO_JOYSTICK;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​an·​abstract·​data·​type·​representing·​a·​physical·​joystick.​18 This·​is·​an·​abstract·​data·​type·​representing·​a·​physical·​joystick.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
765 B
./usr/share/man/man3/ALLEGRO_JOYSTICK_STATE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7931 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​728
465 B
ALLEGRO_JOYSTICK_STATE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_JOYSTICK_STAT​E\·​ALLEGRO_JOYSTICK_STAT​E;​13 typedef\·​struct\·​ALLEGRO_JOYSTICK_STAT​E\·​ALLEGRO_JOYSTICK_STAT​E;​
14 typedef\·​struct\·​ALLEGRO_JOYSTICK_STAT​E\·​ALLEGRO_JOYSTICK_STAT​E;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​\[lq]snapshot\[rq]·​of·​a18 This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​\[lq]snapshot\[rq]·​of·​a
20 joystick's·​axes·​and·​buttons·​at·​a·​particular·​instant.​19 joystick's·​axes·​and·​buttons·​at·​a·​particular·​instant.​
21 All·​fields·​public·​and·​read\-​only.​20 All·​fields·​public·​and·​read\-​only.​
774 B
./usr/share/man/man3/ALLEGRO_KEYBOARD_STATE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7951 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​730
474 B
ALLEGRO_KEYBOARD_STATE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_KEYBOARD_STAT​E\·​ALLEGRO_KEYBOARD_STAT​E;​13 typedef\·​struct\·​ALLEGRO_KEYBOARD_STAT​E\·​ALLEGRO_KEYBOARD_STAT​E;​
14 typedef\·​struct\·​ALLEGRO_KEYBOARD_STAT​E\·​ALLEGRO_KEYBOARD_STAT​E;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​\[lq]snapshot\[rq]·​of·​a18 This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​\[lq]snapshot\[rq]·​of·​a
20 keyboard's·​state·​at·​a·​particular·​instant.​19 keyboard's·​state·​at·​a·​particular·​instant.​
21 It·​contains·​the·​following·​publically·​readable·​fields:​20 It·​contains·​the·​following·​publically·​readable·​fields:​
598 B
./usr/share/man/man3/ALLEGRO_LINE_CAP.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8521 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​820
310 B
ALLEGRO_LINE_CAP.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​enum\·​ALLEGRO_LINE_CAP13 typedef\·​enum\·​ALLEGRO_LINE_CAP
14 typedef\·​enum\·​ALLEGRO_LINE_CAP 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​IP·​\[bu]·​217 .​IP·​\[bu]·​2
19 ALLEGRO_LINE_CAP_NONE​18 ALLEGRO_LINE_CAP_NONE​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_LINE_CAP_SQUA​RE20 ALLEGRO_LINE_CAP_SQUA​RE
605 B
./usr/share/man/man3/ALLEGRO_LINE_JOIN.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7571 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​724
315 B
ALLEGRO_LINE_JOIN.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​enum\·​ALLEGRO_LINE_JOIN13 typedef\·​enum\·​ALLEGRO_LINE_JOIN
14 typedef\·​enum\·​ALLEGRO_LINE_JOIN 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​IP·​\[bu]·​217 .​IP·​\[bu]·​2
19 ALLEGRO_LINE_JOIN_NON​E18 ALLEGRO_LINE_JOIN_NON​E
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_LINE_JOIN_BEV​EL20 ALLEGRO_LINE_JOIN_BEV​EL
762 B
./usr/share/man/man3/ALLEGRO_LOCKED_REGION.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​18431 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1780
462 B
ALLEGRO_LOCKED_REGION.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_LOCKED_REGION​\·​ALLEGRO_LOCKED_REGION​;​13 typedef\·​struct\·​ALLEGRO_LOCKED_REGION​\·​ALLEGRO_LOCKED_REGION​;​
14 typedef\·​struct\·​ALLEGRO_LOCKED_REGION​\·​ALLEGRO_LOCKED_REGION​;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Users·​who·​wish·​to·​manually·​edit·​or·​read·​from·​a·​bitmap·​are·​required·​to18 Users·​who·​wish·​to·​manually·​edit·​or·​read·​from·​a·​bitmap·​are·​required·​to
20 lock·​it·​first.​19 lock·​it·​first.​
21 The·​ALLEGRO_LOCKED_REGION​·​structure·​represents·​the·​locked·​region·​of·​the20 The·​ALLEGRO_LOCKED_REGION​·​structure·​represents·​the·​locked·​region·​of·​the
676 B
./usr/share/man/man3/ALLEGRO_MEMORY_INTERFACE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​9691 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​900
372 B
ALLEGRO_MEMORY_INTERFACE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_MEMORY_INTERF​ACE\·​ALLEGRO_MEMORY_INTERF​ACE;​13 typedef\·​struct\·​ALLEGRO_MEMORY_INTERF​ACE\·​ALLEGRO_MEMORY_INTERF​ACE;​
14 typedef\·​struct\·​ALLEGRO_MEMORY_INTERF​ACE\·​ALLEGRO_MEMORY_INTERF​ACE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​structure·​has·​the·​following·​fields.​18 This·​structure·​has·​the·​following·​fields.​
20 .​IP19 .​IP
21 .​nf20 .​nf
672 B
./usr/share/man/man3/ALLEGRO_MENU.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4771 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​432
392 B
ALLEGRO_MENU.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 typedef\·​struct\·​ALLEGRO_MENU\·​ALLEGRO_MENU;​13 typedef\·​struct\·​ALLEGRO_MENU\·​ALLEGRO_MENU;​
14 typedef\·​struct\·​ALLEGRO_MENU\·​ALLEGRO_MENU;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​data·​type·​that·​represents·​a·​menu·​that·​contains·​menu·​items.​18 An·​opaque·​data·​type·​that·​represents·​a·​menu·​that·​contains·​menu·​items.​
20 Each·​of·​the·​menu·​items·​may·​optionally·​include·​a·​sub\-​menu.​19 Each·​of·​the·​menu·​items·​may·​optionally·​include·​a·​sub\-​menu.​
675 B
./usr/share/man/man3/ALLEGRO_MENU_INFO.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​16921 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1654
383 B
ALLEGRO_MENU_INFO.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 typedef\·​struct\·​ALLEGRO_MENU_INFO\·​{13 typedef\·​struct\·​ALLEGRO_MENU_INFO\·​{
14 typedef\·​struct\·​ALLEGRO_MENU_INFO\·​{ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​structure·​that·​defines·​how·​to·​create·​a·​complete·​menu·​system.​18 A·​structure·​that·​defines·​how·​to·​create·​a·​complete·​menu·​system.​
20 For·​standard·​menu·​items,​·​the·​following·​format·​is·​used:​19 For·​standard·​menu·​items,​·​the·​following·​format·​is·​used:​
21 .​IP20 .​IP
746 B
./usr/share/man/man3/ALLEGRO_MIXER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9311 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·884
464 B
ALLEGRO_MIXER.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_MIXER\·​ALLEGRO_MIXER;​13 typedef\·​struct\·​ALLEGRO_MIXER\·​ALLEGRO_MIXER;​
14 typedef\·​struct\·​ALLEGRO_MIXER\·​ALLEGRO_MIXER;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​mixer·​mixes·​together·​attached·​streams·​into·​a·​single·​buffer.​18 A·​mixer·​mixes·​together·​attached·​streams·​into·​a·​single·​buffer.​
20 In·​the·​process,​·​it·​converts·​channel·​configurations,​·​sample·​frequencies19 In·​the·​process,​·​it·​converts·​channel·​configurations,​·​sample·​frequencies
21 and·​audio·​depths·​of·​the·​attached·​sample·​instances·​and·​audio·​streams20 and·​audio·​depths·​of·​the·​attached·​sample·​instances·​and·​audio·​streams
658 B
./usr/share/man/man3/ALLEGRO_MIXER_QUALITY.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5291 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​501
360 B
ALLEGRO_MIXER_QUALITY.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 enum\·​ALLEGRO_MIXER_QUALITY​13 enum\·​ALLEGRO_MIXER_QUALITY​
14 enum\·​ALLEGRO_MIXER_QUALITY​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​IP·​\[bu]·​217 .​IP·​\[bu]·​2
19 ALLEGRO_MIXER_QUALITY​_POINT·​\-​·​point·​sampling18 ALLEGRO_MIXER_QUALITY​_POINT·​\-​·​point·​sampling
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_MIXER_QUALITY​_LINEAR·​\-​·​linear·​interpolation20 ALLEGRO_MIXER_QUALITY​_LINEAR·​\-​·​linear·​interpolation
734 B
./usr/share/man/man3/ALLEGRO_MONITOR_INFO.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8741 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​836
438 B
ALLEGRO_MONITOR_INFO.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_MONITOR_INFO13 typedef\·​struct\·​ALLEGRO_MONITOR_INFO
14 typedef\·​struct\·​ALLEGRO_MONITOR_INFO 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Describes·​a·​monitor's·​size·​and·​position·​relative·​to·​other·​monitors.​18 Describes·​a·​monitor's·​size·​and·​position·​relative·​to·​other·​monitors.​
20 x1,​·​y1·​will·​be·​0,​·​0·​on·​the·​primary·​display.​19 x1,​·​y1·​will·​be·​0,​·​0·​on·​the·​primary·​display.​
21 Other·​monitors·​can·​have·​negative·​values·​if·​they·​are·​to·​the·​left·​or·​above20 Other·​monitors·​can·​have·​negative·​values·​if·​they·​are·​to·​the·​left·​or·​above
663 B
./usr/share/man/man3/ALLEGRO_MOUSE_EMULATION_MODE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​9971 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​953
351 B
ALLEGRO_MOUSE_EMULATION_MODE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_MOUSE_EMULATI​ON_MODE13 typedef\·​enum\·​ALLEGRO_MOUSE_EMULATI​ON_MODE
14 typedef\·​enum\·​ALLEGRO_MOUSE_EMULATI​ON_MODE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Type·​of·​mouse·​emulation·​to·​apply.​18 Type·​of·​mouse·​emulation·​to·​apply.​
20 .​TP19 .​TP
21 .​B·​ALLEGRO_MOUSE_EMULATI​ON_NONE20 .​B·​ALLEGRO_MOUSE_EMULATI​ON_NONE
648 B
./usr/share/man/man3/ALLEGRO_MOUSE_STATE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9111 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·852
354 B
ALLEGRO_MOUSE_STATE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_MOUSE_STATE\·​ALLEGRO_MOUSE_STATE;​13 typedef\·​struct\·​ALLEGRO_MOUSE_STATE\·​ALLEGRO_MOUSE_STATE;​
14 typedef\·​struct\·​ALLEGRO_MOUSE_STATE\·​ALLEGRO_MOUSE_STATE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Public·​fields·​(read·​only)​:​18 Public·​fields·​(read·​only)​:​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 x·​\-​·​mouse·​x·​position20 x·​\-​·​mouse·​x·​position
632 B
./usr/share/man/man3/ALLEGRO_MSECS_TO_SECS.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4201 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·358
334 B
ALLEGRO_MSECS_TO_SECS.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_MSECS_TO_SECS​(x)​\·​\·​\·​\·​\·​\·​((x)​\·​/​\·​1000.​0)​13 #define\·​ALLEGRO_MSECS_TO_SECS​(x)​\·​\·​\·​\·​\·​\·​((x)​\·​/​\·​1000.​0)​
14 #define\·​ALLEGRO_MSECS_TO_SECS​(x)​\·​\·​\·​\·​\·​\·​((x)​\·​/​\·​1000.​0)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Convert·​milliseconds·​to·​seconds.​18 Convert·​milliseconds·​to·​seconds.​
579 B
./usr/share/man/man3/ALLEGRO_MUTEX.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3831 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​336
297 B
ALLEGRO_MUTEX.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_MUTEX\·​ALLEGRO_MUTEX;​13 typedef\·​struct\·​ALLEGRO_MUTEX\·​ALLEGRO_MUTEX;​
14 typedef\·​struct\·​ALLEGRO_MUTEX\·​ALLEGRO_MUTEX;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​structure·​representing·​a·​mutex.​18 An·​opaque·​structure·​representing·​a·​mutex.​
727 B
./usr/share/man/man3/ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·499
405 B
ALLEGRO_NEW_WINDOW_TITLE_MAX_SIZE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE\·​25513 #define\·​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE\·​255
14 #define\·​ALLEGRO_NEW_WINDOW_TI​TLE_MAX_SIZE\·​255 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​the·​maximum·​size·​of·​the·​title·​that·​can·​be·​set·​with18 This·​is·​the·​maximum·​size·​of·​the·​title·​that·​can·​be·​set·​with
20 al_set_new_window_tit​le(3alleg5)​.​19 al_set_new_window_tit​le(3alleg5)​.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
651 B
./usr/share/man/man3/ALLEGRO_PI.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4611 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​403
375 B
ALLEGRO_PI.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_PI\·​\·​\·​\·​\·​\·​\·​\·​3.​1415926535897932384613 #define\·​ALLEGRO_PI\·​\·​\·​\·​\·​\·​\·​\·​3.​14159265358979323846
14 #define\·​ALLEGRO_PI\·​\·​\·​\·​\·​\·​\·​\·​3.​14159265358979323846 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 C99·​compilers·​have·​no·​predefined·​value·​like·​M_PI·​for·​the·​constant·​π,​·​but18 C99·​compilers·​have·​no·​predefined·​value·​like·​M_PI·​for·​the·​constant·​π,​·​but
20 you·​can·​use·​this·​one·​instead.​19 you·​can·​use·​this·​one·​instead.​
642 B
./usr/share/man/man3/ALLEGRO_PIXEL_FORMAT.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​64761 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6440
344 B
ALLEGRO_PIXEL_FORMAT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_PIXEL_FORMAT13 typedef\·​enum\·​ALLEGRO_PIXEL_FORMAT
14 typedef\·​enum\·​ALLEGRO_PIXEL_FORMAT 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Pixel·​formats.​18 Pixel·​formats.​
20 Each·​pixel·​format·​specifies·​the·​exact·​size·​and·​bit·​layout·​of·​a·​pixel·​in19 Each·​pixel·​format·​specifies·​the·​exact·​size·​and·​bit·​layout·​of·​a·​pixel·​in
21 memory.​20 memory.​
576 B
./usr/share/man/man3/ALLEGRO_PLAYMODE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4411 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​418
288 B
ALLEGRO_PLAYMODE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 enum\·​ALLEGRO_PLAYMODE13 enum\·​ALLEGRO_PLAYMODE
14 enum\·​ALLEGRO_PLAYMODE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Sample·​and·​stream·​playback·​mode.​18 Sample·​and·​stream·​playback·​mode.​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_PLAYMODE_ONCE​20 ALLEGRO_PLAYMODE_ONCE​
694 B
./usr/share/man/man3/ALLEGRO_PRIM_ATTR.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​21391 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2106
402 B
ALLEGRO_PRIM_ATTR.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​enum\·​ALLEGRO_PRIM_ATTR13 typedef\·​enum\·​ALLEGRO_PRIM_ATTR
14 typedef\·​enum\·​ALLEGRO_PRIM_ATTR 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Enumerates·​the·​types·​of·​vertex·​attributes·​that·​a·​custom·​vertex·​may·​have.​18 Enumerates·​the·​types·​of·​vertex·​attributes·​that·​a·​custom·​vertex·​may·​have.​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_PRIM_POSITION​·​\-​·​Position·​information,​·​can·​be·​stored·​only·​in20 ALLEGRO_PRIM_POSITION​·​\-​·​Position·​information,​·​can·​be·​stored·​only·​in
729 B
./usr/share/man/man3/ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12341 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1193
421 B
ALLEGRO_PRIM_BUFFER_FLAGS.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​enum\·​ALLEGRO_PRIM_BUFFER_F​LAGS13 typedef\·​enum\·​ALLEGRO_PRIM_BUFFER_F​LAGS
14 typedef\·​enum\·​ALLEGRO_PRIM_BUFFER_F​LAGS 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Flags·​to·​specify·​how·​to·​create·​a·​vertex·​or·​an·​index·​buffer.​18 Flags·​to·​specify·​how·​to·​create·​a·​vertex·​or·​an·​index·​buffer.​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_PRIM_BUFFER_S​TREAM·​\-​·​Hints·​to·​the·​driver·​that·​the·​buffer·​is20 ALLEGRO_PRIM_BUFFER_S​TREAM·​\-​·​Hints·​to·​the·​driver·​that·​the·​buffer·​is
701 B
./usr/share/man/man3/ALLEGRO_PRIM_QUALITY.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5801 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​546
405 B
ALLEGRO_PRIM_QUALITY.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 #define\·​ALLEGRO_PRIM_QUALITY\​·​1013 #define\·​ALLEGRO_PRIM_QUALITY\​·​10
14 #define\·​ALLEGRO_PRIM_QUALITY\​·​10 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Controls·​the·​quality·​of·​the·​approximation·​of·​curved·​primitives18 Controls·​the·​quality·​of·​the·​approximation·​of·​curved·​primitives
20 (e.​g.​\·​circles)​.​19 (e.​g.​\·​circles)​.​
21 Curved·​primitives·​are·​drawn·​by·​approximating·​them·​with·​a·​sequence·​of20 Curved·​primitives·​are·​drawn·​by·​approximating·​them·​with·​a·​sequence·​of
713 B
./usr/share/man/man3/ALLEGRO_PRIM_STORAGE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​30911 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3055
415 B
ALLEGRO_PRIM_STORAGE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​enum\·​ALLEGRO_PRIM_STORAGE13 typedef\·​enum\·​ALLEGRO_PRIM_STORAGE
14 typedef\·​enum\·​ALLEGRO_PRIM_STORAGE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Enumerates·​the·​types·​of·​storage·​an·​attribute·​of·​a·​custom·​vertex·​may·​be18 Enumerates·​the·​types·​of·​storage·​an·​attribute·​of·​a·​custom·​vertex·​may·​be
20 stored·​in.​19 stored·​in.​
21 Many·​of·​these·​can·​only·​be·​used·​for·​ALLEGRO_PRIM_USER_ATT​R·​attributes·​and20 Many·​of·​these·​can·​only·​be·​used·​for·​ALLEGRO_PRIM_USER_ATT​R·​attributes·​and
681 B
./usr/share/man/man3/ALLEGRO_PRIM_TYPE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11521 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1119
389 B
ALLEGRO_PRIM_TYPE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​enum\·​ALLEGRO_PRIM_TYPE13 typedef\·​enum\·​ALLEGRO_PRIM_TYPE
14 typedef\·​enum\·​ALLEGRO_PRIM_TYPE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Enumerates·​the·​types·​of·​primitives·​this·​addon·​can·​draw.​18 Enumerates·​the·​types·​of·​primitives·​this·​addon·​can·​draw.​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_PRIM_POINT_LI​ST·​\-​·​A·​list·​of·​points,​·​each·​vertex·​defines·​a·​point20 ALLEGRO_PRIM_POINT_LI​ST·​\-​·​A·​list·​of·​points,​·​each·​vertex·​defines·​a·​point
626 B
./usr/share/man/man3/ALLEGRO_RENDER_FUNCTION.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7501 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​708
324 B
ALLEGRO_RENDER_FUNCTION.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_RENDER_FUNCTI​ON\·​{13 typedef\·​enum\·​ALLEGRO_RENDER_FUNCTI​ON\·​{
14 typedef\·​enum\·​ALLEGRO_RENDER_FUNCTI​ON\·​{ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Possible·​functions·​are:​18 Possible·​functions·​are:​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_RENDER_NEVER20 ALLEGRO_RENDER_NEVER
632 B
./usr/share/man/man3/ALLEGRO_RENDER_STATE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​17831 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1744
334 B
ALLEGRO_RENDER_STATE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_RENDER_STATE\​·​{13 typedef\·​enum\·​ALLEGRO_RENDER_STATE\​·​{
14 typedef\·​enum\·​ALLEGRO_RENDER_STATE\​·​{ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Possible·​render·​states·​which·​can·​be·​set·​with18 Possible·​render·​states·​which·​can·​be·​set·​with
20 al_set_render_state(3​alleg5)​:​19 al_set_render_state(3​alleg5)​:​
21 .​TP20 .​TP
713 B
./usr/share/man/man3/ALLEGRO_SAMPLE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7021 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·653
429 B
ALLEGRO_SAMPLE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_SAMPLE\·​ALLEGRO_SAMPLE;​13 typedef\·​struct\·​ALLEGRO_SAMPLE\·​ALLEGRO_SAMPLE;​
14 typedef\·​struct\·​ALLEGRO_SAMPLE\·​ALLEGRO_SAMPLE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​ALLEGRO_SAMPLE·​object·​stores·​the·​data·​necessary·​for·​playing18 An·​ALLEGRO_SAMPLE·​object·​stores·​the·​data·​necessary·​for·​playing
20 pre\-​defined·​digital·​audio.​19 pre\-​defined·​digital·​audio.​
21 It·​holds·​a·​user\-​specified·​PCM·​data·​buffer·​and·​information·​about·​its20 It·​holds·​a·​user\-​specified·​PCM·​data·​buffer·​and·​information·​about·​its
730 B
./usr/share/man/man3/ALLEGRO_SAMPLE_ID.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6141 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·559
440 B
ALLEGRO_SAMPLE_ID.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_SAMPLE_ID\·​ALLEGRO_SAMPLE_ID;​13 typedef\·​struct\·​ALLEGRO_SAMPLE_ID\·​ALLEGRO_SAMPLE_ID;​
14 typedef\·​struct\·​ALLEGRO_SAMPLE_ID\·​ALLEGRO_SAMPLE_ID;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​ALLEGRO_SAMPLE_ID·​represents·​a·​sample·​being·​played·​via18 An·​ALLEGRO_SAMPLE_ID·​represents·​a·​sample·​being·​played·​via
20 al_play_sample(3alleg​5)​.​19 al_play_sample(3alleg​5)​.​
21 It·​can·​be·​used·​to·​later·​stop·​the·​sample·​with·​al_stop_sample(3alleg​5)​.​20 It·​can·​be·​used·​to·​later·​stop·​the·​sample·​with·​al_stop_sample(3alleg​5)​.​
788 B
./usr/share/man/man3/ALLEGRO_SAMPLE_INSTANCE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12121 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1145
484 B
ALLEGRO_SAMPLE_INSTANCE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_SAMPLE_INSTAN​CE\·​ALLEGRO_SAMPLE_INSTAN​CE;​13 typedef\·​struct\·​ALLEGRO_SAMPLE_INSTAN​CE\·​ALLEGRO_SAMPLE_INSTAN​CE;​
14 typedef\·​struct\·​ALLEGRO_SAMPLE_INSTAN​CE\·​ALLEGRO_SAMPLE_INSTAN​CE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​ALLEGRO_SAMPLE_INSTAN​CE·​object·​represents·​a·​playable·​instance·​of·​a18 An·​ALLEGRO_SAMPLE_INSTAN​CE·​object·​represents·​a·​playable·​instance·​of·​a
20 predefined·​sound·​effect.​19 predefined·​sound·​effect.​
21 It·​holds·​information·​about·​how·​the·​effect·​should·​be·​played:​·​These20 It·​holds·​information·​about·​how·​the·​effect·​should·​be·​played:​·​These
631 B
./usr/share/man/man3/ALLEGRO_SEEK.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5311 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​503
351 B
ALLEGRO_SEEK.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_SEEK13 typedef\·​enum\·​ALLEGRO_SEEK
14 typedef\·​enum\·​ALLEGRO_SEEK 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​IP·​\[bu]·​217 .​IP·​\[bu]·​2
19 ALLEGRO_SEEK_SET·​\-​·​seek·​relative·​to·​beginning·​of·​file18 ALLEGRO_SEEK_SET·​\-​·​seek·​relative·​to·​beginning·​of·​file
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 ALLEGRO_SEEK_CUR·​\-​·​seek·​relative·​to·​current·​file·​position20 ALLEGRO_SEEK_CUR·​\-​·​seek·​relative·​to·​current·​file·​position
714 B
./usr/share/man/man3/ALLEGRO_SHADER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8081 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·759
430 B
ALLEGRO_SHADER.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_SHADER\·​ALLEGRO_SHADER;​13 typedef\·​struct\·​ALLEGRO_SHADER\·​ALLEGRO_SHADER;​
14 typedef\·​struct\·​ALLEGRO_SHADER\·​ALLEGRO_SHADER;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​ALLEGRO_SHADER(3alleg​5)​·​is·​a·​program·​that·​runs·​on·​the·​GPU.​18 An·​ALLEGRO_SHADER(3alleg​5)​·​is·​a·​program·​that·​runs·​on·​the·​GPU.​
20 It·​combines·​both·​a·​vertex·​and·​a·​pixel·​shader.​19 It·​combines·​both·​a·​vertex·​and·​a·​pixel·​shader.​
21 (In·​OpenGL·​terms,​·​an·​ALLEGRO_SHADER(3alleg​5)​·​is·​actually·​a20 (In·​OpenGL·​terms,​·​an·​ALLEGRO_SHADER(3alleg​5)​·​is·​actually·​a
761 B
./usr/share/man/man3/ALLEGRO_SHADER_PLATFORM.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7191 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·654
459 B
ALLEGRO_SHADER_PLATFORM.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_SHADER_PLATFO​RM\·​ALLEGRO_SHADER_PLATFO​RM;​13 typedef\·​enum\·​ALLEGRO_SHADER_PLATFO​RM\·​ALLEGRO_SHADER_PLATFO​RM;​
14 typedef\·​enum\·​ALLEGRO_SHADER_PLATFO​RM\·​ALLEGRO_SHADER_PLATFO​RM;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 The·​underlying·​platform·​which·​the·​ALLEGRO_SHADER(3alleg​5)​·​is·​built·​on18 The·​underlying·​platform·​which·​the·​ALLEGRO_SHADER(3alleg​5)​·​is·​built·​on
20 top·​of,​·​which·​dictates·​the·​language·​used·​to·​program·​the·​shader.​19 top·​of,​·​which·​dictates·​the·​language·​used·​to·​program·​the·​shader.​
21 .​IP·​\[bu]·​220 .​IP·​\[bu]·​2
719 B
./usr/share/man/man3/ALLEGRO_SHADER_TYPE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​14491 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1392
423 B
ALLEGRO_SHADER_TYPE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_SHADER_TYPE\·​ALLEGRO_SHADER_TYPE;​13 typedef\·​enum\·​ALLEGRO_SHADER_TYPE\·​ALLEGRO_SHADER_TYPE;​
14 typedef\·​enum\·​ALLEGRO_SHADER_TYPE\·​ALLEGRO_SHADER_TYPE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Used·​with·​al_attach_shader_sour​ce(3alleg5)​·​and18 Used·​with·​al_attach_shader_sour​ce(3alleg5)​·​and
20 al_attach_shader_sour​ce_file(3alleg5)​·​to·​specify·​how·​to·​interpret·​the19 al_attach_shader_sour​ce_file(3alleg5)​·​to·​specify·​how·​to·​interpret·​the
21 attached·​source.​20 attached·​source.​
597 B
./usr/share/man/man3/ALLEGRO_STATE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​15621 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1515
313 B
ALLEGRO_STATE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
  
  
12 typedef\·​struct\·​ALLEGRO_STATE\·​ALLEGRO_STATE;​12 typedef\·​struct\·​ALLEGRO_STATE\·​ALLEGRO_STATE;​
13 typedef\·​struct\·​ALLEGRO_STATE\·​ALLEGRO_STATE;​ 
14 \f[]13 \f[]
15 .​fi14 .​fi
16 .​SH·​DESCRIPTION15 .​SH·​DESCRIPTION
17 .​PP16 .​PP
18 Opaque·​type·​which·​is·​passed·​to17 Opaque·​type·​which·​is·​passed·​to
19 al_store_state(3alleg​5)​/​al_restore_state(3all​eg5)​.​18 al_store_state(3alleg​5)​/​al_restore_state(3all​eg5)​.​
20 .​PP19 .​PP
660 B
./usr/share/man/man3/ALLEGRO_STATE_FLAGS.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4501 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​415
366 B
ALLEGRO_STATE_FLAGS.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
  
  
12 typedef\·​enum\·​ALLEGRO_STATE_FLAGS12 typedef\·​enum\·​ALLEGRO_STATE_FLAGS
13 typedef\·​enum\·​ALLEGRO_STATE_FLAGS 
14 \f[]13 \f[]
15 .​fi14 .​fi
16 .​SH·​DESCRIPTION15 .​SH·​DESCRIPTION
17 .​PP16 .​PP
18 Flags·​which·​can·​be·​passed·​to17 Flags·​which·​can·​be·​passed·​to
19 al_store_state(3alleg​5)​/​al_restore_state(3all​eg5)​·​as·​bit·​combinations.​18 al_store_state(3alleg​5)​/​al_restore_state(3all​eg5)​·​as·​bit·​combinations.​
20 See·​al_store_state(3alleg​5)​·​for·​the·​list·​of·​flags.​19 See·​al_store_state(3alleg​5)​·​for·​the·​list·​of·​flags.​
603 B
./usr/share/man/man3/ALLEGRO_TEXTLOG.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4031 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·352
317 B
ALLEGRO_TEXTLOG.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 typedef\·​struct\·​ALLEGRO_TEXTLOG\·​ALLEGRO_TEXTLOG;​13 typedef\·​struct\·​ALLEGRO_TEXTLOG\·​ALLEGRO_TEXTLOG;​
14 typedef\·​struct\·​ALLEGRO_TEXTLOG\·​ALLEGRO_TEXTLOG;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Opaque·​handle·​to·​a·​text·​log·​window.​18 Opaque·​handle·​to·​a·​text·​log·​window.​
588 B
./usr/share/man/man3/ALLEGRO_THREAD.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3901 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​341
304 B
ALLEGRO_THREAD.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_THREAD\·​ALLEGRO_THREAD;​13 typedef\·​struct\·​ALLEGRO_THREAD\·​ALLEGRO_THREAD;​
14 typedef\·​struct\·​ALLEGRO_THREAD\·​ALLEGRO_THREAD;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​structure·​representing·​a·​thread.​18 An·​opaque·​structure·​representing·​a·​thread.​
596 B
./usr/share/man/man3/ALLEGRO_TIMER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4001 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·353
314 B
ALLEGRO_TIMER.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_TIMER\·​ALLEGRO_TIMER;​13 typedef\·​struct\·​ALLEGRO_TIMER\·​ALLEGRO_TIMER;​
14 typedef\·​struct\·​ALLEGRO_TIMER\·​ALLEGRO_TIMER;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​an·​abstract·​data·​type·​representing·​a·​timer·​object.​18 This·​is·​an·​abstract·​data·​type·​representing·​a·​timer·​object.​
674 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4701 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​411
380 B
ALLEGRO_TOUCH_INPUT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_TOUCH_INPUT\·​ALLEGRO_TOUCH_INPUT;​13 typedef\·​struct\·​ALLEGRO_TOUCH_INPUT\·​ALLEGRO_TOUCH_INPUT;​
14 typedef\·​struct\·​ALLEGRO_TOUCH_INPUT\·​ALLEGRO_TOUCH_INPUT;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​abstract·​data·​type·​representing·​a·​physical·​touch·​screen·​or·​touch·​pad.​18 An·​abstract·​data·​type·​representing·​a·​physical·​touch·​screen·​or·​touch·​pad.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
738 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5021 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·439
412 B
ALLEGRO_TOUCH_INPUT_MAX_TOUCH_COUNT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_TOUCH_INPUT_M​AX_TOUCH_COUNT\·​\·​\·​\·​\·​\·​\·​\·​1613 #define\·​ALLEGRO_TOUCH_INPUT_M​AX_TOUCH_COUNT\·​\·​\·​\·​\·​\·​\·​\·​16
14 #define\·​ALLEGRO_TOUCH_INPUT_M​AX_TOUCH_COUNT\·​\·​\·​\·​\·​\·​\·​\·​16 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 The·​maximum·​amount·​of·​simultaneous·​touches·​that·​can·​be·​detected.​18 The·​maximum·​amount·​of·​simultaneous·​touches·​that·​can·​be·​detected.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
734 B
./usr/share/man/man3/ALLEGRO_TOUCH_INPUT_STATE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6231 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·552
428 B
ALLEGRO_TOUCH_INPUT_STATE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_TOUCH_INPUT_S​TATE\·​ALLEGRO_TOUCH_INPUT_S​TATE;​13 typedef\·​struct\·​ALLEGRO_TOUCH_INPUT_S​TATE\·​ALLEGRO_TOUCH_INPUT_S​TATE;​
14 typedef\·​struct\·​ALLEGRO_TOUCH_INPUT_S​TATE\·​ALLEGRO_TOUCH_INPUT_S​TATE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​a·​structure·​that·​holds·​a·​snapshot·​of·​all·​simultaneous·​touches·​at18 This·​is·​a·​structure·​that·​holds·​a·​snapshot·​of·​all·​simultaneous·​touches·​at
20 a·​particular·​instant.​19 a·​particular·​instant.​
21 .​PP20 .​PP
689 B
./usr/share/man/man3/ALLEGRO_TOUCH_STATE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9221 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·863
395 B
ALLEGRO_TOUCH_STATE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_TOUCH_STATE\·​ALLEGRO_TOUCH_STATE;​13 typedef\·​struct\·​ALLEGRO_TOUCH_STATE\·​ALLEGRO_TOUCH_STATE;​
14 typedef\·​struct\·​ALLEGRO_TOUCH_STATE\·​ALLEGRO_TOUCH_STATE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​\[lq]snapshot\[rq]·​of·​a·​touch18 This·​is·​a·​structure·​that·​is·​used·​to·​hold·​a·​\[lq]snapshot\[rq]·​of·​a·​touch
20 at·​a·​particular·​instant.​19 at·​a·​particular·​instant.​
21 .​PP20 .​PP
772 B
./usr/share/man/man3/ALLEGRO_TRANSFORM.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6231 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·568
482 B
ALLEGRO_TRANSFORM.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_TRANSFORM\·​ALLEGRO_TRANSFORM;​13 typedef\·​struct\·​ALLEGRO_TRANSFORM\·​ALLEGRO_TRANSFORM;​
14 typedef\·​struct\·​ALLEGRO_TRANSFORM\·​ALLEGRO_TRANSFORM;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Defines·​the·​generic·​transformation·​type,​·​a·​4x4·​matrix.​18 Defines·​the·​generic·​transformation·​type,​·​a·​4x4·​matrix.​
20 2D·​transforms·​use·​only·​a·​small·​subsection·​of·​this·​matrix,​·​namely·​the·​top19 2D·​transforms·​use·​only·​a·​small·​subsection·​of·​this·​matrix,​·​namely·​the·​top
21 left·​2x2·​matrix,​·​and·​the·​right·​most·​2x1·​matrix,​·​for·​a·​total·​of·​6·​values.​20 left·​2x2·​matrix,​·​and·​the·​right·​most·​2x1·​matrix,​·​for·​a·​total·​of·​6·​values.​
638 B
./usr/share/man/man3/ALLEGRO_USECS_TO_SECS.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4261 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·361
340 B
ALLEGRO_USECS_TO_SECS.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​ALLEGRO_USECS_TO_SECS​(x)​\·​\·​\·​\·​\·​\·​((x)​\·​/​\·​1000000.​0)​13 #define\·​ALLEGRO_USECS_TO_SECS​(x)​\·​\·​\·​\·​\·​\·​((x)​\·​/​\·​1000000.​0)​
14 #define\·​ALLEGRO_USECS_TO_SECS​(x)​\·​\·​\·​\·​\·​\·​((x)​\·​/​\·​1000000.​0)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Convert·​microseconds·​to·​seconds.​18 Convert·​microseconds·​to·​seconds.​
684 B
./usr/share/man/man3/ALLEGRO_USER_EVENT.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​16341 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1577
390 B
ALLEGRO_USER_EVENT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​ALLEGRO_USER_EVENT\·​ALLEGRO_USER_EVENT;​13 typedef\·​struct\·​ALLEGRO_USER_EVENT\·​ALLEGRO_USER_EVENT;​
14 typedef\·​struct\·​ALLEGRO_USER_EVENT\·​ALLEGRO_USER_EVENT;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​event·​structure·​that·​can·​be·​emitted·​by·​user·​event·​sources.​18 An·​event·​structure·​that·​can·​be·​emitted·​by·​user·​event·​sources.​
20 These·​are·​the·​public·​fields:​19 These·​are·​the·​public·​fields:​
21 .​IP·​\[bu]·​220 .​IP·​\[bu]·​2
693 B
./usr/share/man/man3/ALLEGRO_USTR.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4971 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​450
413 B
ALLEGRO_USTR.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​_al_tagbstring\·​ALLEGRO_USTR;​13 typedef\·​struct\·​_al_tagbstring\·​ALLEGRO_USTR;​
14 typedef\·​struct\·​_al_tagbstring\·​ALLEGRO_USTR;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 An·​opaque·​type·​representing·​a·​string.​18 An·​opaque·​type·​representing·​a·​string.​
20 ALLEGRO_USTRs·​normally·​contain·​UTF\-​8·​encoded·​strings,​·​but·​they·​may·​be19 ALLEGRO_USTRs·​normally·​contain·​UTF\-​8·​encoded·​strings,​·​but·​they·​may·​be
21 used·​to·​hold·​any·​byte·​sequences,​·​including·​NULs.​20 used·​to·​hold·​any·​byte·​sequences,​·​including·​NULs.​
691 B
./usr/share/man/man3/ALLEGRO_USTR_INFO.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5601 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​508
401 B
ALLEGRO_USTR_INFO.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​struct\·​_al_tagbstring\·​ALLEGRO_USTR_INFO;​13 typedef\·​struct\·​_al_tagbstring\·​ALLEGRO_USTR_INFO;​
14 typedef\·​struct\·​_al_tagbstring\·​ALLEGRO_USTR_INFO;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​type·​that·​holds·​additional·​information·​for·​an·​ALLEGRO_USTR(3alleg5)​18 A·​type·​that·​holds·​additional·​information·​for·​an·​ALLEGRO_USTR(3alleg5)​
20 that·​references·​an·​external·​memory·​buffer.​19 that·​references·​an·​external·​memory·​buffer.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
738 B
./usr/share/man/man3/ALLEGRO_VERTEX.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​10661 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1017
452 B
ALLEGRO_VERTEX.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​struct\·​ALLEGRO_VERTEX\·​ALLEGRO_VERTEX;​13 typedef\·​struct\·​ALLEGRO_VERTEX\·​ALLEGRO_VERTEX;​
14 typedef\·​struct\·​ALLEGRO_VERTEX\·​ALLEGRO_VERTEX;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Defines·​the·​generic·​vertex·​type,​·​with·​a·​3D·​position,​·​color·​and·​texture18 Defines·​the·​generic·​vertex·​type,​·​with·​a·​3D·​position,​·​color·​and·​texture
20 coordinates·​for·​a·​single·​texture.​19 coordinates·​for·​a·​single·​texture.​
21 Note·​that·​at·​this·​time,​·​the·​software·​driver·​for·​this·​addon·​cannot·​render20 Note·​that·​at·​this·​time,​·​the·​software·​driver·​for·​this·​addon·​cannot·​render
755 B
./usr/share/man/man3/ALLEGRO_VERTEX_BUFFER.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6361 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·573
457 B
ALLEGRO_VERTEX_BUFFER.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​struct\·​ALLEGRO_VERTEX_BUFFER​\·​ALLEGRO_VERTEX_BUFFER​;​13 typedef\·​struct\·​ALLEGRO_VERTEX_BUFFER​\·​ALLEGRO_VERTEX_BUFFER​;​
14 typedef\·​struct\·​ALLEGRO_VERTEX_BUFFER​\·​ALLEGRO_VERTEX_BUFFER​;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​GPU·​vertex·​buffer·​that·​you·​can·​use·​to·​store·​vertices·​on·​the·​GPU18 A·​GPU·​vertex·​buffer·​that·​you·​can·​use·​to·​store·​vertices·​on·​the·​GPU
20 instead·​of·​uploading·​them·​afresh·​during·​every·​drawing·​operation.​19 instead·​of·​uploading·​them·​afresh·​during·​every·​drawing·​operation.​
21 .​SH·​SINCE20 .​SH·​SINCE
731 B
./usr/share/man/man3/ALLEGRO_VERTEX_CACHE_SIZE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7271 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·687
425 B
ALLEGRO_VERTEX_CACHE_SIZE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 #define\·​ALLEGRO_VERTEX_CACHE_​SIZE\·​25613 #define\·​ALLEGRO_VERTEX_CACHE_​SIZE\·​256
14 #define\·​ALLEGRO_VERTEX_CACHE_​SIZE\·​256 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Defines·​the·​size·​of·​the·​transformation·​vertex·​cache·​for·​the·​software18 Defines·​the·​size·​of·​the·​transformation·​vertex·​cache·​for·​the·​software
20 renderer.​19 renderer.​
21 If·​you·​pass·​less·​than·​this·​many·​vertices·​to·​the·​primitive·​rendering20 If·​you·​pass·​less·​than·​this·​many·​vertices·​to·​the·​primitive·​rendering
727 B
./usr/share/man/man3/ALLEGRO_VERTEX_DECL.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6851 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​626
433 B
ALLEGRO_VERTEX_DECL.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​struct\·​ALLEGRO_VERTEX_DECL\·​ALLEGRO_VERTEX_DECL;​13 typedef\·​struct\·​ALLEGRO_VERTEX_DECL\·​ALLEGRO_VERTEX_DECL;​
14 typedef\·​struct\·​ALLEGRO_VERTEX_DECL\·​ALLEGRO_VERTEX_DECL;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​vertex·​declaration.​18 A·​vertex·​declaration.​
20 This·​opaque·​structure·​is·​responsible·​for·​describing·​the·​format·​and19 This·​opaque·​structure·​is·​responsible·​for·​describing·​the·​format·​and
21 layout·​of·​a·​user·​defined·​custom·​vertex.​20 layout·​of·​a·​user·​defined·​custom·​vertex.​
731 B
./usr/share/man/man3/ALLEGRO_VERTEX_ELEMENT.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​20871 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2022
429 B
ALLEGRO_VERTEX_ELEMENT.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 typedef\·​struct\·​ALLEGRO_VERTEX_ELEMEN​T\·​ALLEGRO_VERTEX_ELEMEN​T;​13 typedef\·​struct\·​ALLEGRO_VERTEX_ELEMEN​T\·​ALLEGRO_VERTEX_ELEMEN​T;​
14 typedef\·​struct\·​ALLEGRO_VERTEX_ELEMEN​T\·​ALLEGRO_VERTEX_ELEMEN​T;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​small·​structure·​describing·​a·​certain·​element·​of·​a·​vertex.​18 A·​small·​structure·​describing·​a·​certain·​element·​of·​a·​vertex.​
20 E.​g.​19 E.​g.​
21 the·​position·​of·​the·​vertex,​·​or·​its·​color.​20 the·​position·​of·​the·​vertex,​·​or·​its·​color.​
649 B
./usr/share/man/man3/ALLEGRO_VIDEO_EVENT_TYPE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11281 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1097
343 B
ALLEGRO_VIDEO_EVENT_TYPE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 enum\·​ALLEGRO_VIDEO_EVENT_T​YPE13 enum\·​ALLEGRO_VIDEO_EVENT_T​YPE
14 enum\·​ALLEGRO_VIDEO_EVENT_T​YPE 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Events·​sent·​by·​al_get_video_event_so​urce(3alleg5)​.​18 Events·​sent·​by·​al_get_video_event_so​urce(3alleg5)​.​
20 .​SS·​ALLEGRO_EVENT_VIDEO_F​RAME_SHOW19 .​SS·​ALLEGRO_EVENT_VIDEO_F​RAME_SHOW
21 .​PP20 .​PP
803 B
./usr/share/man/man3/ALLEGRO_VIDEO_POSITION_TYPE.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12571 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1184
491 B
ALLEGRO_VIDEO_POSITION_TYPE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 typedef\·​enum\·​ALLEGRO_VIDEO_POSITIO​N_TYPE\·​ALLEGRO_VIDEO_POSITIO​N_TYPE;​13 typedef\·​enum\·​ALLEGRO_VIDEO_POSITIO​N_TYPE\·​ALLEGRO_VIDEO_POSITIO​N_TYPE;​
14 typedef\·​enum\·​ALLEGRO_VIDEO_POSITIO​N_TYPE\·​ALLEGRO_VIDEO_POSITIO​N_TYPE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Used·​with·​al_get_video_position​(3alleg5)​·​to·​specify·​which·​position·​to18 Used·​with·​al_get_video_position​(3alleg5)​·​to·​specify·​which·​position·​to
20 retrieve.​19 retrieve.​
21 If·​these·​get·​out·​of·​sync,​·​audio·​and·​video·​may·​be·​out·​of·​sync·​in·​the20 If·​these·​get·​out·​of·​sync,​·​audio·​and·​video·​may·​be·​out·​of·​sync·​in·​the
750 B
./usr/share/man/man3/ALLEGRO_VOICE.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6671 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​620
468 B
ALLEGRO_VOICE.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 typedef\·​struct\·​ALLEGRO_VOICE\·​ALLEGRO_VOICE;​13 typedef\·​struct\·​ALLEGRO_VOICE\·​ALLEGRO_VOICE;​
14 typedef\·​struct\·​ALLEGRO_VOICE\·​ALLEGRO_VOICE;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​voice·​represents·​an·​audio·​device·​on·​the·​system,​·​which·​may·​be·​a·​real18 A·​voice·​represents·​an·​audio·​device·​on·​the·​system,​·​which·​may·​be·​a·​real
20 device,​·​or·​an·​abstract·​device·​provided·​by·​the·​operating·​system.​19 device,​·​or·​an·​abstract·​device·​provided·​by·​the·​operating·​system.​
21 To·​play·​back·​audio,​·​you·​would·​attach·​a·​mixer,​·​sample·​instance·​or·​audio20 To·​play·​back·​audio,​·​you·​would·​attach·​a·​mixer,​·​sample·​instance·​or·​audio
678 B
./usr/share/man/man3/ALLEGRO_WRITE_MASK_FLAGS.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7781 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​735
374 B
ALLEGRO_WRITE_MASK_FLAGS.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​enum\·​ALLEGRO_WRITE_MASK_FL​AGS\·​{13 typedef\·​enum\·​ALLEGRO_WRITE_MASK_FL​AGS\·​{
14 typedef\·​enum\·​ALLEGRO_WRITE_MASK_FL​AGS\·​{ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Each·​enabled·​bit·​means·​the·​corresponding·​value·​is·​written,​·​a·​disabled18 Each·​enabled·​bit·​means·​the·​corresponding·​value·​is·​written,​·​a·​disabled
20 bit·​means·​it·​is·​not.​19 bit·​means·​it·​is·​not.​
21 .​IP·​\[bu]·​220 .​IP·​\[bu]·​2
884 B
./usr/share/man/man3/al_append_menu_item.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7721 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·620
590 B
al_append_menu_item.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 int\·​al_append_menu_item(A​LLEGRO_MENU\·​*parent,​\·​char\·​const\·​*title,​\·​uint16_t\·​id,​13 int\·​al_append_menu_item(A​LLEGRO_MENU\·​*parent,​\·​char\·​const\·​*title,​\·​uint16_t\·​id,​
14 \·​\·​\·​int\·​flags,​\·​ALLEGRO_BITMAP\·​*icon,​\·​ALLEGRO_MENU\·​*submenu)​14 \·​\·​\·​int\·​flags,​\·​ALLEGRO_BITMAP\·​*icon,​\·​ALLEGRO_MENU\·​*submenu)​
15 int\·​al_append_menu_item(A​LLEGRO_MENU\·​*parent,​\·​char\·​const\·​*title,​\·​uint16_t\·​id,​ 
16 \·​\·​\·​int\·​flags,​\·​ALLEGRO_BITMAP\·​*icon,​\·​ALLEGRO_MENU\·​*submenu)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Appends·​a·​menu·​item·​to·​the·​end·​of·​the·​menu.​19 Appends·​a·​menu·​item·​to·​the·​end·​of·​the·​menu.​
22 See·​al_insert_menu_item(3​alleg5)​·​for·​more·​information.​20 See·​al_insert_menu_item(3​alleg5)​·​for·​more·​information.​
23 .​SH·​SINCE21 .​SH·​SINCE
826 B
./usr/share/man/man3/al_append_native_text_log.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·728
520 B
al_append_native_text_log.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_append_native_text​_log(ALLEGRO_TEXTLOG\​·​*textlog,​13 void\·​al_append_native_text​_log(ALLEGRO_TEXTLOG\​·​*textlog,​
14 \·​\·​\·​char\·​const\·​*format,​\·​.​.​.​)​14 \·​\·​\·​char\·​const\·​*format,​\·​.​.​.​)​
15 void\·​al_append_native_text​_log(ALLEGRO_TEXTLOG\​·​*textlog,​ 
16 \·​\·​\·​char\·​const\·​*format,​\·​.​.​.​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Appends·​a·​line·​of·​text·​to·​the·​message·​log·​window·​and·​scrolls·​to·​the19 Appends·​a·​line·​of·​text·​to·​the·​message·​log·​window·​and·​scrolls·​to·​the
22 bottom·​(if·​the·​line·​would·​not·​be·​visible·​otherwise)​.​20 bottom·​(if·​the·​line·​would·​not·​be·​visible·​otherwise)​.​
23 This·​works·​like·​printf.​21 This·​works·​like·​printf.​
801 B
./usr/share/man/man3/al_attach_audio_stream_to_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6601 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·567
483 B
al_attach_audio_stream_to_mixer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_attach_audio_strea​m_to_mixer(ALLEGRO_AU​DIO_STREAM\·​*stream,​\·​ALLEGRO_MIXER\·​*mixer)​13 bool\·​al_attach_audio_strea​m_to_mixer(ALLEGRO_AU​DIO_STREAM\·​*stream,​\·​ALLEGRO_MIXER\·​*mixer)​
14 bool\·​al_attach_audio_strea​m_to_mixer(ALLEGRO_AU​DIO_STREAM\·​*stream,​\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Attach·​an·​audio·​stream·​to·​a·​mixer.​18 Attach·​an·​audio·​stream·​to·​a·​mixer.​
20 The·​stream·​must·​not·​already·​be·​attached·​to·​anything.​19 The·​stream·​must·​not·​already·​be·​attached·​to·​anything.​
21 .​PP20 .​PP
885 B
./usr/share/man/man3/al_attach_audio_stream_to_voice.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10841 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·986
566 B
al_attach_audio_stream_to_voice.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_attach_audio_strea​m_to_voice(ALLEGRO_AU​DIO_STREAM\·​*stream,​13 bool\·​al_attach_audio_strea​m_to_voice(ALLEGRO_AU​DIO_STREAM\·​*stream,​
14 \·​\·​\·​ALLEGRO_VOICE\·​*voice)​14 \·​\·​\·​ALLEGRO_VOICE\·​*voice)​
15 bool\·​al_attach_audio_strea​m_to_voice(ALLEGRO_AU​DIO_STREAM\·​*stream,​ 
16 \·​\·​\·​ALLEGRO_VOICE\·​*voice)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Attaches·​an·​audio·​stream·​to·​a·​voice.​19 Attaches·​an·​audio·​stream·​to·​a·​voice.​
22 The·​same·​rules·​as·​al_attach_sample_inst​ance_to_voice(3alleg5​)​·​apply.​20 The·​same·​rules·​as·​al_attach_sample_inst​ance_to_voice(3alleg5​)​·​apply.​
23 This·​may·​fail·​if·​the·​driver·​can't·​create·​a·​voice·​with·​the·​buffer·​count21 This·​may·​fail·​if·​the·​driver·​can't·​create·​a·​voice·​with·​the·​buffer·​count
814 B
./usr/share/man/man3/al_attach_mixer_to_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8311 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·752
510 B
al_attach_mixer_to_mixer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_attach_mixer_to_mi​xer(ALLEGRO_MIXER\·​*stream,​\·​ALLEGRO_MIXER\·​*mixer)​13 bool\·​al_attach_mixer_to_mi​xer(ALLEGRO_MIXER\·​*stream,​\·​ALLEGRO_MIXER\·​*mixer)​
14 bool\·​al_attach_mixer_to_mi​xer(ALLEGRO_MIXER\·​*stream,​\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Attaches·​the·​mixer·​passed·​as·​the·​first·​argument·​onto·​the·​mixer·​passed·​as18 Attaches·​the·​mixer·​passed·​as·​the·​first·​argument·​onto·​the·​mixer·​passed·​as
20 the·​second·​argument.​19 the·​second·​argument.​
21 The·​first·​mixer·​(that·​is·​going·​to·​be·​attached)​·​must·​not·​already·​be20 The·​first·​mixer·​(that·​is·​going·​to·​be·​attached)​·​must·​not·​already·​be
771 B
./usr/share/man/man3/al_attach_mixer_to_voice.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6401 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·562
467 B
al_attach_mixer_to_voice.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_attach_mixer_to_vo​ice(ALLEGRO_MIXER\·​*mixer,​\·​ALLEGRO_VOICE\·​*voice)​13 bool\·​al_attach_mixer_to_vo​ice(ALLEGRO_MIXER\·​*mixer,​\·​ALLEGRO_VOICE\·​*voice)​
14 bool\·​al_attach_mixer_to_vo​ice(ALLEGRO_MIXER\·​*mixer,​\·​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Attaches·​a·​mixer·​to·​a·​voice.​18 Attaches·​a·​mixer·​to·​a·​voice.​
20 It·​must·​have·​the·​same·​frequency·​and·​channel·​configuration,​·​but·​the·​depth19 It·​must·​have·​the·​same·​frequency·​and·​channel·​configuration,​·​but·​the·​depth
21 may·​be·​different.​20 may·​be·​different.​
821 B
./usr/share/man/man3/al_attach_sample_instance_to_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6891 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·588
497 B
al_attach_sample_instance_to_mixer.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_attach_sample_inst​ance_to_mixer(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​13 bool\·​al_attach_sample_inst​ance_to_mixer(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​
14 \·​\·​\·​ALLEGRO_MIXER\·​*mixer)​14 \·​\·​\·​ALLEGRO_MIXER\·​*mixer)​
15 bool\·​al_attach_sample_inst​ance_to_mixer(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​ 
16 \·​\·​\·​ALLEGRO_MIXER\·​*mixer)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Attach·​a·​sample·​instance·​to·​a·​mixer.​19 Attach·​a·​sample·​instance·​to·​a·​mixer.​
22 The·​instance·​must·​not·​already·​be·​attached·​to·​anything.​20 The·​instance·​must·​not·​already·​be·​attached·​to·​anything.​
23 .​PP21 .​PP
933 B
./usr/share/man/man3/al_attach_sample_instance_to_voice.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10001 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·899
608 B
al_attach_sample_instance_to_voice.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_attach_sample_inst​ance_to_voice(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​13 bool\·​al_attach_sample_inst​ance_to_voice(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​
14 \·​\·​\·​ALLEGRO_VOICE\·​*voice)​14 \·​\·​\·​ALLEGRO_VOICE\·​*voice)​
15 bool\·​al_attach_sample_inst​ance_to_voice(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​ 
16 \·​\·​\·​ALLEGRO_VOICE\·​*voice)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Attaches·​a·​sample·​instance·​to·​a·​voice,​·​and·​allows·​it·​to·​play.​19 Attaches·​a·​sample·​instance·​to·​a·​voice,​·​and·​allows·​it·​to·​play.​
22 The·​instance's·​gain·​and·​loop·​mode·​will·​be·​ignored,​·​and·​it·​must·​have·​the20 The·​instance's·​gain·​and·​loop·​mode·​will·​be·​ignored,​·​and·​it·​must·​have·​the
23 same·​frequency,​·​channel·​configuration·​and·​depth·​(including·​signed\-​ness)​21 same·​frequency,​·​channel·​configuration·​and·​depth·​(including·​signed\-​ness)​
669 B
./usr/share/man/man3/al_build_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7851 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​730
387 B
al_build_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_build_menu(ALLEGR​O_MENU_INFO\·​*info)​13 ALLEGRO_MENU\·​*al_build_menu(ALLEGR​O_MENU_INFO\·​*info)​
14 ALLEGRO_MENU\·​*al_build_menu(ALLEGR​O_MENU_INFO\·​*info)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Builds·​a·​menu·​based·​on·​the·​specifications·​of·​a·​sequence·​of18 Builds·​a·​menu·​based·​on·​the·​specifications·​of·​a·​sequence·​of
20 \f[C]ALLEGRO_MENU_INF​O\f[]·​elements.​19 \f[C]ALLEGRO_MENU_INF​O\f[]·​elements.​
21 .​PP20 .​PP
1.01 KB
./usr/share/man/man3/al_calculate_arc.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​36091 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3421
749 B
al_calculate_arc.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_calculate_arc(floa​t*\·​dest,​\·​int\·​stride,​\·​float\·​cx,​\·​float\·​cy,​13 void\·​al_calculate_arc(floa​t*\·​dest,​\·​int\·​stride,​\·​float\·​cx,​\·​float\·​cy,​
14 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​float\·​start_theta,​\·​float\·​delta_theta,​\·​float\·​thickness,​14 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​float\·​start_theta,​\·​float\·​delta_theta,​\·​float\·​thickness,​
15 \·​\·​\·​int\·​num_points)​15 \·​\·​\·​int\·​num_points)​
16 void\·​al_calculate_arc(floa​t*\·​dest,​\·​int\·​stride,​\·​float\·​cx,​\·​float\·​cy,​ 
17 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​float\·​start_theta,​\·​float\·​delta_theta,​\·​float\·​thickness,​ 
18 \·​\·​\·​int\·​num_points)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 When·​\f[C]thickness\·​<=\·​0\f[]·​this·​function·​computes·​positions·​of20 When·​\f[C]thickness\·​<=\·​0\f[]·​this·​function·​computes·​positions·​of
24 \f[C]num_points\f[]·​regularly·​spaced·​points·​on·​an·​elliptical·​arc.​21 \f[C]num_points\f[]·​regularly·​spaced·​points·​on·​an·​elliptical·​arc.​
25 When·​\f[C]thickness\·​>\·​0\f[]·​this·​function·​computes·​two·​sets·​of·​points,​22 When·​\f[C]thickness\·​>\·​0\f[]·​this·​function·​computes·​two·​sets·​of·​points,​
936 B
./usr/share/man/man3/al_calculate_ribbon.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​15631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1415
640 B
al_calculate_ribbon.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_calculate_ribbon(f​loat*\·​dest,​\·​int\·​dest_stride,​\·​const\·​float\·​*points,​13 void\·​al_calculate_ribbon(f​loat*\·​dest,​\·​int\·​dest_stride,​\·​const\·​float\·​*points,​
14 \·​\·​\·​int\·​points_stride,​\·​float\·​thickness,​\·​int\·​num_segments)​14 \·​\·​\·​int\·​points_stride,​\·​float\·​thickness,​\·​int\·​num_segments)​
15 void\·​al_calculate_ribbon(f​loat*\·​dest,​\·​int\·​dest_stride,​\·​const\·​float\·​*points,​ 
16 \·​\·​\·​int\·​points_stride,​\·​float\·​thickness,​\·​int\·​num_segments)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Calculates·​a·​ribbon·​given·​an·​array·​of·​points.​19 Calculates·​a·​ribbon·​given·​an·​array·​of·​points.​
22 The·​ribbon·​will·​go·​through·​all·​of·​the·​passed·​points.​20 The·​ribbon·​will·​go·​through·​all·​of·​the·​passed·​points.​
23 If·​\f[C]thickness\·​<=\·​0\f[],​·​then·​\f[C]num_segments\f[]​·​of·​points·​are21 If·​\f[C]thickness\·​<=\·​0\f[],​·​then·​\f[C]num_segments\f[]​·​of·​points·​are
891 B
./usr/share/man/man3/al_calculate_spline.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​13111 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1194
595 B
al_calculate_spline.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_calculate_spline(f​loat*\·​dest,​\·​int\·​stride,​\·​float\·​points[8],​13 void\·​al_calculate_spline(f​loat*\·​dest,​\·​int\·​stride,​\·​float\·​points[8],​
14 \·​\·​\·​float\·​thickness,​\·​int\·​num_segments)​14 \·​\·​\·​float\·​thickness,​\·​int\·​num_segments)​
15 void\·​al_calculate_spline(f​loat*\·​dest,​\·​int\·​stride,​\·​float\·​points[8],​ 
16 \·​\·​\·​float\·​thickness,​\·​int\·​num_segments)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Calculates·​a·​Bézier·​spline·​given·​4·​control·​points.​19 Calculates·​a·​Bézier·​spline·​given·​4·​control·​points.​
22 If·​\f[C]thickness\·​<=\·​0\f[],​·​then·​\f[C]num_segments\f[]​·​of·​points·​are20 If·​\f[C]thickness\·​<=\·​0\f[],​·​then·​\f[C]num_segments\f[]​·​of·​points·​are
23 required·​in·​the·​destination,​·​otherwise·​twice·​as·​many·​are·​needed.​21 required·​in·​the·​destination,​·​otherwise·​twice·​as·​many·​are·​needed.​
670 B
./usr/share/man/man3/al_calloc.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5691 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​517
396 B
al_calloc.3alleg5
    
Offset 8, 16 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​al_calloc(c,​\·​n)​\·​\\13 #define\·​al_calloc(c,​\·​n)​\·​\\
14 \·​\·​\·​ALLEGRO_TIMEOUT 
15 #define\·​al_calloc(c,​\·​n)​\·​\\ 
16 \·​\·​\·​(al_calloc_with_conte​xt((c)​,​\·​(n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​14 \·​\·​\·​(al_calloc_with_conte​xt((c)​,​\·​(n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Like·​calloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be19 Like·​calloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be
22 overridden.​20 overridden.​
712 B
./usr/share/man/man3/al_clone_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6131 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·563
430 B
al_clone_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_clone_menu(ALLEGR​O_MENU\·​*menu)​13 ALLEGRO_MENU\·​*al_clone_menu(ALLEGR​O_MENU\·​*menu)​
14 ALLEGRO_MENU\·​*al_clone_menu(ALLEGR​O_MENU\·​*menu)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Makes·​a·​copy·​of·​a·​menu·​so·​that·​it·​can·​be·​reused·​on·​another·​display.​18 Makes·​a·​copy·​of·​a·​menu·​so·​that·​it·​can·​be·​reused·​on·​another·​display.​
20 The·​menu·​being·​cloned·​can·​be·​anything:​·​a·​regular·​menu,​·​a·​popup·​menu,​·​or19 The·​menu·​being·​cloned·​can·​be·​anything:​·​a·​regular·​menu,​·​a·​popup·​menu,​·​or
21 a·​sub\-​menu.​20 a·​sub\-​menu.​
708 B
./usr/share/man/man3/al_clone_menu_for_popup.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5401 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·480
406 B
al_clone_menu_for_popup.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_clone_menu_for_po​pup(ALLEGRO_MENU\·​*menu)​13 ALLEGRO_MENU\·​*al_clone_menu_for_po​pup(ALLEGRO_MENU\·​*menu)​
14 ALLEGRO_MENU\·​*al_clone_menu_for_po​pup(ALLEGRO_MENU\·​*menu)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Exactly·​like·​al_clone_menu(3alleg5​)​,​·​except·​that·​the·​copy·​is·​for·​a·​popup18 Exactly·​like·​al_clone_menu(3alleg5​)​,​·​except·​that·​the·​copy·​is·​for·​a·​popup
20 menu.​19 menu.​
21 .​SH·​SINCE20 .​SH·​SINCE
705 B
./usr/share/man/man3/al_close_native_text_log.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5641 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​506
401 B
al_close_native_text_log.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_close_native_text_​log(ALLEGRO_TEXTLOG\·​*textlog)​13 void\·​al_close_native_text_​log(ALLEGRO_TEXTLOG\·​*textlog)​
14 void\·​al_close_native_text_​log(ALLEGRO_TEXTLOG\·​*textlog)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Closes·​a·​message·​log·​window·​opened·​with·​al_open_native_text_l​og(3alleg5)​18 Closes·​a·​message·​log·​window·​opened·​with·​al_open_native_text_l​og(3alleg5)​
20 earlier.​19 earlier.​
21 .​PP20 .​PP
662 B
./usr/share/man/man3/al_close_video.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4721 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​428
378 B
al_close_video.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 void\·​al_close_video(ALLEGR​O_VIDEO\·​*video)​13 void\·​al_close_video(ALLEGR​O_VIDEO\·​*video)​
14 void\·​al_close_video(ALLEGR​O_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Closes·​the·​video·​and·​frees·​all·​allocated·​resources.​18 Closes·​the·​video·​and·​frees·​all·​allocated·​resources.​
20 The·​video·​pointer·​is·​invalid·​after·​the·​function·​returns.​19 The·​video·​pointer·​is·​invalid·​after·​the·​function·​returns.​
21 .​SH·​SINCE20 .​SH·​SINCE
700 B
./usr/share/man/man3/al_color_cmyk.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5671 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·495
418 B
al_color_cmyk.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_cmyk(float\·​c,​\·​float\·​m,​\·​float\·​y,​\·​float\·​k)​13 ALLEGRO_COLOR\·​al_color_cmyk(float\·​c,​\·​float\·​m,​\·​float\·​y,​\·​float\·​k)​
14 ALLEGRO_COLOR\·​al_color_cmyk(float\·​c,​\·​float\·​m,​\·​float\·​y,​\·​float\·​k)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​CMYK·​values·​(cyan,​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​CMYK·​values·​(cyan,​
20 magenta,​·​yellow,​·​black)​.​19 magenta,​·​yellow,​·​black)​.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
795 B
./usr/share/man/man3/al_color_cmyk_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6491 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·511
499 B
al_color_cmyk_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_cmyk_to_rgb(​float\·​cyan,​\·​float\·​magenta,​\·​float\·​yellow,​13 void\·​al_color_cmyk_to_rgb(​float\·​cyan,​\·​float\·​magenta,​\·​float\·​yellow,​
14 \·​\·​\·​\·​float\·​key,​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​\·​float\·​key,​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_cmyk_to_rgb(​float\·​cyan,​\·​float\·​magenta,​\·​float\·​yellow,​ 
16 \·​\·​\·​\·​float\·​key,​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​CMYK·​values·​to·​RGB·​values.​19 Convert·​CMYK·​values·​to·​RGB·​values.​
22 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
23 .​PP21 .​PP
660 B
./usr/share/man/man3/al_color_hsl.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7201 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·660
380 B
al_color_hsl.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_hsl(float\·​h,​\·​float\·​s,​\·​float\·​l)​13 ALLEGRO_COLOR\·​al_color_hsl(float\·​h,​\·​float\·​s,​\·​float\·​l)​
14 ALLEGRO_COLOR\·​al_color_hsl(float\·​h,​\·​float\·​s,​\·​float\·​l)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​HSL·​(hue,​·​saturation,​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​HSL·​(hue,​·​saturation,​
20 lightness)​·​values.​19 lightness)​·​values.​
21 .​PP20 .​PP
787 B
./usr/share/man/man3/al_color_hsl_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9331 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·806
493 B
al_color_hsl_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_hsl_to_rgb(f​loat\·​hue,​\·​float\·​saturation,​\·​float\·​lightness,​13 void\·​al_color_hsl_to_rgb(f​loat\·​hue,​\·​float\·​saturation,​\·​float\·​lightness,​
14 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_hsl_to_rgb(f​loat\·​hue,​\·​float\·​saturation,​\·​float\·​lightness,​ 
16 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​values·​in·​HSL·​color·​model·​to·​RGB·​color·​model.​19 Convert·​values·​in·​HSL·​color·​model·​to·​RGB·​color·​model.​
22 .​PP20 .​PP
23 Parameters:​21 Parameters:​
656 B
./usr/share/man/man3/al_color_hsv.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7081 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·648
376 B
al_color_hsv.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_hsv(float\·​h,​\·​float\·​s,​\·​float\·​v)​13 ALLEGRO_COLOR\·​al_color_hsv(float\·​h,​\·​float\·​s,​\·​float\·​v)​
14 ALLEGRO_COLOR\·​al_color_hsv(float\·​h,​\·​float\·​s,​\·​float\·​v)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​HSV·​(hue,​·​saturation,​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​HSV·​(hue,​·​saturation,​
20 value)​·​values.​19 value)​·​values.​
21 .​PP20 .​PP
779 B
./usr/share/man/man3/al_color_hsv_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9171 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·794
485 B
al_color_hsv_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_hsv_to_rgb(f​loat\·​hue,​\·​float\·​saturation,​\·​float\·​value,​13 void\·​al_color_hsv_to_rgb(f​loat\·​hue,​\·​float\·​saturation,​\·​float\·​value,​
14 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_hsv_to_rgb(f​loat\·​hue,​\·​float\·​saturation,​\·​float\·​value,​ 
16 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​values·​in·​HSV·​color·​model·​to·​RGB·​color·​model.​19 Convert·​values·​in·​HSV·​color·​model·​to·​RGB·​color·​model.​
22 .​PP20 .​PP
23 Parameters:​21 Parameters:​
683 B
./usr/share/man/man3/al_color_html.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7651 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​714
401 B
al_color_html.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_html(char\·​const\·​*string)​13 ALLEGRO_COLOR\·​al_color_html(char\·​const\·​*string)​
14 ALLEGRO_COLOR\·​al_color_html(char\·​const\·​*string)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Interprets·​an·​HTML\-​style·​hex·​number·​(e.​g.​18 Interprets·​an·​HTML\-​style·​hex·​number·​(e.​g.​
20 #00faff)​·​as·​a·​color.​19 #00faff)​·​as·​a·​color.​
21 The·​accepted·​format·​is·​the·​same·​as·​al_color_html_to_rgb(​3alleg5)​.​20 The·​accepted·​format·​is·​the·​same·​as·​al_color_html_to_rgb(​3alleg5)​.​
798 B
./usr/share/man/man3/al_color_html_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9051 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·806
502 B
al_color_html_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 bool\·​al_color_html_to_rgb(​char\·​const\·​*string,​13 bool\·​al_color_html_to_rgb(​char\·​const\·​*string,​
14 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 bool\·​al_color_html_to_rgb(​char\·​const\·​*string,​ 
16 \·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Interprets·​an·​HTML\-​style·​hex·​number·​(e.​g.​19 Interprets·​an·​HTML\-​style·​hex·​number·​(e.​g.​
22 #00faff)​·​as·​a·​color.​20 #00faff)​·​as·​a·​color.​
23 The·​only·​accepted·​formats·​are·​\[lq]#RRGGBB\[rq]·​and·​\[lq]RRGGBB\[rq]21 The·​only·​accepted·​formats·​are·​\[lq]#RRGGBB\[rq]·​and·​\[lq]RRGGBB\[rq]
740 B
./usr/share/man/man3/al_color_lab.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​10771 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1017
458 B
al_color_lab.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_lab(float\·​l,​\·​float\·​a,​\·​float\·​b)​13 ALLEGRO_COLOR\·​al_color_lab(float\·​l,​\·​float\·​a,​\·​float\·​b)​
14 ALLEGRO_COLOR\·​al_color_lab(float\·​l,​\·​float\·​a,​\·​float\·​b)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​CIE·​L*a*b*·​values.​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​CIE·​L*a*b*·​values.​
20 The·​L*·​component·​corresponds·​to·​luminance·​from·​0.​.​1.​19 The·​L*·​component·​corresponds·​to·​luminance·​from·​0.​.​1.​
21 The·​a*·​and·​b*·​components·​are·​in·​the·​range·​\-​1.​.​+1.​20 The·​a*·​and·​b*·​components·​are·​in·​the·​range·​\-​1.​.​+1.​
749 B
./usr/share/man/man3/al_color_lab_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6261 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·516
455 B
al_color_lab_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_lab_to_rgb(f​loat\·​l,​\·​float\·​a,​\·​float\·​b,​13 void\·​al_color_lab_to_rgb(f​loat\·​l,​\·​float\·​a,​\·​float\·​b,​
14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_lab_to_rgb(f​loat\·​l,​\·​float\·​a,​\·​float\·​b,​ 
16 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​CIE·​L*a*b*·​color·​values·​to·​RGB·​color·​space.​19 Convert·​CIE·​L*a*b*·​color·​values·​to·​RGB·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
23 .​PP21 .​PP
726 B
./usr/share/man/man3/al_color_lch.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​9701 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​910
446 B
al_color_lch.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_lch(float\·​l,​\·​float\·​c,​\·​float\·​h)​13 ALLEGRO_COLOR\·​al_color_lch(float\·​l,​\·​float\·​c,​\·​float\·​h)​
14 ALLEGRO_COLOR\·​al_color_lch(float\·​l,​\·​float\·​c,​\·​float\·​h)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​CIE·​LCH·​values.​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​CIE·​LCH·​values.​
20 LCH·​colors·​are·​very·​similar·​to·​HSL,​·​with·​the·​same·​meaning·​of·​L·​and·​H·​and19 LCH·​colors·​are·​very·​similar·​to·​HSL,​·​with·​the·​same·​meaning·​of·​L·​and·​H·​and
21 C·​corresponding·​to·​S.​20 C·​corresponding·​to·​S.​
746 B
./usr/share/man/man3/al_color_lch_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6231 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·513
452 B
al_color_lch_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_lch_to_rgb(f​loat\·​l,​\·​float\·​c,​\·​float\·​h,​13 void\·​al_color_lch_to_rgb(f​loat\·​l,​\·​float\·​c,​\·​float\·​h,​
14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_lch_to_rgb(f​loat\·​l,​\·​float\·​c,​\·​float\·​h,​ 
16 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​CIE·​LCH·​color·​values·​to·​RGB·​color·​space.​19 Convert·​CIE·​LCH·​color·​values·​to·​RGB·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
23 .​PP21 .​PP
657 B
./usr/share/man/man3/al_color_name.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5161 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·467
375 B
al_color_name.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_name(char\·​const\·​*name)​13 ALLEGRO_COLOR\·​al_color_name(char\·​const\·​*name)​
14 ALLEGRO_COLOR\·​al_color_name(char\·​const\·​*name)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​with·​the·​given·​name.​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​with·​the·​given·​name.​
20 If·​the·​color·​is·​not·​found·​then·​black·​is·​returned.​19 If·​the·​color·​is·​not·​found·​then·​black·​is·​returned.​
21 .​PP20 .​PP
714 B
./usr/share/man/man3/al_color_name_to_rgb.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​26791 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2596
416 B
al_color_name_to_rgb.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 bool\·​al_color_name_to_rgb(​char\·​const\·​*name,​\·​float\·​*r,​\·​float\·​*g,​\·​float\·​*b)​13 bool\·​al_color_name_to_rgb(​char\·​const\·​*name,​\·​float\·​*r,​\·​float\·​*g,​\·​float\·​*b)​
14 bool\·​al_color_name_to_rgb(​char\·​const\·​*name,​\·​float\·​*r,​\·​float\·​*g,​\·​float\·​*b)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Parameters:​18 Parameters:​
20 .​IP·​\[bu]·​219 .​IP·​\[bu]·​2
21 name·​\-​·​The·​(lowercase)​·​name·​of·​the·​color.​20 name·​\-​·​The·​(lowercase)​·​name·​of·​the·​color.​
839 B
./usr/share/man/man3/al_color_rgb_to_cmyk.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8961 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·759
543 B
al_color_rgb_to_cmyk.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_cmyk(​float\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_cmyk(​float\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​float\·​*cyan,​\·​float\·​*magenta,​\·​float\·​*yellow,​\·​float\·​*key)​14 \·​\·​\·​float\·​*cyan,​\·​float\·​*magenta,​\·​float\·​*yellow,​\·​float\·​*key)​
15 void\·​al_color_rgb_to_cmyk(​float\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​float\·​*cyan,​\·​float\·​*magenta,​\·​float\·​*yellow,​\·​float\·​*key)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Each·​RGB·​color·​can·​be·​represented·​in·​CMYK·​with·​a·​K·​component·​of·​0·​with19 Each·​RGB·​color·​can·​be·​represented·​in·​CMYK·​with·​a·​K·​component·​of·​0·​with
22 the·​following·​formula:​20 the·​following·​formula:​
23 .​IP21 .​IP
872 B
./usr/share/man/man3/al_color_rgb_to_hsl.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·603
578 B
al_color_rgb_to_hsl.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_hsl(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_hsl(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​float\·​*hue,​\·​float\·​*saturation,​\·​float\·​*lightness)​14 \·​\·​\·​float\·​*hue,​\·​float\·​*saturation,​\·​float\·​*lightness)​
15 void\·​al_color_rgb_to_hsl(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​float\·​*hue,​\·​float\·​*saturation,​\·​float\·​*lightness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Given·​an·​RGB·​triplet·​with·​components·​in·​the·​range·​0.​.​1,​·​return·​the·​hue19 Given·​an·​RGB·​triplet·​with·​components·​in·​the·​range·​0.​.​1,​·​return·​the·​hue
22 in·​degrees·​from·​0.​.​360·​and·​saturation·​and·​lightness·​in·​the·​range·​0.​.​1.​20 in·​degrees·​from·​0.​.​360·​and·​saturation·​and·​lightness·​in·​the·​range·​0.​.​1.​
23 .​SH·​SEE·​ALSO21 .​SH·​SEE·​ALSO
860 B
./usr/share/man/man3/al_color_rgb_to_hsv.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7181 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·595
566 B
al_color_rgb_to_hsv.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_hsv(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_hsv(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​float\·​*hue,​\·​float\·​*saturation,​\·​float\·​*value)​14 \·​\·​\·​float\·​*hue,​\·​float\·​*saturation,​\·​float\·​*value)​
15 void\·​al_color_rgb_to_hsv(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​float\·​*hue,​\·​float\·​*saturation,​\·​float\·​*value)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Given·​an·​RGB·​triplet·​with·​components·​in·​the·​range·​0.​.​1,​·​return·​the·​hue19 Given·​an·​RGB·​triplet·​with·​components·​in·​the·​range·​0.​.​1,​·​return·​the·​hue
22 in·​degrees·​from·​0.​.​360·​and·​saturation·​and·​value·​in·​the·​range·​0.​.​1.​20 in·​degrees·​from·​0.​.​360·​and·​saturation·​and·​value·​in·​the·​range·​0.​.​1.​
23 .​SH·​SEE·​ALSO21 .​SH·​SEE·​ALSO
737 B
./usr/share/man/man3/al_color_rgb_to_html.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9671 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·876
441 B
al_color_rgb_to_html.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_html(​float\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_html(​float\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​\·​char\·​*string)​14 \·​\·​\·​\·​char\·​*string)​
15 void\·​al_color_rgb_to_html(​float\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​\·​char\·​*string)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Create·​an·​HTML\-​style·​string·​representation·​of·​an19 Create·​an·​HTML\-​style·​string·​representation·​of·​an
22 ALLEGRO_COLOR(3alleg5​)​,​·​e.​g.​20 ALLEGRO_COLOR(3alleg5​)​,​·​e.​g.​
23 #00faff.​21 #00faff.​
744 B
./usr/share/man/man3/al_color_rgb_to_lab.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6121 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·504
450 B
al_color_rgb_to_lab.3alleg5
    
Offset 8, 16 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_lab(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_lab(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 void\·​al_color_rgb_to_lab(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
15 \·​\·​\·​float\·​*l,​\·​float\·​*a,​\·​float\·​*b)​ 
16 \·​\·​\·​float\·​*l,​\·​float\·​*a,​\·​float\·​*b)​14 \·​\·​\·​float\·​*l,​\·​float\·​*a,​\·​float\·​*b)​
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​RGB·​values·​to·​L*a*b*·​color·​space.​19 Convert·​RGB·​values·​to·​L*a*b*·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
736 B
./usr/share/man/man3/al_color_rgb_to_lch.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6131 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·505
442 B
al_color_rgb_to_lch.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_lch(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_lch(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​float\·​*l,​\·​float\·​*c,​\·​float\·​*h)​14 \·​\·​\·​float\·​*l,​\·​float\·​*c,​\·​float\·​*h)​
15 void\·​al_color_rgb_to_lch(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​float\·​*l,​\·​float\·​*c,​\·​float\·​*h)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​RGB·​values·​to·​CIE·​LCH·​color·​space.​19 Convert·​RGB·​values·​to·​CIE·​LCH·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
23 .​PP21 .​PP
729 B
./usr/share/man/man3/al_color_rgb_to_name.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5751 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​508
433 B
al_color_rgb_to_name.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 char\·​const\·​*al_color_rgb_to_name​(float\·​r,​\·​float\·​g,​\·​float\·​b)​13 char\·​const\·​*al_color_rgb_to_name​(float\·​r,​\·​float\·​g,​\·​float\·​b)​
14 char\·​const\·​*al_color_rgb_to_name​(float\·​r,​\·​float\·​g,​\·​float\·​b)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Given·​an·​RGB·​triplet·​with·​components·​in·​the·​range·​0.​.​1,​·​find·​a·​color18 Given·​an·​RGB·​triplet·​with·​components·​in·​the·​range·​0.​.​1,​·​find·​a·​color
20 name·​describing·​it·​approximately.​19 name·​describing·​it·​approximately.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
734 B
./usr/share/man/man3/al_color_rgb_to_xyy.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6111 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·502
440 B
al_color_rgb_to_xyy.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_xyy(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_xyy(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​float\·​*x,​\·​float\·​*y,​\·​float\·​*y2)​14 \·​\·​\·​float\·​*x,​\·​float\·​*y,​\·​float\·​*y2)​
15 void\·​al_color_rgb_to_xyy(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​float\·​*x,​\·​float\·​*y,​\·​float\·​*y2)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​RGB·​values·​to·​xyY·​color·​space.​19 Convert·​RGB·​values·​to·​xyY·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
23 .​PP21 .​PP
732 B
./usr/share/man/man3/al_color_rgb_to_xyz.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6091 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·501
438 B
al_color_rgb_to_xyz.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_xyz(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_xyz(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​float\·​*x,​\·​float\·​*y,​\·​float\·​*z)​14 \·​\·​\·​float\·​*x,​\·​float\·​*y,​\·​float\·​*z)​
15 void\·​al_color_rgb_to_xyz(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​float\·​*x,​\·​float\·​*y,​\·​float\·​*z)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​RGB·​values·​to·​XYZ·​color·​space.​19 Convert·​RGB·​values·​to·​XYZ·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
23 .​PP21 .​PP
735 B
./usr/share/man/man3/al_color_rgb_to_yuv.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5891 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·481
441 B
al_color_rgb_to_yuv.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_rgb_to_yuv(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​13 void\·​al_color_rgb_to_yuv(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​
14 \·​\·​\·​float\·​*y,​\·​float\·​*u,​\·​float\·​*v)​14 \·​\·​\·​float\·​*y,​\·​float\·​*u,​\·​float\·​*v)​
15 void\·​al_color_rgb_to_yuv(f​loat\·​red,​\·​float\·​green,​\·​float\·​blue,​ 
16 \·​\·​\·​float\·​*y,​\·​float\·​*u,​\·​float\·​*v)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​RGB·​values·​to·​YUV·​color·​space.​19 Convert·​RGB·​values·​to·​YUV·​color·​space.​
22 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
23 .​PP21 .​PP
701 B
./usr/share/man/man3/al_color_xyy.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7401 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·679
421 B
al_color_xyy.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_xyy(float\·​x,​\·​float\·​y,​\·​float\·​y2)​13 ALLEGRO_COLOR\·​al_color_xyy(float\·​x,​\·​float\·​y,​\·​float\·​y2)​
14 ALLEGRO_COLOR\·​al_color_xyy(float\·​x,​\·​float\·​y,​\·​float\·​y2)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​xyY·​values.​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​xyY·​values.​
20 The·​Y·​component·​in·​the·​xyY·​color·​space·​is·​the·​same·​as·​the·​Y·​in·​XYZ.​19 The·​Y·​component·​in·​the·​xyY·​color·​space·​is·​the·​same·​as·​the·​Y·​in·​XYZ.​
21 .​PP20 .​PP
744 B
./usr/share/man/man3/al_color_xyy_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·510
450 B
al_color_xyy_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_xyy_to_rgb(f​loat\·​x,​\·​float\·​y,​\·​float\·​y2,​13 void\·​al_color_xyy_to_rgb(f​loat\·​x,​\·​float\·​y,​\·​float\·​y2,​
14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_xyy_to_rgb(f​loat\·​x,​\·​float\·​y,​\·​float\·​y2,​ 
16 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​xyY·​color·​values·​to·​RGB·​color·​space.​19 Convert·​xyY·​color·​values·​to·​RGB·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
23 .​PP21 .​PP
704 B
./usr/share/man/man3/al_color_xyz.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​9891 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​929
424 B
al_color_xyz.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_xyz(float\·​x,​\·​float\·​y,​\·​float\·​z)​13 ALLEGRO_COLOR\·​al_color_xyz(float\·​x,​\·​float\·​y,​\·​float\·​z)​
14 ALLEGRO_COLOR\·​al_color_xyz(float\·​x,​\·​float\·​y,​\·​float\·​z)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​XYZ·​values.​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​XYZ·​values.​
20 The·​CIE·​1931·​XYZ·​color·​space·​consists·​of·​three·​components·​in·​the·​range19 The·​CIE·​1931·​XYZ·​color·​space·​consists·​of·​three·​components·​in·​the·​range
21 0.​.​1.​20 0.​.​1.​
742 B
./usr/share/man/man3/al_color_xyz_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6191 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·509
448 B
al_color_xyz_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_xyz_to_rgb(f​loat\·​x,​\·​float\·​y,​\·​float\·​z,​13 void\·​al_color_xyz_to_rgb(f​loat\·​x,​\·​float\·​y,​\·​float\·​z,​
14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_xyz_to_rgb(f​loat\·​x,​\·​float\·​y,​\·​float\·​z,​ 
16 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​XYZ·​color·​values·​to·​RGB·​color·​space.​19 Convert·​XYZ·​color·​values·​to·​RGB·​color·​space.​
22 .​SH·​SINCE20 .​SH·​SINCE
23 .​PP21 .​PP
644 B
./usr/share/man/man3/al_color_yuv.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·447
364 B
al_color_yuv.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 ALLEGRO_COLOR\·​al_color_yuv(float\·​y,​\·​float\·​u,​\·​float\·​v)​13 ALLEGRO_COLOR\·​al_color_yuv(float\·​y,​\·​float\·​u,​\·​float\·​v)​
14 ALLEGRO_COLOR\·​al_color_yuv(float\·​y,​\·​float\·​u,​\·​float\·​v)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​YUV·​values.​18 Return·​an·​ALLEGRO_COLOR(3alleg5​)​·​structure·​from·​YUV·​values.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
745 B
./usr/share/man/man3/al_color_yuv_to_rgb.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5991 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·489
451 B
al_color_yuv_to_rgb.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 void\·​al_color_yuv_to_rgb(f​loat\·​y,​\·​float\·​u,​\·​float\·​v,​13 void\·​al_color_yuv_to_rgb(f​loat\·​y,​\·​float\·​u,​\·​float\·​v,​
14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​14 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​
15 void\·​al_color_yuv_to_rgb(f​loat\·​y,​\·​float\·​u,​\·​float\·​v,​ 
16 \·​\·​\·​\·​float\·​*red,​\·​float\·​*green,​\·​float\·​*blue)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Convert·​YUV·​color·​values·​to·​RGB·​color·​space.​19 Convert·​YUV·​color·​values·​to·​RGB·​color·​space.​
22 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
23 .​PP21 .​PP
1.02 KB
./usr/share/man/man3/al_create_audio_recorder.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·21301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·1931
742 B
al_create_audio_recorder.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_RECORDE​R\·​*al_create_audio_reco​rder(size_t\·​fragment_count,​13 ALLEGRO_AUDIO_RECORDE​R\·​*al_create_audio_reco​rder(size_t\·​fragment_count,​
14 \·​\·​\·​unsigned\·​int\·​samples,​\·​unsigned\·​int\·​frequency,​14 \·​\·​\·​unsigned\·​int\·​samples,​\·​unsigned\·​int\·​frequency,​
15 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​15 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​
16 ALLEGRO_AUDIO_RECORDE​R\·​*al_create_audio_reco​rder(size_t\·​fragment_count,​ 
17 \·​\·​\·​unsigned\·​int\·​samples,​\·​unsigned\·​int\·​frequency,​ 
18 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Creates·​an·​audio·​recorder·​using·​the·​system's·​default·​recording·​device.​20 Creates·​an·​audio·​recorder·​using·​the·​system's·​default·​recording·​device.​
24 (So·​if·​the·​returned·​device·​does·​not·​work,​·​try·​updating·​the·​system's21 (So·​if·​the·​returned·​device·​does·​not·​work,​·​try·​updating·​the·​system's
25 default·​recording·​device.​)​22 default·​recording·​device.​)​
1020 B
./usr/share/man/man3/al_create_audio_stream.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​29851 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2790
720 B
al_create_audio_stream.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_STREAM\​·​*al_create_audio_stre​am(size_t\·​fragment_count,​13 ALLEGRO_AUDIO_STREAM\​·​*al_create_audio_stre​am(size_t\·​fragment_count,​
14 \·​\·​\·​unsigned\·​int\·​frag_samples,​\·​unsigned\·​int\·​freq,​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​14 \·​\·​\·​unsigned\·​int\·​frag_samples,​\·​unsigned\·​int\·​freq,​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​
15 \·​\·​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​15 \·​\·​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​
16 ALLEGRO_AUDIO_STREAM\​·​*al_create_audio_stre​am(size_t\·​fragment_count,​ 
17 \·​\·​\·​unsigned\·​int\·​frag_samples,​\·​unsigned\·​int\·​freq,​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​ 
18 \·​\·​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Creates·​an·​ALLEGRO_AUDIO_STREAM(​3alleg5)​.​20 Creates·​an·​ALLEGRO_AUDIO_STREAM(​3alleg5)​.​
24 The·​stream·​will·​be·​set·​to·​play·​by·​default.​21 The·​stream·​will·​be·​set·​to·​play·​by·​default.​
25 It·​will·​feed·​audio·​data·​from·​a·​buffer,​·​which·​is·​split·​into·​a·​number·​of22 It·​will·​feed·​audio·​data·​from·​a·​buffer,​·​which·​is·​split·​into·​a·​number·​of
714 B
./usr/share/man/man3/al_create_builtin_font.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​10761 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1032
412 B
al_create_builtin_font.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 ALLEGRO_FONT\·​*al_create_builtin_fo​nt(void)​13 ALLEGRO_FONT\·​*al_create_builtin_fo​nt(void)​
14 ALLEGRO_FONT\·​*al_create_builtin_fo​nt(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Creates·​a·​monochrome·​bitmap·​font·​(8x8·​pixels·​per·​character)​.​18 Creates·​a·​monochrome·​bitmap·​font·​(8x8·​pixels·​per·​character)​.​
20 .​PP19 .​PP
21 This·​font·​is·​primarily·​intended·​to·​be·​used·​for·​displaying·​information·​in20 This·​font·​is·​primarily·​intended·​to·​be·​used·​for·​displaying·​information·​in
850 B
./usr/share/man/man3/al_create_index_buffer.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​15881 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1457
548 B
al_create_index_buffer.3alleg5
    
Offset 8, 16 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 ALLEGRO_INDEX_BUFFER*​\·​al_create_index_buffe​r(int\·​index_size,​13 ALLEGRO_INDEX_BUFFER*​\·​al_create_index_buffe​r(int\·​index_size,​
14 ALLEGRO_INDEX_BUFFER*​\·​al_create_index_buffe​r(int\·​index_size,​ 
15 \·​\·​\·​\·​const\·​void*\·​initial_data,​\·​int\·​num_indices,​\·​int\·​flags)​ 
16 \·​\·​\·​\·​const\·​void*\·​initial_data,​\·​int\·​num_indices,​\·​int\·​flags)​14 \·​\·​\·​\·​const\·​void*\·​initial_data,​\·​int\·​num_indices,​\·​int\·​flags)​
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Creates·​a·​index·​buffer.​19 Creates·​a·​index·​buffer.​
22 Can·​return·​NULL·​if·​the·​buffer·​could·​not·​be·​created·​(e.​g.​\·​the·​system20 Can·​return·​NULL·​if·​the·​buffer·​could·​not·​be·​created·​(e.​g.​\·​the·​system
624 B
./usr/share/man/man3/al_create_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5151 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·479
340 B
al_create_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_create_menu(void)​13 ALLEGRO_MENU\·​*al_create_menu(void)​
14 ALLEGRO_MENU\·​*al_create_menu(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Creates·​a·​menu·​container·​that·​can·​hold·​menu·​items.​18 Creates·​a·​menu·​container·​that·​can·​hold·​menu·​items.​
20 .​PP19 .​PP
21 Returns·​\f[C]NULL\f[]·​on·​failure.​20 Returns·​\f[C]NULL\f[]·​on·​failure.​
842 B
./usr/share/man/man3/al_create_mixer.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10081 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·887
555 B
al_create_mixer.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_MIXER\·​*al_create_mixer(unsi​gned\·​int\·​freq,​13 ALLEGRO_MIXER\·​*al_create_mixer(unsi​gned\·​int\·​freq,​
14 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​14 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​
15 ALLEGRO_MIXER\·​*al_create_mixer(unsi​gned\·​int\·​freq,​ 
16 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Creates·​a·​mixer·​to·​attach·​sample·​instances,​·​audio·​streams,​·​or·​other19 Creates·​a·​mixer·​to·​attach·​sample·​instances,​·​audio·​streams,​·​or·​other
22 mixers·​to.​20 mixers·​to.​
23 It·​will·​mix·​into·​a·​buffer·​at·​the·​requested·​frequency·​(in·​Hz)​·​and·​channel21 It·​will·​mix·​into·​a·​buffer·​at·​the·​requested·​frequency·​(in·​Hz)​·​and·​channel
913 B
./usr/share/man/man3/al_create_native_file_dialog.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​26321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2472
599 B
al_create_native_file_dialog.3alleg5
    
Offset 12, 19 lines modifiedOffset 12, 14 lines modified
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_FILECHOOSER\·​*al_create_native_fil​e_dialog(13 ALLEGRO_FILECHOOSER\·​*al_create_native_fil​e_dialog(
14 \·​\·​\·​char\·​const\·​*initial_path,​14 \·​\·​\·​char\·​const\·​*initial_path,​
15 \·​\·​\·​char\·​const\·​*title,​15 \·​\·​\·​char\·​const\·​*title,​
16 \·​\·​\·​char\·​const\·​*patterns,​16 \·​\·​\·​char\·​const\·​*patterns,​
17 \·​\·​\·​int\·​mode)​17 \·​\·​\·​int\·​mode)​
18 ALLEGRO_FILECHOOSER\·​*al_create_native_fil​e_dialog( 
19 \·​\·​\·​char\·​const\·​*initial_path,​ 
20 \·​\·​\·​char\·​const\·​*title,​ 
21 \·​\·​\·​char\·​const\·​*patterns,​ 
22 \·​\·​\·​int\·​mode)​ 
23 \f[]18 \f[]
24 .​fi19 .​fi
25 .​SH·​DESCRIPTION20 .​SH·​DESCRIPTION
26 .​PP21 .​PP
27 Creates·​a·​new·​native·​file·​dialog.​22 Creates·​a·​new·​native·​file·​dialog.​
28 You·​should·​only·​have·​one·​such·​dialog·​opened·​at·​a·​time.​23 You·​should·​only·​have·​one·​such·​dialog·​opened·​at·​a·​time.​
29 .​PP24 .​PP
750 B
./usr/share/man/man3/al_create_popup_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6611 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​619
454 B
al_create_popup_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_create_popup_menu​(void)​13 ALLEGRO_MENU\·​*al_create_popup_menu​(void)​
14 ALLEGRO_MENU\·​*al_create_popup_menu​(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Creates·​a·​menu·​container·​for·​popup·​menus.​18 Creates·​a·​menu·​container·​for·​popup·​menus.​
20 Only·​the·​root·​(outermost)​·​menu·​should·​be·​created·​with·​this·​function.​19 Only·​the·​root·​(outermost)​·​menu·​should·​be·​created·​with·​this·​function.​
21 Sub·​menus·​of·​popups·​should·​be·​created·​with·​al_create_menu(3alleg​5)​.​20 Sub·​menus·​of·​popups·​should·​be·​created·​with·​al_create_menu(3alleg​5)​.​
1000 B
./usr/share/man/man3/al_create_sample.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​17821 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1599
711 B
al_create_sample.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_SAMPLE\·​*al_create_sample(voi​d\·​*buf,​\·​unsigned\·​int\·​samples,​13 ALLEGRO_SAMPLE\·​*al_create_sample(voi​d\·​*buf,​\·​unsigned\·​int\·​samples,​
14 \·​\·​\·​unsigned\·​int\·​freq,​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​14 \·​\·​\·​unsigned\·​int\·​freq,​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​
15 \·​\·​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf,​\·​bool\·​free_buf)​15 \·​\·​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf,​\·​bool\·​free_buf)​
16 ALLEGRO_SAMPLE\·​*al_create_sample(voi​d\·​*buf,​\·​unsigned\·​int\·​samples,​ 
17 \·​\·​\·​unsigned\·​int\·​freq,​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​ 
18 \·​\·​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf,​\·​bool\·​free_buf)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Create·​a·​sample·​data·​structure·​from·​the·​supplied·​buffer.​20 Create·​a·​sample·​data·​structure·​from·​the·​supplied·​buffer.​
24 If·​\f[C]free_buf\f[]·​is·​true·​then·​the·​buffer·​will·​be·​freed·​with21 If·​\f[C]free_buf\f[]·​is·​true·​then·​the·​buffer·​will·​be·​freed·​with
25 al_free(3alleg5)​·​when·​the·​sample·​data·​structure·​is·​destroyed.​22 al_free(3alleg5)​·​when·​the·​sample·​data·​structure·​is·​destroyed.​
811 B
./usr/share/man/man3/al_create_sample_instance.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7401 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·658
505 B
al_create_sample_instance.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_SAMPLE_INSTAN​CE\·​*al_create_sample_ins​tance(ALLEGRO_SAMPLE\​·​*sample_data)​13 ALLEGRO_SAMPLE_INSTAN​CE\·​*al_create_sample_ins​tance(ALLEGRO_SAMPLE\​·​*sample_data)​
14 ALLEGRO_SAMPLE_INSTAN​CE\·​*al_create_sample_ins​tance(ALLEGRO_SAMPLE\​·​*sample_data)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Creates·​a·​sample·​instance,​·​using·​the·​supplied·​sample·​data.​18 Creates·​a·​sample·​instance,​·​using·​the·​supplied·​sample·​data.​
20 The·​instance·​must·​be·​attached·​to·​a·​mixer·​(or·​voice)​·​in·​order·​to·​actually19 The·​instance·​must·​be·​attached·​to·​a·​mixer·​(or·​voice)​·​in·​order·​to·​actually
21 produce·​output.​20 produce·​output.​
902 B
./usr/share/man/man3/al_create_vertex_buffer.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​16391 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1496
598 B
al_create_vertex_buffer.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 ALLEGRO_VERTEX_BUFFER​*\·​al_create_vertex_buff​er(ALLEGRO_VERTEX_DEC​L*\·​decl,​13 ALLEGRO_VERTEX_BUFFER​*\·​al_create_vertex_buff​er(ALLEGRO_VERTEX_DEC​L*\·​decl,​
14 \·​\·​\·​const\·​void*\·​initial_data,​\·​int\·​num_vertices,​\·​int\·​flags)​14 \·​\·​\·​const\·​void*\·​initial_data,​\·​int\·​num_vertices,​\·​int\·​flags)​
15 ALLEGRO_VERTEX_BUFFER​*\·​al_create_vertex_buff​er(ALLEGRO_VERTEX_DEC​L*\·​decl,​ 
16 \·​\·​\·​const\·​void*\·​initial_data,​\·​int\·​num_vertices,​\·​int\·​flags)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Creates·​a·​vertex·​buffer.​19 Creates·​a·​vertex·​buffer.​
22 Can·​return·​NULL·​if·​the·​buffer·​could·​not·​be·​created·​(e.​g.​\·​the·​system20 Can·​return·​NULL·​if·​the·​buffer·​could·​not·​be·​created·​(e.​g.​\·​the·​system
23 only·​supports·​write\-​only·​buffers)​.​21 only·​supports·​write\-​only·​buffers)​.​
783 B
./usr/share/man/man3/al_create_vertex_decl.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8751 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·775
485 B
al_create_vertex_decl.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 ALLEGRO_VERTEX_DECL*\​·​al_create_vertex_decl​(const\·​ALLEGRO_VERTEX_ELEMEN​T*\·​elements,​\·​int\·​stride)​13 ALLEGRO_VERTEX_DECL*\​·​al_create_vertex_decl​(const\·​ALLEGRO_VERTEX_ELEMEN​T*\·​elements,​\·​int\·​stride)​
14 ALLEGRO_VERTEX_DECL*\​·​al_create_vertex_decl​(const\·​ALLEGRO_VERTEX_ELEMEN​T*\·​elements,​\·​int\·​stride)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Creates·​a·​vertex·​declaration,​·​which·​describes·​a·​custom·​vertex·​format.​18 Creates·​a·​vertex·​declaration,​·​which·​describes·​a·​custom·​vertex·​format.​
20 .​PP19 .​PP
21 \f[I]Parameters:​\f[]20 \f[I]Parameters:​\f[]
840 B
./usr/share/man/man3/al_create_voice.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12331 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1112
552 B
al_create_voice.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_VOICE\·​*al_create_voice(unsi​gned\·​int\·​freq,​13 ALLEGRO_VOICE\·​*al_create_voice(unsi​gned\·​int\·​freq,​
14 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​14 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​
15 ALLEGRO_VOICE\·​*al_create_voice(unsi​gned\·​int\·​freq,​ 
16 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Creates·​a·​voice·​structure·​and·​allocates·​a·​voice·​from·​the·​digital·​sound19 Creates·​a·​voice·​structure·​and·​allocates·​a·​voice·​from·​the·​digital·​sound
22 driver.​20 driver.​
23 The·​passed·​frequency·​(in·​Hz)​,​·​sample·​format·​and·​channel·​configuration21 The·​passed·​frequency·​(in·​Hz)​,​·​sample·​format·​and·​channel·​configuration
747 B
./usr/share/man/man3/al_destroy_audio_recorder.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7501 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·690
441 B
al_destroy_audio_recorder.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_destroy_audio_reco​rder(ALLEGRO_AUDIO_RE​CORDER\·​*r)​13 void\·​al_destroy_audio_reco​rder(ALLEGRO_AUDIO_RE​CORDER\·​*r)​
14 void\·​al_destroy_audio_reco​rder(ALLEGRO_AUDIO_RE​CORDER\·​*r)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroys·​the·​audio·​recorder·​and·​frees·​all·​resources·​associated·​with·​it.​18 Destroys·​the·​audio·​recorder·​and·​frees·​all·​resources·​associated·​with·​it.​
20 It·​is·​safe·​to·​destroy·​a·​recorder·​that·​is·​recording.​19 It·​is·​safe·​to·​destroy·​a·​recorder·​that·​is·​recording.​
21 .​PP20 .​PP
730 B
./usr/share/man/man3/al_destroy_audio_stream.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7061 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·645
428 B
al_destroy_audio_stream.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_destroy_audio_stre​am(ALLEGRO_AUDIO_STRE​AM\·​*stream)​13 void\·​al_destroy_audio_stre​am(ALLEGRO_AUDIO_STRE​AM\·​*stream)​
14 void\·​al_destroy_audio_stre​am(ALLEGRO_AUDIO_STRE​AM\·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroy·​an·​audio·​stream·​which·​was·​created·​with18 Destroy·​an·​audio·​stream·​which·​was·​created·​with
20 al_create_audio_strea​m(3alleg5)​·​or·​al_load_audio_stream(​3alleg5)​.​19 al_create_audio_strea​m(3alleg5)​·​or·​al_load_audio_stream(​3alleg5)​.​
21 .​RS20 .​RS
629 B
./usr/share/man/man3/al_destroy_font.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4531 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​413
343 B
al_destroy_font.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_destroy_font(ALLEG​RO_FONT\·​*f)​13 void\·​al_destroy_font(ALLEG​RO_FONT\·​*f)​
14 void\·​al_destroy_font(ALLEG​RO_FONT\·​*f)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Frees·​the·​memory·​being·​used·​by·​a·​font·​structure.​18 Frees·​the·​memory·​being·​used·​by·​a·​font·​structure.​
20 Does·​nothing·​if·​passed·​NULL.​19 Does·​nothing·​if·​passed·​NULL.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
682 B
./usr/share/man/man3/al_destroy_index_buffer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5541 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·493
380 B
al_destroy_index_buffer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_destroy_index_buff​er(ALLEGRO_INDEX_BUFF​ER*\·​buffer)​13 void\·​al_destroy_index_buff​er(ALLEGRO_INDEX_BUFF​ER*\·​buffer)​
14 void\·​al_destroy_index_buff​er(ALLEGRO_INDEX_BUFF​ER*\·​buffer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroys·​a·​index·​buffer.​18 Destroys·​a·​index·​buffer.​
20 Does·​nothing·​if·​passed·​NULL.​19 Does·​nothing·​if·​passed·​NULL.​
21 .​SH·​SINCE20 .​SH·​SINCE
730 B
./usr/share/man/man3/al_destroy_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5941 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​551
444 B
al_destroy_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_destroy_menu(ALLEG​RO_MENU\·​*menu)​13 void\·​al_destroy_menu(ALLEG​RO_MENU\·​*menu)​
14 void\·​al_destroy_menu(ALLEG​RO_MENU\·​*menu)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroys·​an·​entire·​menu,​·​including·​its·​sub\-​menus.​18 Destroys·​an·​entire·​menu,​·​including·​its·​sub\-​menus.​
20 Any·​references·​to·​it·​or·​a·​sub\-​menu·​are·​no·​longer·​valid.​19 Any·​references·​to·​it·​or·​a·​sub\-​menu·​are·​no·​longer·​valid.​
21 It·​is·​safe·​to·​call·​this·​on·​a·​menu·​that·​is·​currently·​being·​displayed.​20 It·​is·​safe·​to·​call·​this·​on·​a·​menu·​that·​is·​currently·​being·​displayed.​
592 B
./usr/share/man/man3/al_destroy_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4131 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·367
304 B
al_destroy_mixer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_destroy_mixer(ALLE​GRO_MIXER\·​*mixer)​13 void\·​al_destroy_mixer(ALLE​GRO_MIXER\·​*mixer)​
14 void\·​al_destroy_mixer(ALLE​GRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroys·​the·​mixer.​18 Destroys·​the·​mixer.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
701 B
./usr/share/man/man3/al_destroy_native_file_dialog.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4731 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​407
387 B
al_destroy_native_file_dialog.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_destroy_native_fil​e_dialog(ALLEGRO_FILE​CHOOSER\·​*dialog)​13 void\·​al_destroy_native_fil​e_dialog(ALLEGRO_FILE​CHOOSER\·​*dialog)​
14 void\·​al_destroy_native_fil​e_dialog(ALLEGRO_FILE​CHOOSER\·​*dialog)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Frees·​up·​all·​resources·​used·​by·​the·​file·​dialog.​18 Frees·​up·​all·​resources·​used·​by·​the·​file·​dialog.​
712 B
./usr/share/man/man3/al_destroy_sample.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7341 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·688
422 B
al_destroy_sample.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_destroy_sample(ALL​EGRO_SAMPLE\·​*spl)​13 void\·​al_destroy_sample(ALL​EGRO_SAMPLE\·​*spl)​
14 void\·​al_destroy_sample(ALL​EGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Free·​the·​sample·​data·​structure.​18 Free·​the·​sample·​data·​structure.​
20 If·​it·​was·​created·​with·​the·​\f[C]free_buf\f[]·​parameter·​set·​to·​true,​·​then19 If·​it·​was·​created·​with·​the·​\f[C]free_buf\f[]·​parameter·​set·​to·​true,​·​then
21 the·​buffer·​will·​be·​freed·​with·​al_free(3alleg5)​.​20 the·​buffer·​will·​be·​freed·​with·​al_free(3alleg5)​.​
778 B
./usr/share/man/man3/al_destroy_sample_instance.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6061 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·542
470 B
al_destroy_sample_instance.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_destroy_sample_ins​tance(ALLEGRO_SAMPLE_​INSTANCE\·​*spl)​13 void\·​al_destroy_sample_ins​tance(ALLEGRO_SAMPLE_​INSTANCE\·​*spl)​
14 void\·​al_destroy_sample_ins​tance(ALLEGRO_SAMPLE_​INSTANCE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Detaches·​the·​sample·​instance·​from·​anything·​it·​may·​be·​attached·​to·​and18 Detaches·​the·​sample·​instance·​from·​anything·​it·​may·​be·​attached·​to·​and
20 frees·​it·​(the·​sample·​data,​·​i.​e.​\·​its·​ALLEGRO_SAMPLE,​·​is·​\f[I]not\f[]19 frees·​it·​(the·​sample·​data,​·​i.​e.​\·​its·​ALLEGRO_SAMPLE,​·​is·​\f[I]not\f[]
21 freed!)​.​20 freed!)​.​
691 B
./usr/share/man/man3/al_destroy_vertex_buffer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​500
387 B
al_destroy_vertex_buffer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_destroy_vertex_buf​fer(ALLEGRO_VERTEX_BU​FFER*\·​buffer)​13 void\·​al_destroy_vertex_buf​fer(ALLEGRO_VERTEX_BU​FFER*\·​buffer)​
14 void\·​al_destroy_vertex_buf​fer(ALLEGRO_VERTEX_BU​FFER*\·​buffer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroys·​a·​vertex·​buffer.​18 Destroys·​a·​vertex·​buffer.​
20 Does·​nothing·​if·​passed·​NULL.​19 Does·​nothing·​if·​passed·​NULL.​
21 .​SH·​SINCE20 .​SH·​SINCE
662 B
./usr/share/man/man3/al_destroy_vertex_decl.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·550
362 B
al_destroy_vertex_decl.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_destroy_vertex_dec​l(ALLEGRO_VERTEX_DECL​*\·​decl)​13 void\·​al_destroy_vertex_dec​l(ALLEGRO_VERTEX_DECL​*\·​decl)​
14 void\·​al_destroy_vertex_dec​l(ALLEGRO_VERTEX_DECL​*\·​decl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroys·​a·​vertex·​declaration.​18 Destroys·​a·​vertex·​declaration.​
20 .​PP19 .​PP
21 \f[I]Parameters:​\f[]20 \f[I]Parameters:​\f[]
666 B
./usr/share/man/man3/al_destroy_voice.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4911 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​445
378 B
al_destroy_voice.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_destroy_voice(ALLE​GRO_VOICE\·​*voice)​13 void\·​al_destroy_voice(ALLE​GRO_VOICE\·​*voice)​
14 void\·​al_destroy_voice(ALLE​GRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Destroys·​the·​voice·​and·​deallocates·​it·​from·​the·​digital·​driver.​18 Destroys·​the·​voice·​and·​deallocates·​it·​from·​the·​digital·​driver.​
20 Does·​nothing·​if·​the·​voice·​is·​NULL.​19 Does·​nothing·​if·​the·​voice·​is·​NULL.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
687 B
./usr/share/man/man3/al_detach_audio_stream.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5941 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​534
387 B
al_detach_audio_stream.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_detach_audio_strea​m(ALLEGRO_AUDIO_STREA​M\·​*stream)​13 bool\·​al_detach_audio_strea​m(ALLEGRO_AUDIO_STREA​M\·​*stream)​
14 bool\·​al_detach_audio_strea​m(ALLEGRO_AUDIO_STREA​M\·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Detach·​the·​stream·​from·​whatever·​it's·​attached·​to,​·​if·​anything.​18 Detach·​the·​stream·​from·​whatever·​it's·​attached·​to,​·​if·​anything.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
629 B
./usr/share/man/man3/al_detach_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4621 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​417
343 B
al_detach_mixer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_detach_mixer(ALLEG​RO_MIXER\·​*mixer)​13 bool\·​al_detach_mixer(ALLEG​RO_MIXER\·​*mixer)​
14 bool\·​al_detach_mixer(ALLEG​RO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Detach·​the·​mixer·​from·​whatever·​it·​is·​attached·​to,​·​if·​anything.​18 Detach·​the·​mixer·​from·​whatever·​it·​is·​attached·​to,​·​if·​anything.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
726 B
./usr/share/man/man3/al_detach_sample_instance.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6521 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·589
420 B
al_detach_sample_instance.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_detach_sample_inst​ance(ALLEGRO_SAMPLE_I​NSTANCE\·​*spl)​13 bool\·​al_detach_sample_inst​ance(ALLEGRO_SAMPLE_I​NSTANCE\·​*spl)​
14 bool\·​al_detach_sample_inst​ance(ALLEGRO_SAMPLE_I​NSTANCE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Detach·​the·​sample·​instance·​from·​whatever·​it's·​attached·​to,​·​if·​anything.​18 Detach·​the·​sample·​instance·​from·​whatever·​it's·​attached·​to,​·​if·​anything.​
20 .​PP19 .​PP
21 Returns·​true·​on·​success.​20 Returns·​true·​on·​success.​
634 B
./usr/share/man/man3/al_detach_voice.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5531 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​508
348 B
al_detach_voice.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_detach_voice(ALLEG​RO_VOICE\·​*voice)​13 void\·​al_detach_voice(ALLEG​RO_VOICE\·​*voice)​
14 void\·​al_detach_voice(ALLEG​RO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Detaches·​the·​mixer,​·​sample·​instance·​or·​audio·​stream·​from·​the·​voice.​18 Detaches·​the·​mixer,​·​sample·​instance·​or·​audio·​stream·​from·​the·​voice.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
730 B
./usr/share/man/man3/al_disable_menu_event_source.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6091 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·553
418 B
al_disable_menu_event_source.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_disable_menu_event​_source(ALLEGRO_MENU\​·​*menu)​13 void\·​al_disable_menu_event​_source(ALLEGRO_MENU\​·​*menu)​
14 void\·​al_disable_menu_event​_source(ALLEGRO_MENU\​·​*menu)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Disables·​a·​unique·​event·​source·​for·​the·​menu,​·​causing·​it·​to·​use·​the18 Disables·​a·​unique·​event·​source·​for·​the·​menu,​·​causing·​it·​to·​use·​the
20 default·​event·​source.​19 default·​event·​source.​
21 .​SH·​SINCE20 .​SH·​SINCE
1.01 KB
./usr/share/man/man3/al_do_multiline_text.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​22381 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2036
740 B
al_do_multiline_text.3alleg5
    
Offset 11, 18 lines modifiedOffset 11, 14 lines modified
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_do_multiline_text(​const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_do_multiline_text(​const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​float\·​max_width,​\·​const\·​char\·​*text,​14 \·​\·​\·​float\·​max_width,​\·​const\·​char\·​*text,​
15 \·​\·​\·​bool\·​(*cb)​(int\·​line_num,​\·​const\·​char\·​*line,​\·​int\·​size,​\·​void\·​*extra)​,​15 \·​\·​\·​bool\·​(*cb)​(int\·​line_num,​\·​const\·​char\·​*line,​\·​int\·​size,​\·​void\·​*extra)​,​
16 \·​\·​\·​void\·​*extra)​16 \·​\·​\·​void\·​*extra)​
17 void\·​al_do_multiline_text(​const\·​ALLEGRO_FONT\·​*font,​ 
18 \·​\·​\·​float\·​max_width,​\·​const\·​char\·​*text,​ 
19 \·​\·​\·​bool\·​(*cb)​(int\·​line_num,​\·​const\·​char\·​*line,​\·​int\·​size,​\·​void\·​*extra)​,​ 
20 \·​\·​\·​void\·​*extra)​ 
21 \f[]17 \f[]
22 .​fi18 .​fi
23 .​SH·​DESCRIPTION19 .​SH·​DESCRIPTION
24 .​PP20 .​PP
25 This·​function·​processes·​the·​\f[C]text\f[]·​and·​splits·​it·​into·​lines·​as21 This·​function·​processes·​the·​\f[C]text\f[]·​and·​splits·​it·​into·​lines·​as
26 al_draw_multiline_tex​t(3alleg5)​·​would,​·​and·​then·​calls·​the·​callback22 al_draw_multiline_tex​t(3alleg5)​·​would,​·​and·​then·​calls·​the·​callback
27 \f[C]cb\f[]·​once·​for·​every·​line.​23 \f[C]cb\f[]·​once·​for·​every·​line.​
997 B
./usr/share/man/man3/al_do_multiline_ustr.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8601 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·652
701 B
al_do_multiline_ustr.3alleg5
    
Offset 11, 18 lines modifiedOffset 11, 14 lines modified
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_do_multiline_ustr(​const\·​ALLEGRO_FONT\·​*font,​\·​float\·​max_width,​13 void\·​al_do_multiline_ustr(​const\·​ALLEGRO_FONT\·​*font,​\·​float\·​max_width,​
14 \·​\·​\·​const\·​ALLEGRO_USTR\·​*ustr,​14 \·​\·​\·​const\·​ALLEGRO_USTR\·​*ustr,​
15 \·​\·​\·​bool\·​(*cb)​(int\·​line_num,​\·​const\·​ALLEGRO_USTR\·​*\·​line,​\·​void\·​*extra)​,​15 \·​\·​\·​bool\·​(*cb)​(int\·​line_num,​\·​const\·​ALLEGRO_USTR\·​*\·​line,​\·​void\·​*extra)​,​
16 \·​\·​\·​void\·​*extra)​16 \·​\·​\·​void\·​*extra)​
17 void\·​al_do_multiline_ustr(​const\·​ALLEGRO_FONT\·​*font,​\·​float\·​max_width,​ 
18 \·​\·​\·​const\·​ALLEGRO_USTR\·​*ustr,​ 
19 \·​\·​\·​bool\·​(*cb)​(int\·​line_num,​\·​const\·​ALLEGRO_USTR\·​*\·​line,​\·​void\·​*extra)​,​ 
20 \·​\·​\·​void\·​*extra)​ 
21 \f[]17 \f[]
22 .​fi18 .​fi
23 .​SH·​DESCRIPTION19 .​SH·​DESCRIPTION
24 .​PP20 .​PP
25 Like·​al_do_multiline_text(​3alleg5)​,​·​but·​using·​ALLEGRO_USTR·​instead·​of·​a21 Like·​al_do_multiline_text(​3alleg5)​,​·​but·​using·​ALLEGRO_USTR·​instead·​of·​a
26 NUL\-​terminated·​char·​array·​for·​text.​22 NUL\-​terminated·​char·​array·​for·​text.​
27 .​SH·​SINCE23 .​SH·​SINCE
786 B
./usr/share/man/man3/al_drain_audio_stream.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6221 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·563
488 B
al_drain_audio_stream.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_drain_audio_stream​(ALLEGRO_AUDIO_STREAM​\·​*stream)​13 void\·​al_drain_audio_stream​(ALLEGRO_AUDIO_STREAM​\·​*stream)​
14 void\·​al_drain_audio_stream​(ALLEGRO_AUDIO_STREAM​\·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 You·​should·​call·​this·​to·​finalise·​an·​audio·​stream·​that·​you·​will·​no·​longer18 You·​should·​call·​this·​to·​finalise·​an·​audio·​stream·​that·​you·​will·​no·​longer
20 be·​feeding,​·​to·​wait·​for·​all·​pending·​buffers·​to·​finish·​playing.​19 be·​feeding,​·​to·​wait·​for·​all·​pending·​buffers·​to·​finish·​playing.​
21 The·​stream's·​playing·​state·​will·​change·​to·​false.​20 The·​stream's·​playing·​state·​will·​change·​to·​false.​
758 B
./usr/share/man/man3/al_draw_arc.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10481 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·907
479 B
al_draw_arc.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_arc(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​13 void\·​al_draw_arc(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​
14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_arc(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​ 
16 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​arc.​19 Draws·​an·​arc.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
703 B
./usr/share/man/man3/al_draw_circle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·705
419 B
al_draw_circle.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_circle(float\​·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​ALLEGRO_COLOR\·​color,​13 void\·​al_draw_circle(float\​·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​ALLEGRO_COLOR\·​color,​
14 \·​\·​\·​float\·​thickness)​14 \·​\·​\·​float\·​thickness)​
15 void\·​al_draw_circle(float\​·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​ALLEGRO_COLOR\·​color,​ 
16 \·​\·​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​outlined·​circle.​19 Draws·​an·​outlined·​circle.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
736 B
./usr/share/man/man3/al_draw_ellipse.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·731
450 B
al_draw_ellipse.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_ellipse(float​\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​13 void\·​al_draw_ellipse(float​\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_ellipse(float​\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​ 
16 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​outlined·​ellipse.​19 Draws·​an·​outlined·​ellipse.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
861 B
./usr/share/man/man3/al_draw_elliptical_arc.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·11491 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·984
560 B
al_draw_elliptical_arc.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_elliptical_ar​c(float\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​\·​float\·​start_theta,​13 void\·​al_draw_elliptical_ar​c(float\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​\·​float\·​start_theta,​
14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_elliptical_ar​c(float\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​\·​float\·​start_theta,​ 
16 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​elliptical·​arc.​19 Draws·​an·​elliptical·​arc.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
706 B
./usr/share/man/man3/al_draw_filled_circle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6881 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​603
408 B
al_draw_filled_circle.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_circle​(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​ALLEGRO_COLOR\·​color)​13 void\·​al_draw_filled_circle​(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​ALLEGRO_COLOR\·​color)​
14 void\·​al_draw_filled_circle​(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​ALLEGRO_COLOR\·​color)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Draws·​a·​filled·​circle.​18 Draws·​a·​filled·​circle.​
20 .​PP19 .​PP
21 \f[I]Parameters:​\f[]20 \f[I]Parameters:​\f[]
737 B
./usr/share/man/man3/al_draw_filled_ellipse.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7361 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·632
437 B
al_draw_filled_ellipse.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_ellips​e(float\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​13 void\·​al_draw_filled_ellips​e(float\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color)​14 \·​\·​\·​ALLEGRO_COLOR\·​color)​
15 void\·​al_draw_filled_ellips​e(float\·​cx,​\·​float\·​cy,​\·​float\·​rx,​\·​float\·​ry,​ 
16 \·​\·​\·​ALLEGRO_COLOR\·​color)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​filled·​ellipse.​19 Draws·​a·​filled·​ellipse.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
828 B
./usr/share/man/man3/al_draw_filled_pieslice.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10201 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·886
525 B
al_draw_filled_pieslice.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_piesli​ce(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​13 void\·​al_draw_filled_piesli​ce(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​
14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color)​14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color)​
15 void\·​al_draw_filled_piesli​ce(float\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​ 
16 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​filled·​pieslice·​(filled·​circular·​sector)​.​19 Draws·​a·​filled·​pieslice·​(filled·​circular·​sector)​.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
793 B
./usr/share/man/man3/al_draw_filled_polygon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9781 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·876
493 B
al_draw_filled_polygon.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_polygo​n(const\·​float\·​*vertices,​\·​int\·​vertex_count,​13 void\·​al_draw_filled_polygo​n(const\·​float\·​*vertices,​\·​int\·​vertex_count,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color)​14 \·​\·​\·​ALLEGRO_COLOR\·​color)​
15 void\·​al_draw_filled_polygo​n(const\·​float\·​*vertices,​\·​int\·​vertex_count,​ 
16 \·​\·​\·​ALLEGRO_COLOR\·​color)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draw·​a·​filled,​·​simple·​polygon.​19 Draw·​a·​filled,​·​simple·​polygon.​
22 Simple·​means·​it·​does·​not·​have·​to·​be·​convex·​but·​must·​not·​be20 Simple·​means·​it·​does·​not·​have·​to·​be·​convex·​but·​must·​not·​be
23 self\-​overlapping.​21 self\-​overlapping.​
940 B
./usr/share/man/man3/al_draw_filled_polygon_with_holes.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​24021 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2280
616 B
al_draw_filled_polygon_with_holes.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_polygo​n_with_holes(const\·​float\·​*vertices,​13 void\·​al_draw_filled_polygo​n_with_holes(const\·​float\·​*vertices,​
14 \·​\·​\·​const\·​int\·​*vertex_counts,​\·​ALLEGRO_COLOR\·​color)​14 \·​\·​\·​const\·​int\·​*vertex_counts,​\·​ALLEGRO_COLOR\·​color)​
15 void\·​al_draw_filled_polygo​n_with_holes(const\·​float\·​*vertices,​ 
16 \·​\·​\·​const\·​int\·​*vertex_counts,​\·​ALLEGRO_COLOR\·​color)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​filled·​simple·​polygon·​with·​zero·​or·​more·​other·​simple·​polygons19 Draws·​a·​filled·​simple·​polygon·​with·​zero·​or·​more·​other·​simple·​polygons
22 subtracted·​from·​it·​\-​·​the·​holes.​20 subtracted·​from·​it·​\-​·​the·​holes.​
23 The·​holes·​cannot·​touch·​or·​intersect·​with·​the·​outline·​of·​the·​filled21 The·​holes·​cannot·​touch·​or·​intersect·​with·​the·​outline·​of·​the·​filled
751 B
./usr/share/man/man3/al_draw_filled_rectangle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7551 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·649
447 B
al_draw_filled_rectangle.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_rectan​gle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​13 void\·​al_draw_filled_rectan​gle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color)​14 \·​\·​\·​ALLEGRO_COLOR\·​color)​
15 void\·​al_draw_filled_rectan​gle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​ 
16 \·​\·​\·​ALLEGRO_COLOR\·​color)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​filled·​rectangle.​19 Draws·​a·​filled·​rectangle.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
856 B
./usr/share/man/man3/al_draw_filled_rounded_rectangle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8891 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·751
536 B
al_draw_filled_rounded_rectangle.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_rounde​d_rectangle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​13 void\·​al_draw_filled_rounde​d_rectangle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​
14 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​ALLEGRO_COLOR\·​color)​14 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​ALLEGRO_COLOR\·​color)​
15 void\·​al_draw_filled_rounde​d_rectangle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​ 
16 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​ALLEGRO_COLOR\·​color)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​filled·​rounded·​rectangle.​19 Draws·​an·​filled·​rounded·​rectangle.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
792 B
./usr/share/man/man3/al_draw_filled_triangle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7391 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·610
490 B
al_draw_filled_triangle.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_filled_triang​le(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​13 void\·​al_draw_filled_triang​le(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​
14 \·​\·​\·​float\·​x3,​\·​float\·​y3,​\·​ALLEGRO_COLOR\·​color)​14 \·​\·​\·​float\·​x3,​\·​float\·​y3,​\·​ALLEGRO_COLOR\·​color)​
15 void\·​al_draw_filled_triang​le(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​ 
16 \·​\·​\·​float\·​x3,​\·​float\·​y3,​\·​ALLEGRO_COLOR\·​color)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​filled·​triangle.​19 Draws·​a·​filled·​triangle.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
848 B
./usr/share/man/man3/al_draw_glyph.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​13711 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1259
564 B
al_draw_glyph.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_glyph(const\·​ALLEGRO_FONT\·​*f,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​13 void\·​al_draw_glyph(const\·​ALLEGRO_FONT\·​*f,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​
14 \·​\·​\·​int\·​codepoint)​14 \·​\·​\·​int\·​codepoint)​
15 void\·​al_draw_glyph(const\·​ALLEGRO_FONT\·​*f,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​ 
16 \·​\·​\·​int\·​codepoint)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​the·​glyph·​that·​corresponds·​with·​\f[C]codepoint\f[]·​in·​the·​given19 Draws·​the·​glyph·​that·​corresponds·​with·​\f[C]codepoint\f[]·​in·​the·​given
22 \f[C]color\f[]·​using·​the·​given·​\f[C]font\f[].​20 \f[C]color\f[]·​using·​the·​given·​\f[C]font\f[].​
23 If·​\f[C]font\f[]·​does·​not·​have·​such·​a·​glyph,​·​nothing·​will·​be·​drawn.​21 If·​\f[C]font\f[]·​does·​not·​have·​such·​a·​glyph,​·​nothing·​will·​be·​drawn.​
983 B
./usr/share/man/man3/al_draw_indexed_buffer.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​17081 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1530
681 B
al_draw_indexed_buffer.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 int\·​al_draw_indexed_buffe​r(ALLEGRO_VERTEX_BUFF​ER*\·​vertex_buffer,​13 int\·​al_draw_indexed_buffe​r(ALLEGRO_VERTEX_BUFF​ER*\·​vertex_buffer,​
14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​ALLEGRO_INDEX_BUFFER*​\·​index_buffer,​14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​ALLEGRO_INDEX_BUFFER*​\·​index_buffer,​
15 \·​\·​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​15 \·​\·​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​
16 int\·​al_draw_indexed_buffe​r(ALLEGRO_VERTEX_BUFF​ER*\·​vertex_buffer,​ 
17 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​ALLEGRO_INDEX_BUFFER*​\·​index_buffer,​ 
18 \·​\·​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Draws·​a·​subset·​of·​the·​passed·​vertex·​buffer.​20 Draws·​a·​subset·​of·​the·​passed·​vertex·​buffer.​
24 This·​function·​uses·​an·​index·​buffer·​to·​specify·​which·​vertices·​to·​use.​21 This·​function·​uses·​an·​index·​buffer·​to·​specify·​which·​vertices·​to·​use.​
25 Both·​buffers·​must·​not·​be·​locked.​22 Both·​buffers·​must·​not·​be·​locked.​
917 B
./usr/share/man/man3/al_draw_indexed_prim.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​14301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1266
619 B
al_draw_indexed_prim.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 int\·​al_draw_indexed_prim(​const\·​void*\·​vtxs,​\·​const\·​ALLEGRO_VERTEX_DECL*\​·​decl,​13 int\·​al_draw_indexed_prim(​const\·​void*\·​vtxs,​\·​const\·​ALLEGRO_VERTEX_DECL*\​·​decl,​
14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​const\·​int*\·​indices,​\·​int\·​num_vtx,​\·​int\·​type)​14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​const\·​int*\·​indices,​\·​int\·​num_vtx,​\·​int\·​type)​
15 int\·​al_draw_indexed_prim(​const\·​void*\·​vtxs,​\·​const\·​ALLEGRO_VERTEX_DECL*\​·​decl,​ 
16 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​const\·​int*\·​indices,​\·​int\·​num_vtx,​\·​int\·​type)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​subset·​of·​the·​passed·​vertex·​array.​19 Draws·​a·​subset·​of·​the·​passed·​vertex·​array.​
22 This·​function·​uses·​an·​index·​array·​to·​specify·​which·​vertices·​to·​use.​20 This·​function·​uses·​an·​index·​array·​to·​specify·​which·​vertices·​to·​use.​
23 .​PP21 .​PP
900 B
./usr/share/man/man3/al_draw_justified_text.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11951 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1022
598 B
al_draw_justified_text.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_justified_tex​t(const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_draw_justified_tex​t(const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​
15 \·​\·​\·​float\·​y,​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​char\·​*text)​15 \·​\·​\·​float\·​y,​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​char\·​*text)​
16 void\·​al_draw_justified_tex​t(const\·​ALLEGRO_FONT\·​*font,​ 
17 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​ 
18 \·​\·​\·​float\·​y,​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​char\·​*text)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Like·​al_draw_text(3alleg5)​,​·​but·​justifies·​the·​string·​to·​the·​region20 Like·​al_draw_text(3alleg5)​,​·​but·​justifies·​the·​string·​to·​the·​region
24 x1\-​x2.​21 x1\-​x2.​
25 .​PP22 .​PP
943 B
./usr/share/man/man3/al_draw_justified_textf.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8621 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·683
641 B
al_draw_justified_textf.3alleg5
    
Offset 9, 17 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_justified_tex​tf(const\·​ALLEGRO_FONT\·​*f,​13 void\·​al_draw_justified_tex​tf(const\·​ALLEGRO_FONT\·​*f,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​\·​float\·​y,​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​\·​float\·​y,​
15 void\·​al_draw_justified_tex​tf(const\·​ALLEGRO_FONT\·​*f,​ 
16 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​\·​float\·​y,​ 
17 \·​\·​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​char\·​*format,​\·​.​.​.​)​ 
18 \·​\·​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​char\·​*format,​\·​.​.​.​)​15 \·​\·​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​char\·​*format,​\·​.​.​.​)​
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Formatted·​text·​output,​·​using·​a·​printf()​·​style·​format·​string.​20 Formatted·​text·​output,​·​using·​a·​printf()​·​style·​format·​string.​
24 All·​parameters·​have·​the·​same·​meaning·​as·​with21 All·​parameters·​have·​the·​same·​meaning·​as·​with
972 B
./usr/share/man/man3/al_draw_justified_ustr.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8401 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·659
672 B
al_draw_justified_ustr.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_justified_ust​r(const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_draw_justified_ust​r(const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​
15 \·​\·​\·​float\·​y,​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​ALLEGRO_USTR\·​*ustr)​15 \·​\·​\·​float\·​y,​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​ALLEGRO_USTR\·​*ustr)​
16 void\·​al_draw_justified_ust​r(const\·​ALLEGRO_FONT\·​*font,​ 
17 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x1,​\·​float\·​x2,​ 
18 \·​\·​\·​float\·​y,​\·​float\·​diff,​\·​int\·​flags,​\·​const\·​ALLEGRO_USTR\·​*ustr)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Like·​al_draw_justified_tex​t(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an20 Like·​al_draw_justified_tex​t(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an
24 ALLEGRO_USTR·​instead·​of·​a·​NUL\-​terminated·​char·​array.​21 ALLEGRO_USTR·​instead·​of·​a·​NUL\-​terminated·​char·​array.​
25 .​SH·​SEE·​ALSO22 .​SH·​SEE·​ALSO
732 B
./usr/share/man/man3/al_draw_line.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7851 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·672
452 B
al_draw_line.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_line(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​13 void\·​al_draw_line(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_line(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​ 
16 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​line·​segment·​between·​two·​points.​19 Draws·​a·​line·​segment·​between·​two·​points.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
1020 B
./usr/share/man/man3/al_draw_multiline_text.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​29501 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2756
715 B
al_draw_multiline_text.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_multiline_tex​t(const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_draw_multiline_tex​t(const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​14 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​
15 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​char\·​*text)​15 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​char\·​*text)​
16 void\·​al_draw_multiline_tex​t(const\·​ALLEGRO_FONT\·​*font,​ 
17 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​ 
18 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​char\·​*text)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Like·​al_draw_text(3alleg5)​,​·​but·​this·​function·​supports·​drawing·​multiple20 Like·​al_draw_text(3alleg5)​,​·​but·​this·​function·​supports·​drawing·​multiple
24 lines·​of·​text.​21 lines·​of·​text.​
25 It·​will·​break·​\f[C]text\f[]·​in·​lines·​based·​on·​its·​contents·​and·​the22 It·​will·​break·​\f[C]text\f[]·​in·​lines·​based·​on·​its·​contents·​and·​the
1.01 KB
./usr/share/man/man3/al_draw_multiline_textf.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9601 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·757
730 B
al_draw_multiline_textf.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_multiline_tex​tf(const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_draw_multiline_tex​tf(const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​14 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​
15 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​char\·​*format,​\·​.​.​.​)​15 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​char\·​*format,​\·​.​.​.​)​
16 void\·​al_draw_multiline_tex​tf(const\·​ALLEGRO_FONT\·​*font,​ 
17 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​ 
18 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​char\·​*format,​\·​.​.​.​)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Formatted·​text·​output,​·​using·​a·​printf()​·​style·​format·​string.​20 Formatted·​text·​output,​·​using·​a·​printf()​·​style·​format·​string.​
24 All·​parameters·​have·​the·​same·​meaning·​as·​with21 All·​parameters·​have·​the·​same·​meaning·​as·​with
25 al_draw_multiline_tex​t(3alleg5)​·​otherwise.​22 al_draw_multiline_tex​t(3alleg5)​·​otherwise.​
1010 B
./usr/share/man/man3/al_draw_multiline_ustr.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·730
711 B
al_draw_multiline_ustr.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_multiline_ust​r(const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_draw_multiline_ust​r(const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​14 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​
15 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​ALLEGRO_USTR\·​*ustr)​15 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​ALLEGRO_USTR\·​*ustr)​
16 void\·​al_draw_multiline_ust​r(const\·​ALLEGRO_FONT\·​*font,​ 
17 \·​\·​\·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​float\·​max_width,​\·​float\·​line_height,​ 
18 \·​\·​\·​\·​\·​int\·​flags,​\·​const\·​ALLEGRO_USTR\·​*ustr)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Like·​al_draw_multiline_tex​t(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an20 Like·​al_draw_multiline_tex​t(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an
24 ALLEGRO_USTR·​instead·​of·​a·​NUL\-​terminated·​char·​array.​21 ALLEGRO_USTR·​instead·​of·​a·​NUL\-​terminated·​char·​array.​
25 .​SH·​SINCE22 .​SH·​SINCE
819 B
./usr/share/man/man3/al_draw_pieslice.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·11281 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·982
530 B
al_draw_pieslice.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_pieslice(floa​t\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​13 void\·​al_draw_pieslice(floa​t\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​
14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_pieslice(floa​t\·​cx,​\·​float\·​cy,​\·​float\·​r,​\·​float\·​start_theta,​ 
16 \·​\·​\·​float\·​delta_theta,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​pieslice·​(outlined·​circular·​sector)​.​19 Draws·​a·​pieslice·​(outlined·​circular·​sector)​.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
877 B
./usr/share/man/man3/al_draw_polygon.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12461 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1093
589 B
al_draw_polygon.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_polygon(const​\·​float\·​*vertices,​\·​int\·​vertex_count,​13 void\·​al_draw_polygon(const​\·​float\·​*vertices,​\·​int\·​vertex_count,​
14 \·​\·​\·​int\·​join_style,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness,​\·​float\·​miter_limit)​14 \·​\·​\·​int\·​join_style,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness,​\·​float\·​miter_limit)​
15 void\·​al_draw_polygon(const​\·​float\·​*vertices,​\·​int\·​vertex_count,​ 
16 \·​\·​\·​int\·​join_style,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness,​\·​float\·​miter_limit)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draw·​an·​unfilled·​polygon.​19 Draw·​an·​unfilled·​polygon.​
22 This·​is·​the·​same·​as·​passing·​\f[C]ALLEGRO_LINE_CAP​_CLOSED\f[]·​to20 This·​is·​the·​same·​as·​passing·​\f[C]ALLEGRO_LINE_CAP​_CLOSED\f[]·​to
23 al_draw_polyline(3all​eg5)​.​21 al_draw_polyline(3all​eg5)​.​
954 B
./usr/share/man/man3/al_draw_polyline.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​19921 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1795
664 B
al_draw_polyline.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_polyline(cons​t\·​float*\·​vertices,​\·​int\·​vertex_stride,​13 void\·​al_draw_polyline(cons​t\·​float*\·​vertices,​\·​int\·​vertex_stride,​
14 \·​\·​\·​int\·​vertex_count,​\·​int\·​join_style,​\·​int\·​cap_style,​14 \·​\·​\·​int\·​vertex_count,​\·​int\·​join_style,​\·​int\·​cap_style,​
15 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness,​\·​float\·​miter_limit)​15 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness,​\·​float\·​miter_limit)​
16 void\·​al_draw_polyline(cons​t\·​float*\·​vertices,​\·​int\·​vertex_stride,​ 
17 \·​\·​\·​int\·​vertex_count,​\·​int\·​join_style,​\·​int\·​cap_style,​ 
18 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness,​\·​float\·​miter_limit)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Draw·​a·​series·​of·​line·​segments.​20 Draw·​a·​series·​of·​line·​segments.​
24 .​IP·​\[bu]·​221 .​IP·​\[bu]·​2
25 vertices·​\-​·​Interleaved·​array·​of·​(x,​·​y)​·​vertex·​coordinates22 vertices·​\-​·​Interleaved·​array·​of·​(x,​·​y)​·​vertex·​coordinates
794 B
./usr/share/man/man3/al_draw_prim.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​18581 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1716
512 B
al_draw_prim.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 int\·​al_draw_prim(const\·​void*\·​vtxs,​\·​const\·​ALLEGRO_VERTEX_DECL*\​·​decl,​13 int\·​al_draw_prim(const\·​void*\·​vtxs,​\·​const\·​ALLEGRO_VERTEX_DECL*\​·​decl,​
14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​
15 int\·​al_draw_prim(const\·​void*\·​vtxs,​\·​const\·​ALLEGRO_VERTEX_DECL*\​·​decl,​ 
16 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​subset·​of·​the·​passed·​vertex·​array.​19 Draws·​a·​subset·​of·​the·​passed·​vertex·​array.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
750 B
./usr/share/man/man3/al_draw_rectangle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8601 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·742
460 B
al_draw_rectangle.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_rectangle(flo​at\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​13 void\·​al_draw_rectangle(flo​at\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_rectangle(flo​at\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​ 
16 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​outlined·​rectangle.​19 Draws·​an·​outlined·​rectangle.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
881 B
./usr/share/man/man3/al_draw_ribbon.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11981 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1066
595 B
al_draw_ribbon.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_ribbon(const\​·​float\·​*points,​\·​int\·​points_stride,​\·​ALLEGRO_COLOR\·​color,​13 void\·​al_draw_ribbon(const\​·​float\·​*points,​\·​int\·​points_stride,​\·​ALLEGRO_COLOR\·​color,​
14 \·​\·​\·​float\·​thickness,​\·​int\·​num_segments)​14 \·​\·​\·​float\·​thickness,​\·​int\·​num_segments)​
15 void\·​al_draw_ribbon(const\​·​float\·​*points,​\·​int\·​points_stride,​\·​ALLEGRO_COLOR\·​color,​ 
16 \·​\·​\·​float\·​thickness,​\·​int\·​num_segments)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​ribbon·​given·​an·​array·​of·​points.​19 Draws·​a·​ribbon·​given·​an·​array·​of·​points.​
22 The·​ribbon·​will·​go·​through·​all·​of·​the·​passed·​points.​20 The·​ribbon·​will·​go·​through·​all·​of·​the·​passed·​points.​
23 The·​points·​buffer·​should·​consist·​of·​regularly·​spaced·​doublets·​of·​floats,​21 The·​points·​buffer·​should·​consist·​of·​regularly·​spaced·​doublets·​of·​floats,​
854 B
./usr/share/man/man3/al_draw_rounded_rectangle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9931 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·843
548 B
al_draw_rounded_rectangle.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_rounded_recta​ngle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​13 void\·​al_draw_rounded_recta​ngle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​
14 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_rounded_recta​ngle(float\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​ 
16 \·​\·​\·​float\·​rx,​\·​float\·​ry,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​outlined·​rounded·​rectangle.​19 Draws·​an·​outlined·​rounded·​rectangle.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
1.07 KB
./usr/share/man/man3/al_draw_soft_line.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​19121 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1663
801 B
al_draw_soft_line.3alleg5
    
Offset 11, 18 lines modifiedOffset 11, 14 lines modified
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_soft_line(ALL​EGRO_VERTEX*\·​v1,​\·​ALLEGRO_VERTEX*\·​v2,​\·​uintptr_t\·​state,​13 void\·​al_draw_soft_line(ALL​EGRO_VERTEX*\·​v1,​\·​ALLEGRO_VERTEX*\·​v2,​\·​uintptr_t\·​state,​
14 \·​\·​\·​void\·​(*first)​(uintptr_t,​\·​int,​\·​int,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*)​,​14 \·​\·​\·​void\·​(*first)​(uintptr_t,​\·​int,​\·​int,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*)​,​
15 \·​\·​\·​void\·​(*step)​(uintptr_t,​\·​int)​,​15 \·​\·​\·​void\·​(*step)​(uintptr_t,​\·​int)​,​
16 \·​\·​\·​void\·​(*draw)​(uintptr_t,​\·​int,​\·​int)​)​16 \·​\·​\·​void\·​(*draw)​(uintptr_t,​\·​int,​\·​int)​)​
17 void\·​al_draw_soft_line(ALL​EGRO_VERTEX*\·​v1,​\·​ALLEGRO_VERTEX*\·​v2,​\·​uintptr_t\·​state,​ 
18 \·​\·​\·​void\·​(*first)​(uintptr_t,​\·​int,​\·​int,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*)​,​ 
19 \·​\·​\·​void\·​(*step)​(uintptr_t,​\·​int)​,​ 
20 \·​\·​\·​void\·​(*draw)​(uintptr_t,​\·​int,​\·​int)​)​ 
21 \f[]17 \f[]
22 .​fi18 .​fi
23 .​SH·​DESCRIPTION19 .​SH·​DESCRIPTION
24 .​PP20 .​PP
25 Draws·​a·​line·​using·​the·​software·​rasterizer·​and·​user·​supplied·​pixel21 Draws·​a·​line·​using·​the·​software·​rasterizer·​and·​user·​supplied·​pixel
26 functions.​22 functions.​
27 For·​help·​in·​understanding·​what·​these·​functions·​do,​·​see·​the23 For·​help·​in·​understanding·​what·​these·​functions·​do,​·​see·​the
1.24 KB
./usr/share/man/man3/al_draw_soft_triangle.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​27041 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2354
969 B
al_draw_soft_triangle.3alleg5
    
Offset 13, 20 lines modifiedOffset 13, 14 lines modified
  
13 void\·​al_draw_soft_triangle​(13 void\·​al_draw_soft_triangle​(
14 \·​\·​\·​ALLEGRO_VERTEX*\·​v1,​\·​ALLEGRO_VERTEX*\·​v2,​\·​ALLEGRO_VERTEX*\·​v3,​\·​uintptr_t\·​state,​14 \·​\·​\·​ALLEGRO_VERTEX*\·​v1,​\·​ALLEGRO_VERTEX*\·​v2,​\·​ALLEGRO_VERTEX*\·​v3,​\·​uintptr_t\·​state,​
15 \·​\·​\·​void\·​(*init)​(uintptr_t,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*)​,​15 \·​\·​\·​void\·​(*init)​(uintptr_t,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*)​,​
16 \·​\·​\·​void\·​(*first)​(uintptr_t,​\·​int,​\·​int,​\·​int,​\·​int)​,​16 \·​\·​\·​void\·​(*first)​(uintptr_t,​\·​int,​\·​int,​\·​int,​\·​int)​,​
17 \·​\·​\·​void\·​(*step)​(uintptr_t,​\·​int)​,​17 \·​\·​\·​void\·​(*step)​(uintptr_t,​\·​int)​,​
18 \·​\·​\·​void\·​(*draw)​(uintptr_t,​\·​int,​\·​int,​\·​int)​)​18 \·​\·​\·​void\·​(*draw)​(uintptr_t,​\·​int,​\·​int,​\·​int)​)​
19 void\·​al_draw_soft_triangle​( 
20 \·​\·​\·​ALLEGRO_VERTEX*\·​v1,​\·​ALLEGRO_VERTEX*\·​v2,​\·​ALLEGRO_VERTEX*\·​v3,​\·​uintptr_t\·​state,​ 
21 \·​\·​\·​void\·​(*init)​(uintptr_t,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*,​\·​ALLEGRO_VERTEX*)​,​ 
22 \·​\·​\·​void\·​(*first)​(uintptr_t,​\·​int,​\·​int,​\·​int,​\·​int)​,​ 
23 \·​\·​\·​void\·​(*step)​(uintptr_t,​\·​int)​,​ 
24 \·​\·​\·​void\·​(*draw)​(uintptr_t,​\·​int,​\·​int,​\·​int)​)​ 
25 \f[]19 \f[]
26 .​fi20 .​fi
27 .​SH·​DESCRIPTION21 .​SH·​DESCRIPTION
28 .​PP22 .​PP
29 Draws·​a·​triangle·​using·​the·​software·​rasterizer·​and·​user·​supplied·​pixel23 Draws·​a·​triangle·​using·​the·​software·​rasterizer·​and·​user·​supplied·​pixel
30 functions.​24 functions.​
31 For·​help·​in·​understanding·​what·​these·​functions·​do,​·​see·​the25 For·​help·​in·​understanding·​what·​these·​functions·​do,​·​see·​the
857 B
./usr/share/man/man3/al_draw_text.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​14621 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1324
575 B
al_draw_text.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_text(const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_draw_text(const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​
15 \·​\·​\·​char\·​const\·​*text)​\·15 \·​\·​\·​char\·​const\·​*text)​\·
16 void\·​al_draw_text(const\·​ALLEGRO_FONT\·​*font,​ 
17 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​ 
18 \·​\·​\·​char\·​const\·​*text)​\· 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Writes·​the·​NUL\-​terminated·​string·​\f[C]text\f[]·​onto·​the·​target·​bitmap20 Writes·​the·​NUL\-​terminated·​string·​\f[C]text\f[]·​onto·​the·​target·​bitmap
24 at·​position·​\f[C]x\f[],​·​\f[C]y\f[],​·​using·​the·​specified·​\f[C]font\f[].​21 at·​position·​\f[C]x\f[],​·​\f[C]y\f[],​·​using·​the·​specified·​\f[C]font\f[].​
25 .​PP22 .​PP
866 B
./usr/share/man/man3/al_draw_textf.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7431 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·598
584 B
al_draw_textf.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_textf(const\·​ALLEGRO_FONT\·​*font,​\·​ALLEGRO_COLOR\·​color,​13 void\·​al_draw_textf(const\·​ALLEGRO_FONT\·​*font,​\·​ALLEGRO_COLOR\·​color,​
14 \·​\·​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​14 \·​\·​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​
15 \·​\·​\·​const\·​char\·​*format,​\·​.​.​.​)​15 \·​\·​\·​const\·​char\·​*format,​\·​.​.​.​)​
16 void\·​al_draw_textf(const\·​ALLEGRO_FONT\·​*font,​\·​ALLEGRO_COLOR\·​color,​ 
17 \·​\·​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​ 
18 \·​\·​\·​const\·​char\·​*format,​\·​.​.​.​)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Formatted·​text·​output,​·​using·​a·​printf()​·​style·​format·​string.​20 Formatted·​text·​output,​·​using·​a·​printf()​·​style·​format·​string.​
24 All·​parameters·​have·​the·​same·​meaning·​as·​with·​al_draw_text(3alleg5)​21 All·​parameters·​have·​the·​same·​meaning·​as·​with·​al_draw_text(3alleg5)​
25 otherwise.​22 otherwise.​
791 B
./usr/share/man/man3/al_draw_triangle.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8831 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·742
503 B
al_draw_triangle.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_draw_triangle(floa​t\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​13 void\·​al_draw_triangle(floa​t\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​
14 \·​\·​\·​float\·​x3,​\·​float\·​y3,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​14 \·​\·​\·​float\·​x3,​\·​float\·​y3,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​
15 void\·​al_draw_triangle(floa​t\·​x1,​\·​float\·​y1,​\·​float\·​x2,​\·​float\·​y2,​ 
16 \·​\·​\·​float\·​x3,​\·​float\·​y3,​\·​ALLEGRO_COLOR\·​color,​\·​float\·​thickness)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​an·​outlined·​triangle.​19 Draws·​an·​outlined·​triangle.​
22 .​PP20 .​PP
23 \f[I]Parameters:​\f[]21 \f[I]Parameters:​\f[]
852 B
./usr/share/man/man3/al_draw_ustr.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7611 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​615
572 B
al_draw_ustr.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_draw_ustr(const\·​ALLEGRO_FONT\·​*font,​13 void\·​al_draw_ustr(const\·​ALLEGRO_FONT\·​*font,​
14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​14 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​
15 \·​\·​\·​const\·​ALLEGRO_USTR\·​*ustr)​\·15 \·​\·​\·​const\·​ALLEGRO_USTR\·​*ustr)​\·
16 void\·​al_draw_ustr(const\·​ALLEGRO_FONT\·​*font,​ 
17 \·​\·​\·​ALLEGRO_COLOR\·​color,​\·​float\·​x,​\·​float\·​y,​\·​int\·​flags,​ 
18 \·​\·​\·​const\·​ALLEGRO_USTR\·​*ustr)​\· 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Like·​al_draw_text(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an·​ALLEGRO_USTR20 Like·​al_draw_text(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an·​ALLEGRO_USTR
24 instead·​of·​a·​NUL\-​terminated·​char·​array.​21 instead·​of·​a·​NUL\-​terminated·​char·​array.​
25 .​SH·​SEE·​ALSO22 .​SH·​SEE·​ALSO
901 B
./usr/share/man/man3/al_draw_vertex_buffer.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​13961 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1262
601 B
al_draw_vertex_buffer.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 int\·​al_draw_vertex_buffer​(ALLEGRO_VERTEX_BUFFE​R*\·​vertex_buffer,​13 int\·​al_draw_vertex_buffer​(ALLEGRO_VERTEX_BUFFE​R*\·​vertex_buffer,​
14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​14 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​
15 int\·​al_draw_vertex_buffer​(ALLEGRO_VERTEX_BUFFE​R*\·​vertex_buffer,​ 
16 \·​\·​\·​ALLEGRO_BITMAP*\·​texture,​\·​int\·​start,​\·​int\·​end,​\·​int\·​type)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Draws·​a·​subset·​of·​the·​passed·​vertex·​buffer.​19 Draws·​a·​subset·​of·​the·​passed·​vertex·​buffer.​
22 The·​vertex·​buffer·​must·​not·​be·​locked.​20 The·​vertex·​buffer·​must·​not·​be·​locked.​
23 Additionally,​·​to·​draw·​onto·​memory·​bitmaps·​or·​with·​memory·​bitmap·​textures21 Additionally,​·​to·​draw·​onto·​memory·​bitmaps·​or·​with·​memory·​bitmap·​textures
820 B
./usr/share/man/man3/al_enable_menu_event_source.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7771 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​705
510 B
al_enable_menu_event_source.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_EVENT_SOURCE\​·​*al_enable_menu_event​_source(ALLEGRO_MENU\​·​*menu)​13 ALLEGRO_EVENT_SOURCE\​·​*al_enable_menu_event​_source(ALLEGRO_MENU\​·​*menu)​
14 ALLEGRO_EVENT_SOURCE\​·​*al_enable_menu_event​_source(ALLEGRO_MENU\​·​*menu)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Enables·​a·​unique·​event·​source·​for·​this·​menu.​18 Enables·​a·​unique·​event·​source·​for·​this·​menu.​
20 It·​and·​all·​of·​its·​sub\-​menus·​will·​use·​this·​event·​source.​19 It·​and·​all·​of·​its·​sub\-​menus·​will·​use·​this·​event·​source.​
21 (It·​is·​safe·​to·​call·​this·​multiple·​times·​on·​the·​same·​menu.​)​20 (It·​is·​safe·​to·​call·​this·​multiple·​times·​on·​the·​same·​menu.​)​
848 B
./usr/share/man/man3/al_fill_silence.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6991 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·572
562 B
al_fill_silence.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_fill_silence(void\​·​*buf,​\·​unsigned\·​int\·​samples,​13 void\·​al_fill_silence(void\​·​*buf,​\·​unsigned\·​int\·​samples,​
14 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​14 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​
15 void\·​al_fill_silence(void\​·​*buf,​\·​unsigned\·​int\·​samples,​ 
16 \·​\·​\·​ALLEGRO_AUDIO_DEPTH\·​depth,​\·​ALLEGRO_CHANNEL_CONF\​·​chan_conf)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Fill·​a·​buffer·​with·​silence,​·​for·​the·​given·​format·​and·​channel19 Fill·​a·​buffer·​with·​silence,​·​for·​the·​given·​format·​and·​channel
22 configuration.​20 configuration.​
23 The·​buffer·​must·​have·​enough·​space·​for·​the·​given·​number·​of·​samples,​·​and21 The·​buffer·​must·​have·​enough·​space·​for·​the·​given·​number·​of·​samples,​·​and
745 B
./usr/share/man/man3/al_find_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6861 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​618
465 B
al_find_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_find_menu(ALLEGRO​_MENU\·​*haystack,​\·​uint16_t\·​id)​13 ALLEGRO_MENU\·​*al_find_menu(ALLEGRO​_MENU\·​*haystack,​\·​uint16_t\·​id)​
14 ALLEGRO_MENU\·​*al_find_menu(ALLEGRO​_MENU\·​*haystack,​\·​uint16_t\·​id)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Searches·​in·​the·​\f[C]haystack\f[]·​menu·​for·​any·​submenu·​with·​the·​given18 Searches·​in·​the·​\f[C]haystack\f[]·​menu·​for·​any·​submenu·​with·​the·​given
20 \f[C]id\f[].​19 \f[C]id\f[].​
21 (Note·​that·​this·​only·​represents·​a·​literal·​ID,​·​and·​cannot·​be·​used·​as·​an20 (Note·​that·​this·​only·​represents·​a·​literal·​ID,​·​and·​cannot·​be·​used·​as·​an
825 B
./usr/share/man/man3/al_find_menu_item.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9791 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·873
535 B
al_find_menu_item.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 bool\·​al_find_menu_item(ALL​EGRO_MENU\·​*haystack,​\·​uint16_t\·​id,​\·​ALLEGRO_MENU\·​**menu,​13 bool\·​al_find_menu_item(ALL​EGRO_MENU\·​*haystack,​\·​uint16_t\·​id,​\·​ALLEGRO_MENU\·​**menu,​
14 \·​\·​\·​int\·​*index)​14 \·​\·​\·​int\·​*index)​
15 bool\·​al_find_menu_item(ALL​EGRO_MENU\·​*haystack,​\·​uint16_t\·​id,​\·​ALLEGRO_MENU\·​**menu,​ 
16 \·​\·​\·​int\·​*index)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Searches·​in·​the·​\f[C]haystack\f[]·​menu·​for·​an·​item·​with·​the·​given19 Searches·​in·​the·​\f[C]haystack\f[]·​menu·​for·​an·​item·​with·​the·​given
22 \f[C]id\f[].​20 \f[C]id\f[].​
23 (Note·​that·​this·​only·​represents·​a·​literal·​ID,​·​and·​cannot·​be·​used·​as·​an21 (Note·​that·​this·​only·​represents·​a·​literal·​ID,​·​and·​cannot·​be·​used·​as·​an
582 B
./usr/share/man/man3/al_fixed.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​16921 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1664
308 B
al_fixed.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 typedef\·​int32_t\·​al_fixed;​13 typedef\·​int32_t\·​al_fixed;​
14 typedef\·​int32_t\·​al_fixed;​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 A·​fixed·​point·​number.​18 A·​fixed·​point·​number.​
20 .​PP19 .​PP
21 Allegro·​provides·​some·​routines·​for·​working·​with·​fixed·​point·​numbers,​·​and20 Allegro·​provides·​some·​routines·​for·​working·​with·​fixed·​point·​numbers,​·​and
676 B
./usr/share/man/man3/al_free.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8251 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·734
406 B
al_free.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​al_free(p)​\·​\\13 #define\·​al_free(p)​\·​\\
14 \·​\·​\·​(al_free_with_context​((p)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​14 \·​\·​\·​(al_free_with_context​((p)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​
15 #define\·​al_free(p)​\·​\\ 
16 \·​\·​\·​(al_free_with_context​((p)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Like·​free()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be19 Like·​free()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be
22 overridden.​20 overridden.​
23 .​PP21 .​PP
700 B
./usr/share/man/man3/al_get_allegro_audio_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4731 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​428
388 B
al_get_allegro_audio_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 uint32_t\·​al_get_allegro_audio_​version(void)​13 uint32_t\·​al_get_allegro_audio_​version(void)​
14 uint32_t\·​al_get_allegro_audio_​version(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
700 B
./usr/share/man/man3/al_get_allegro_color_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4731 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​428
388 B
al_get_allegro_color_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_color.​h>12 #include\·​<allegro5/​allegro_color.​h>
  
13 uint32_t\·​al_get_allegro_color_​version(void)​13 uint32_t\·​al_get_allegro_color_​version(void)​
14 uint32_t\·​al_get_allegro_color_​version(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
693 B
./usr/share/man/man3/al_get_allegro_font_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4681 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​424
383 B
al_get_allegro_font_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 uint32_t\·​al_get_allegro_font_v​ersion(void)​13 uint32_t\·​al_get_allegro_font_v​ersion(void)​
14 uint32_t\·​al_get_allegro_font_v​ersion(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
714 B
./usr/share/man/man3/al_get_allegro_memfile_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4831 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​436
398 B
al_get_allegro_memfile_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_memfile.​h>12 #include\·​<allegro5/​allegro_memfile.​h>
  
13 uint32_t\·​al_get_allegro_memfil​e_version(void)​13 uint32_t\·​al_get_allegro_memfil​e_version(void)​
14 uint32_t\·​al_get_allegro_memfil​e_version(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
756 B
./usr/share/man/man3/al_get_allegro_native_dialog_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5131 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·460
428 B
al_get_allegro_native_dialog_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 uint32_t\·​al_get_allegro_native​_dialog_version(void)​13 uint32_t\·​al_get_allegro_native​_dialog_version(void)​
14 uint32_t\·​al_get_allegro_native​_dialog_version(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
707 B
./usr/share/man/man3/al_get_allegro_physfs_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4781 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​432
393 B
al_get_allegro_physfs_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_physfs.​h>12 #include\·​<allegro5/​allegro_physfs.​h>
  
13 uint32_t\·​al_get_allegro_physfs​_version(void)​13 uint32_t\·​al_get_allegro_physfs​_version(void)​
14 uint32_t\·​al_get_allegro_physfs​_version(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
735 B
./usr/share/man/man3/al_get_allegro_primitives_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4981 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​448
413 B
al_get_allegro_primitives_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 uint32_t\·​al_get_allegro_primit​ives_version(void)​13 uint32_t\·​al_get_allegro_primit​ives_version(void)​
14 uint32_t\·​al_get_allegro_primit​ives_version(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
686 B
./usr/share/man/man3/al_get_allegro_ttf_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​420
378 B
al_get_allegro_ttf_version.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 uint32_t\·​al_get_allegro_ttf_ve​rsion(void)​13 uint32_t\·​al_get_allegro_ttf_ve​rsion(void)​
14 uint32_t\·​al_get_allegro_ttf_ve​rsion(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
711 B
./usr/share/man/man3/al_get_allegro_video_version.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4941 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​449
399 B
al_get_allegro_video_version.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 uint32_t\·​al_get_allegro_video_​version(void)​13 uint32_t\·​al_get_allegro_video_​version(void)​
14 uint32_t\·​al_get_allegro_video_​version(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as18 Returns·​the·​(compiled)​·​version·​of·​the·​addon,​·​in·​the·​same·​format·​as
20 al_get_allegro_versio​n(3alleg5)​.​19 al_get_allegro_versio​n(3alleg5)​.​
21 .​SH·​SINCE20 .​SH·​SINCE
747 B
./usr/share/man/man3/al_get_audio_depth_size.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5291 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·469
445 B
al_get_audio_depth_size.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 size_t\·​al_get_audio_depth_si​ze(ALLEGRO_AUDIO_DEPT​H\·​depth)​13 size_t\·​al_get_audio_depth_si​ze(ALLEGRO_AUDIO_DEPT​H\·​depth)​
14 size_t\·​al_get_audio_depth_si​ze(ALLEGRO_AUDIO_DEPT​H\·​depth)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​size·​of·​a·​sample,​·​in·​bytes,​·​for·​the·​given·​format.​18 Return·​the·​size·​of·​a·​sample,​·​in·​bytes,​·​for·​the·​given·​format.​
20 The·​format·​is·​one·​of·​the·​values·​listed·​under19 The·​format·​is·​one·​of·​the·​values·​listed·​under
21 ALLEGRO_AUDIO_DEPTH(3​alleg5)​.​20 ALLEGRO_AUDIO_DEPTH(3​alleg5)​.​
748 B
./usr/share/man/man3/al_get_audio_recorder_event.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6011 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·519
438 B
al_get_audio_recorder_event.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_RECORDE​R_EVENT\·​*al_get_audio_recorde​r_event(ALLEGRO_EVENT​\·​*event)​13 ALLEGRO_AUDIO_RECORDE​R_EVENT\·​*al_get_audio_recorde​r_event(ALLEGRO_EVENT​\·​*event)​
14 ALLEGRO_AUDIO_RECORDE​R_EVENT\·​*al_get_audio_recorde​r_event(ALLEGRO_EVENT​\·​*event)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​event·​as·​an·​ALLEGRO_AUDIO_RECORDE​R_EVENT(3alleg5)​.​18 Returns·​the·​event·​as·​an·​ALLEGRO_AUDIO_RECORDE​R_EVENT(3alleg5)​.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
804 B
./usr/share/man/man3/al_get_audio_recorder_event_source.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·561
480 B
al_get_audio_recorder_event_source.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_EVENT_SOURCE\​·​*al_get_audio_recorde​r_event_source(ALLEGR​O_AUDIO_RECORDER\·​*r)​13 ALLEGRO_EVENT_SOURCE\​·​*al_get_audio_recorde​r_event_source(ALLEGR​O_AUDIO_RECORDER\·​*r)​
14 ALLEGRO_EVENT_SOURCE\​·​*al_get_audio_recorde​r_event_source(ALLEGR​O_AUDIO_RECORDER\·​*r)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​event·​source·​for·​the·​recorder·​that·​generates·​the·​various18 Returns·​the·​event·​source·​for·​the·​recorder·​that·​generates·​the·​various
20 recording·​events.​19 recording·​events.​
21 .​SH·​SINCE20 .​SH·​SINCE
726 B
./usr/share/man/man3/al_get_audio_stream_attached.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6151 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·542
414 B
al_get_audio_stream_attached.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_get_audio_stream_a​ttached(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 bool\·​al_get_audio_stream_a​ttached(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 bool\·​al_get_audio_stream_a​ttached(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​whether·​the·​stream·​is·​attached·​to·​something.​18 Return·​whether·​the·​stream·​is·​attached·​to·​something.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
749 B
./usr/share/man/man3/al_get_audio_stream_channels.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5641 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·468
437 B
al_get_audio_stream_channels.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_CHANNEL_CONF\​·​al_get_audio_stream_c​hannels(13 ALLEGRO_CHANNEL_CONF\​·​al_get_audio_stream_c​hannels(
14 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​14 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
15 ALLEGRO_CHANNEL_CONF\​·​al_get_audio_stream_c​hannels( 
16 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Return·​the·​stream·​channel·​configuration.​19 Return·​the·​stream·​channel·​configuration.​
22 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
23 .​PP21 .​PP
719 B
./usr/share/man/man3/al_get_audio_stream_depth.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5391 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·447
413 B
al_get_audio_stream_depth.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_DEPTH\·​al_get_audio_stream_d​epth(13 ALLEGRO_AUDIO_DEPTH\·​al_get_audio_stream_d​epth(
14 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​14 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
15 ALLEGRO_AUDIO_DEPTH\·​al_get_audio_stream_d​epth( 
16 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Return·​the·​stream·​audio·​depth.​19 Return·​the·​stream·​audio·​depth.​
22 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
23 .​PP21 .​PP
812 B
./usr/share/man/man3/al_get_audio_stream_event_source.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6641 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·570
492 B
al_get_audio_stream_event_source.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_EVENT_SOURCE\​·​*al_get_audio_stream_​event_source(13 ALLEGRO_EVENT_SOURCE\​·​*al_get_audio_stream_​event_source(
14 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​14 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
15 ALLEGRO_EVENT_SOURCE\​·​*al_get_audio_stream_​event_source( 
16 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Retrieve·​the·​associated·​event·​source.​19 Retrieve·​the·​associated·​event·​source.​
22 .​PP20 .​PP
23 See·​al_get_audio_stream_f​ragment(3alleg5)​·​for·​a·​description·​of·​the21 See·​al_get_audio_stream_f​ragment(3alleg5)​·​for·​a·​description·​of·​the
783 B
./usr/share/man/man3/al_get_audio_stream_fragment.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​16011 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1527
469 B
al_get_audio_stream_fragment.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​*al_get_audio_stream_​fragment(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 void\·​*al_get_audio_stream_​fragment(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 void\·​*al_get_audio_stream_​fragment(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 When·​using·​Allegro's·​audio·​streaming,​·​you·​will·​use·​this·​function·​to18 When·​using·​Allegro's·​audio·​streaming,​·​you·​will·​use·​this·​function·​to
20 continuously·​provide·​new·​sample·​data·​to·​a·​stream.​19 continuously·​provide·​new·​sample·​data·​to·​a·​stream.​
21 .​PP20 .​PP
829 B
./usr/share/man/man3/al_get_audio_stream_fragments.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6651 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·582
515 B
al_get_audio_stream_fragments.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_audio_stream_f​ragments(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 unsigned\·​int\·​al_get_audio_stream_f​ragments(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 unsigned\·​int\·​al_get_audio_stream_f​ragments(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​number·​of·​fragments·​this·​stream·​uses.​18 Returns·​the·​number·​of·​fragments·​this·​stream·​uses.​
20 This·​is·​the·​same·​value·​as·​passed·​to·​al_create_audio_strea​m(3alleg5)​·​when19 This·​is·​the·​same·​value·​as·​passed·​to·​al_create_audio_strea​m(3alleg5)​·​when
21 a·​new·​stream·​is·​created.​20 a·​new·​stream·​is·​created.​
716 B
./usr/share/man/man3/al_get_audio_stream_frequency.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4881 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​405
402 B
al_get_audio_stream_frequency.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_audio_stream_f​requency(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 unsigned\·​int\·​al_get_audio_stream_f​requency(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 unsigned\·​int\·​al_get_audio_stream_f​requency(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​stream·​frequency·​(in·​Hz)​.​18 Return·​the·​stream·​frequency·​(in·​Hz)​.​
692 B
./usr/share/man/man3/al_get_audio_stream_gain.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·437
388 B
al_get_audio_stream_gain.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_audio_stream_g​ain(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 float\·​al_get_audio_stream_g​ain(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 float\·​al_get_audio_stream_g​ain(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​playback·​gain·​of·​the·​stream.​18 Return·​the·​playback·​gain·​of·​the·​stream.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
698 B
./usr/share/man/man3/al_get_audio_stream_length.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4761 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·396
390 B
al_get_audio_stream_length.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_audio_stream_l​ength(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 unsigned\·​int\·​al_get_audio_stream_l​ength(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 unsigned\·​int\·​al_get_audio_stream_l​ength(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​stream·​length·​in·​samples.​18 Return·​the·​stream·​length·​in·​samples.​
747 B
./usr/share/man/man3/al_get_audio_stream_length_secs.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7571 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·686
429 B
al_get_audio_stream_length_secs.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 double\·​al_get_audio_stream_l​ength_secs(ALLEGRO_AU​DIO_STREAM\·​*stream)​13 double\·​al_get_audio_stream_l​ength_secs(ALLEGRO_AU​DIO_STREAM\·​*stream)​
14 double\·​al_get_audio_stream_l​ength_secs(ALLEGRO_AU​DIO_STREAM\·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​length·​of·​the·​stream·​in·​seconds,​·​if·​known.​18 Return·​the·​length·​of·​the·​stream·​in·​seconds,​·​if·​known.​
20 Otherwise·​returns·​zero.​19 Otherwise·​returns·​zero.​
21 .​PP20 .​PP
679 B
./usr/share/man/man3/al_get_audio_stream_pan.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4951 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​426
377 B
al_get_audio_stream_pan.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_audio_stream_p​an(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 float\·​al_get_audio_stream_p​an(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 float\·​al_get_audio_stream_p​an(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Get·​the·​pan·​value·​of·​the·​stream.​18 Get·​the·​pan·​value·​of·​the·​stream.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
796 B
./usr/share/man/man3/al_get_audio_stream_played_samples.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5661 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·483
472 B
al_get_audio_stream_played_samples.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 uint64_t\·​al_get_audio_stream_p​layed_samples(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 uint64_t\·​al_get_audio_stream_p​layed_samples(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 uint64_t\·​al_get_audio_stream_p​layed_samples(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Get·​the·​number·​of·​samples·​consumed·​by·​the·​parent·​since·​the·​audio·​stream18 Get·​the·​number·​of·​samples·​consumed·​by·​the·​parent·​since·​the·​audio·​stream
20 was·​started.​19 was·​started.​
21 .​SH·​SINCE20 .​SH·​SINCE
706 B
./usr/share/man/man3/al_get_audio_stream_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5181 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·446
396 B
al_get_audio_stream_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_get_audio_stream_p​laying(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 bool\·​al_get_audio_stream_p​laying(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 bool\·​al_get_audio_stream_p​laying(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​true·​if·​the·​stream·​is·​playing.​18 Return·​true·​if·​the·​stream·​is·​playing.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
740 B
./usr/share/man/man3/al_get_audio_stream_playmode.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5901 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·498
428 B
al_get_audio_stream_playmode.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_PLAYMODE\·​al_get_audio_stream_p​laymode(13 ALLEGRO_PLAYMODE\·​al_get_audio_stream_p​laymode(
14 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​14 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
15 ALLEGRO_PLAYMODE\·​al_get_audio_stream_p​laymode( 
16 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Return·​the·​playback·​mode·​of·​the·​stream.​19 Return·​the·​playback·​mode·​of·​the·​stream.​
22 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
23 .​PP21 .​PP
812 B
./usr/share/man/man3/al_get_audio_stream_position_secs.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·559
490 B
al_get_audio_stream_position_secs.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 double\·​al_get_audio_stream_p​osition_secs(ALLEGRO_​AUDIO_STREAM\·​*stream)​13 double\·​al_get_audio_stream_p​osition_secs(ALLEGRO_​AUDIO_STREAM\·​*stream)​
14 double\·​al_get_audio_stream_p​osition_secs(ALLEGRO_​AUDIO_STREAM\·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​position·​of·​the·​stream·​in·​seconds.​18 Return·​the·​position·​of·​the·​stream·​in·​seconds.​
20 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with19 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with
21 al_load_audio_stream(​3alleg5)​.​20 al_load_audio_stream(​3alleg5)​.​
708 B
./usr/share/man/man3/al_get_audio_stream_speed.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5221 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·451
402 B
al_get_audio_stream_speed.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_audio_stream_s​peed(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​13 float\·​al_get_audio_stream_s​peed(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
14 float\·​al_get_audio_stream_s​peed(const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​relative·​playback·​speed·​of·​the·​stream.​18 Return·​the·​relative·​playback·​speed·​of·​the·​stream.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
889 B
./usr/share/man/man3/al_get_available_audio_stream_fragments.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7311 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·631
555 B
al_get_available_audio_stream_fragments.3alleg5
    
Offset 10, 16 lines modifiedOffset 10, 14 lines modified
10 .​IP10 .​IP
11 .​nf11 .​nf
12 \f[C]12 \f[C]
13 #include\·​<allegro5/​allegro_audio.​h>13 #include\·​<allegro5/​allegro_audio.​h>
  
14 unsigned\·​int\·​al_get_available_audi​o_stream_fragments(14 unsigned\·​int\·​al_get_available_audi​o_stream_fragments(
15 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​15 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​
16 unsigned\·​int\·​al_get_available_audi​o_stream_fragments( 
17 \·​\·​\·​const\·​ALLEGRO_AUDIO_STREAM\​·​*stream)​ 
18 \f[]16 \f[]
19 .​fi17 .​fi
20 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
21 .​PP19 .​PP
22 Returns·​the·​number·​of·​available·​fragments·​in·​the·​stream,​·​that·​is,​20 Returns·​the·​number·​of·​available·​fragments·​in·​the·​stream,​·​that·​is,​
23 fragments·​which·​are·​not·​currently·​filled·​with·​data·​for·​playback.​21 fragments·​which·​are·​not·​currently·​filled·​with·​data·​for·​playback.​
24 .​SH·​SEE·​ALSO22 .​SH·​SEE·​ALSO
730 B
./usr/share/man/man3/al_get_channel_count.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5191 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·462
434 B
al_get_channel_count.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 size_t\·​al_get_channel_count(​ALLEGRO_CHANNEL_CONF\​·​conf)​13 size_t\·​al_get_channel_count(​ALLEGRO_CHANNEL_CONF\​·​conf)​
14 size_t\·​al_get_channel_count(​ALLEGRO_CHANNEL_CONF\​·​conf)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​number·​of·​channels·​for·​the·​given·​channel·​configuration,​·​which18 Return·​the·​number·​of·​channels·​for·​the·​given·​channel·​configuration,​·​which
20 is·​one·​of·​the·​values·​listed·​under·​ALLEGRO_CHANNEL_CONF(​3alleg5)​.​19 is·​one·​of·​the·​values·​listed·​under·​ALLEGRO_CHANNEL_CONF(​3alleg5)​.​
831 B
./usr/share/man/man3/al_get_default_menu_event_source.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7511 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·689
511 B
al_get_default_menu_event_source.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_EVENT_SOURCE\​·​*al_get_default_menu_​event_source(void)​13 ALLEGRO_EVENT_SOURCE\​·​*al_get_default_menu_​event_source(void)​
14 ALLEGRO_EVENT_SOURCE\​·​*al_get_default_menu_​event_source(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​default·​event·​source·​used·​for·​menu·​clicks.​18 Returns·​the·​default·​event·​source·​used·​for·​menu·​clicks.​
20 If·​a·​menu·​was·​not·​given·​its·​own·​event·​source·​via19 If·​a·​menu·​was·​not·​given·​its·​own·​event·​source·​via
21 al_enable_menu_event_​source(3alleg5)​,​·​then·​it·​will·​use·​this·​default20 al_enable_menu_event_​source(3alleg5)​,​·​then·​it·​will·​use·​this·​default
759 B
./usr/share/man/man3/al_get_default_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7371 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·694
463 B
al_get_default_mixer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_MIXER\·​*al_get_default_mixer​(void)​13 ALLEGRO_MIXER\·​*al_get_default_mixer​(void)​
14 ALLEGRO_MIXER\·​*al_get_default_mixer​(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​default·​mixer,​·​or·​NULL·​if·​one·​has·​not·​been·​set.​18 Return·​the·​default·​mixer,​·​or·​NULL·​if·​one·​has·​not·​been·​set.​
20 Although·​different·​configurations·​of·​mixers·​and·​voices·​can·​be·​used,​·​in19 Although·​different·​configurations·​of·​mixers·​and·​voices·​can·​be·​used,​·​in
21 most·​cases·​a·​single·​mixer·​attached·​to·​a·​voice·​is·​what·​you·​want.​20 most·​cases·​a·​single·​mixer·​attached·​to·​a·​voice·​is·​what·​you·​want.​
631 B
./usr/share/man/man3/al_get_default_voice.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4731 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​430
335 B
al_get_default_voice.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_VOICE\·​*al_get_default_voice​(void)​13 ALLEGRO_VOICE\·​*al_get_default_voice​(void)​
14 ALLEGRO_VOICE\·​*al_get_default_voice​(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​default·​voice·​or·​NULL·​if·​there·​is·​none.​18 Returns·​the·​default·​voice·​or·​NULL·​if·​there·​is·​none.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
717 B
./usr/share/man/man3/al_get_display_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​501
423 B
al_get_display_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_get_display_menu(​ALLEGRO_DISPLAY\·​*display)​13 ALLEGRO_MENU\·​*al_get_display_menu(​ALLEGRO_DISPLAY\·​*display)​
14 ALLEGRO_MENU\·​*al_get_display_menu(​ALLEGRO_DISPLAY\·​*display)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​menu·​associated·​with·​the·​\f[C]display\f[],​·​or·​\f[C]NULL\f[]18 Returns·​the·​menu·​associated·​with·​the·​\f[C]display\f[],​·​or·​\f[C]NULL\f[]
20 if·​it·​does·​not·​have·​a·​menu.​19 if·​it·​does·​not·​have·​a·​menu.​
21 .​SH·​SINCE20 .​SH·​SINCE
657 B
./usr/share/man/man3/al_get_fallback_font.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4991 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​442
361 B
al_get_fallback_font.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 ALLEGRO_FONT\·​*al_get_fallback_font​(ALLEGRO_FONT\·​*font)​13 ALLEGRO_FONT\·​*al_get_fallback_font​(ALLEGRO_FONT\·​*font)​
14 ALLEGRO_FONT\·​*al_get_fallback_font​(ALLEGRO_FONT\·​*font)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Retrieves·​the·​fallback·​font·​for·​this·​font·​or·​NULL.​18 Retrieves·​the·​fallback·​font·​for·​this·​font·​or·​NULL.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
627 B
./usr/share/man/man3/al_get_font_ascent.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4821 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​433
335 B
al_get_font_ascent.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_font_ascent(co​nst\·​ALLEGRO_FONT\·​*f)​13 int\·​al_get_font_ascent(co​nst\·​ALLEGRO_FONT\·​*f)​
14 int\·​al_get_font_ascent(co​nst\·​ALLEGRO_FONT\·​*f)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​ascent·​of·​the·​specified·​font.​18 Returns·​the·​ascent·​of·​the·​specified·​font.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
634 B
./usr/share/man/man3/al_get_font_descent.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4861 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​436
340 B
al_get_font_descent.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_font_descent(c​onst\·​ALLEGRO_FONT\·​*f)​13 int\·​al_get_font_descent(c​onst\·​ALLEGRO_FONT\·​*f)​
14 int\·​al_get_font_descent(c​onst\·​ALLEGRO_FONT\·​*f)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​descent·​of·​the·​specified·​font.​18 Returns·​the·​descent·​of·​the·​specified·​font.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
790 B
./usr/share/man/man3/al_get_font_line_height.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​14161 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1362
486 B
al_get_font_line_height.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_font_line_heig​ht(const\·​ALLEGRO_FONT\·​*f)​13 int\·​al_get_font_line_heig​ht(const\·​ALLEGRO_FONT\·​*f)​
14 int\·​al_get_font_line_heig​ht(const\·​ALLEGRO_FONT\·​*f)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​usual·​height·​of·​a·​line·​of·​text·​in·​the·​specified·​font.​18 Returns·​the·​usual·​height·​of·​a·​line·​of·​text·​in·​the·​specified·​font.​
20 For·​bitmap·​fonts·​this·​is·​simply·​the·​height·​of·​all·​glyph·​bitmaps.​19 For·​bitmap·​fonts·​this·​is·​simply·​the·​height·​of·​all·​glyph·​bitmaps.​
21 For·​truetype·​fonts·​it·​is·​whatever·​the·​font·​file·​specifies.​20 For·​truetype·​fonts·​it·​is·​whatever·​the·​font·​file·​specifies.​
772 B
./usr/share/man/man3/al_get_font_ranges.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10201 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·943
479 B
al_get_font_ranges.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_font_ranges(AL​LEGRO_FONT\·​*f,​\·​int\·​ranges_count,​\·​int\·​*ranges)​13 int\·​al_get_font_ranges(AL​LEGRO_FONT\·​*f,​\·​int\·​ranges_count,​\·​int\·​*ranges)​
14 int\·​al_get_font_ranges(AL​LEGRO_FONT\·​*f,​\·​int\·​ranges_count,​\·​int\·​*ranges)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Gets·​information·​about·​all·​glyphs·​contained·​in·​a·​font,​·​as·​a·​list·​of18 Gets·​information·​about·​all·​glyphs·​contained·​in·​a·​font,​·​as·​a·​list·​of
20 ranges.​19 ranges.​
21 Ranges·​have·​the·​same·​format·​as·​with·​al_grab_font_from_bit​map(3alleg5)​.​20 Ranges·​have·​the·​same·​format·​as·​with·​al_grab_font_from_bit​map(3alleg5)​.​
822 B
./usr/share/man/man3/al_get_glyph.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9681 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·861
542 B
al_get_glyph.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 bool\·​al_get_glyph(const\·​ALLEGRO_FONT\·​*f,​\·​int\·​prev_codepoint,​\·​int\·​codepoint,​\·​ALLEGRO_GLYPH\·​*glyph)​13 bool\·​al_get_glyph(const\·​ALLEGRO_FONT\·​*f,​\·​int\·​prev_codepoint,​\·​int\·​codepoint,​\·​ALLEGRO_GLYPH\·​*glyph)​
14 bool\·​al_get_glyph(const\·​ALLEGRO_FONT\·​*f,​\·​int\·​prev_codepoint,​\·​int\·​codepoint,​\·​ALLEGRO_GLYPH\·​*glyph)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Gets·​all·​the·​information·​about·​a·​glyph,​·​including·​the·​bitmap,​·​needed·​to18 Gets·​all·​the·​information·​about·​a·​glyph,​·​including·​the·​bitmap,​·​needed·​to
20 draw·​it·​yourself.​19 draw·​it·​yourself.​
21 prev_codepoint·​is·​the·​codepoint·​in·​the·​string·​before·​the·​one·​you·​want·​to20 prev_codepoint·​is·​the·​codepoint·​in·​the·​string·​before·​the·​one·​you·​want·​to
872 B
./usr/share/man/man3/al_get_glyph_advance.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​35691 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3482
574 B
al_get_glyph_advance.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_glyph_advance(​const\·​ALLEGRO_FONT\·​*f,​\·​int\·​codepoint1,​\·​int\·​codepoint2)​13 int\·​al_get_glyph_advance(​const\·​ALLEGRO_FONT\·​*f,​\·​int\·​codepoint1,​\·​int\·​codepoint2)​
14 int\·​al_get_glyph_advance(​const\·​ALLEGRO_FONT\·​*f,​\·​int\·​codepoint1,​\·​int\·​codepoint2)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​function·​returns·​by·​how·​much·​the·​x·​position·​should·​be·​advanced·​for18 This·​function·​returns·​by·​how·​much·​the·​x·​position·​should·​be·​advanced·​for
20 left·​to·​right·​text·​drawing·​when·​the·​glyph·​that·​corresponds·​to·​codepoint119 left·​to·​right·​text·​drawing·​when·​the·​glyph·​that·​corresponds·​to·​codepoint1
21 has·​been·​drawn,​·​and·​the·​glyph·​that·​corresponds·​to·​codepoint2·​will·​be·​the20 has·​been·​drawn,​·​and·​the·​glyph·​that·​corresponds·​to·​codepoint2·​will·​be·​the
912 B
./usr/share/man/man3/al_get_glyph_dimensions.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​34851 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3360
608 B
al_get_glyph_dimensions.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 bool\·​al_get_glyph_dimensio​ns(const\·​ALLEGRO_FONT\·​*f,​13 bool\·​al_get_glyph_dimensio​ns(const\·​ALLEGRO_FONT\·​*f,​
14 \·​\·​\·​int\·​codepoint,​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​14 \·​\·​\·​int\·​codepoint,​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​
15 bool\·​al_get_glyph_dimensio​ns(const\·​ALLEGRO_FONT\·​*f,​ 
16 \·​\·​\·​int\·​codepoint,​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Sometimes,​·​the·​al_get_glyph_width(3a​lleg5)​·​or19 Sometimes,​·​the·​al_get_glyph_width(3a​lleg5)​·​or
22 al_get_glyph_advance(​3alleg5)​·​functions·​are·​not·​enough·​for·​exact·​glyph20 al_get_glyph_advance(​3alleg5)​·​functions·​are·​not·​enough·​for·​exact·​glyph
23 placement,​·​so·​this·​function·​returns·​some·​additional·​information,​21 placement,​·​so·​this·​function·​returns·​some·​additional·​information,​
778 B
./usr/share/man/man3/al_get_glyph_width.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6971 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​631
486 B
al_get_glyph_width.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_glyph_width(co​nst\·​ALLEGRO_FONT\·​*f,​\·​int\·​codepoint)​13 int\·​al_get_glyph_width(co​nst\·​ALLEGRO_FONT\·​*f,​\·​int\·​codepoint)​
14 int\·​al_get_glyph_width(co​nst\·​ALLEGRO_FONT\·​*f,​\·​int\·​codepoint)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​function·​returns·​the·​width·​in·​pixels·​of·​the·​glyph·​that·​corresponds18 This·​function·​returns·​the·​width·​in·​pixels·​of·​the·​glyph·​that·​corresponds
20 with·​\f[C]codepoint\f[]·​in·​the·​font·​\f[C]font\f[].​19 with·​\f[C]codepoint\f[]·​in·​the·​font·​\f[C]font\f[].​
21 Returns·​zero·​if·​the·​font·​does·​not·​have·​such·​a·​glyph.​20 Returns·​zero·​if·​the·​font·​does·​not·​have·​such·​a·​glyph.​
673 B
./usr/share/man/man3/al_get_index_buffer_size.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5061 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·445
369 B
al_get_index_buffer_size.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 int\·​al_get_index_buffer_s​ize(ALLEGRO_INDEX_BUF​FER*\·​buffer)​13 int\·​al_get_index_buffer_s​ize(ALLEGRO_INDEX_BUF​FER*\·​buffer)​
14 int\·​al_get_index_buffer_s​ize(ALLEGRO_INDEX_BUF​FER*\·​buffer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​size·​of·​the·​index·​buffer18 Returns·​the·​size·​of·​the·​index·​buffer
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
792 B
./usr/share/man/man3/al_get_menu_item_caption.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6541 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·581
488 B
al_get_menu_item_caption.3alleg5
    
Offset 7, 15 lines modifiedOffset 7, 14 lines modified
7 al_get_menu_item_capt​ion·​\-​·​Allegro·​5·​API7 al_get_menu_item_capt​ion·​\-​·​Allegro·​5·​API
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 const\·​char\·​*al_get_menu_item_cap​tion(ALLEGRO_get_alle​gro_image_version 
14 const\·​char\·​*al_get_menu_item_cap​tion(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​13 const\·​char\·​*al_get_menu_item_cap​tion(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​caption·​associated·​with·​the·​menu·​item.​18 Returns·​the·​caption·​associated·​with·​the·​menu·​item.​
20 It·​is·​valid·​as·​long·​as·​the·​caption·​is·​not·​modified.​19 It·​is·​valid·​as·​long·​as·​the·​caption·​is·​not·​modified.​
723 B
./usr/share/man/man3/al_get_menu_item_flags.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6551 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·595
423 B
al_get_menu_item_flags.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 int\·​al_get_menu_item_flag​s(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​13 int\·​al_get_menu_item_flag​s(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​
14 int\·​al_get_menu_item_flag​s(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​currently·​set·​flags.​18 Returns·​the·​currently·​set·​flags.​
20 See·​al_insert_menu_item(3​alleg5)​·​for·​a·​description·​of·​the·​available19 See·​al_insert_menu_item(3​alleg5)​·​for·​a·​description·​of·​the·​available
21 flags.​20 flags.​
808 B
./usr/share/man/man3/al_get_menu_item_icon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7361 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·665
510 B
al_get_menu_item_icon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_BITMAP\·​*al_get_menu_item_ico​n(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​13 ALLEGRO_BITMAP\·​*al_get_menu_item_ico​n(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​
14 ALLEGRO_BITMAP\·​*al_get_menu_item_ico​n(ALLEGRO_MENU\·​*menu,​\·​int\·​pos)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​icon·​associated·​with·​the·​menu.​18 Returns·​the·​icon·​associated·​with·​the·​menu.​
20 It·​is·​safe·​to·​draw·​to·​the·​returned·​bitmap,​·​but·​you·​must·​call19 It·​is·​safe·​to·​draw·​to·​the·​returned·​bitmap,​·​but·​you·​must·​call
21 al_set_menu_item_icon​(3alleg5)​·​in·​order·​for·​the·​changes·​to·​be·​applied.​20 al_set_menu_item_icon​(3alleg5)​·​in·​order·​for·​the·​changes·​to·​be·​applied.​
667 B
./usr/share/man/man3/al_get_mixer_attached.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6001 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·542
369 B
al_get_mixer_attached.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_get_mixer_attached​(const\·​ALLEGRO_MIXER\·​*mixer)​13 bool\·​al_get_mixer_attached​(const\·​ALLEGRO_MIXER\·​*mixer)​
14 bool\·​al_get_mixer_attached​(const\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​true·​if·​the·​mixer·​is·​attached·​to·​something.​18 Return·​true·​if·​the·​mixer·​is·​attached·​to·​something.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
688 B
./usr/share/man/man3/al_get_mixer_channels.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5051 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·431
390 B
al_get_mixer_channels.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_CHANNEL_CONF\​·​al_get_mixer_channels​(const\·​ALLEGRO_MIXER\·​*mixer)​13 ALLEGRO_CHANNEL_CONF\​·​al_get_mixer_channels​(const\·​ALLEGRO_MIXER\·​*mixer)​
14 ALLEGRO_CHANNEL_CONF\​·​al_get_mixer_channels​(const\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​mixer·​channel·​configuration.​18 Return·​the·​mixer·​channel·​configuration.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
658 B
./usr/share/man/man3/al_get_mixer_depth.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4801 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​410
366 B
al_get_mixer_depth.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_DEPTH\·​al_get_mixer_depth(co​nst\·​ALLEGRO_MIXER\·​*mixer)​13 ALLEGRO_AUDIO_DEPTH\·​al_get_mixer_depth(co​nst\·​ALLEGRO_MIXER\·​*mixer)​
14 ALLEGRO_AUDIO_DEPTH\·​al_get_mixer_depth(co​nst\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​mixer·​audio·​depth.​18 Return·​the·​mixer·​audio·​depth.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
676 B
./usr/share/man/man3/al_get_mixer_frequency.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4921 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​424
376 B
al_get_mixer_frequency.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_mixer_frequenc​y(const\·​ALLEGRO_MIXER\·​*mixer)​13 unsigned\·​int\·​al_get_mixer_frequenc​y(const\·​ALLEGRO_MIXER\·​*mixer)​
14 unsigned\·​int\·​al_get_mixer_frequenc​y(const\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​mixer·​frequency·​(in·​Hz)​.​18 Return·​the·​mixer·​frequency·​(in·​Hz)​.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
653 B
./usr/share/man/man3/al_get_mixer_gain.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5091 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·454
363 B
al_get_mixer_gain.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_mixer_gain(con​st\·​ALLEGRO_MIXER\·​*mixer)​13 float\·​al_get_mixer_gain(con​st\·​ALLEGRO_MIXER\·​*mixer)​
14 float\·​al_get_mixer_gain(con​st\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​mixer·​gain·​(amplification·​factor)​.​18 Return·​the·​mixer·​gain·​(amplification·​factor)​.​
20 The·​default·​is·​1.​0.​19 The·​default·​is·​1.​0.​
21 .​SH·​SINCE20 .​SH·​SINCE
647 B
./usr/share/man/man3/al_get_mixer_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4661 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​409
351 B
al_get_mixer_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_get_mixer_playing(​const\·​ALLEGRO_MIXER\·​*mixer)​13 bool\·​al_get_mixer_playing(​const\·​ALLEGRO_MIXER\·​*mixer)​
14 bool\·​al_get_mixer_playing(​const\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​true·​if·​the·​mixer·​is·​playing.​18 Return·​true·​if·​the·​mixer·​is·​playing.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
670 B
./usr/share/man/man3/al_get_mixer_quality.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5201 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·446
374 B
al_get_mixer_quality.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_MIXER_QUALITY​\·​al_get_mixer_quality(​const\·​ALLEGRO_MIXER\·​*mixer)​13 ALLEGRO_MIXER_QUALITY​\·​al_get_mixer_quality(​const\·​ALLEGRO_MIXER\·​*mixer)​
14 ALLEGRO_MIXER_QUALITY​\·​al_get_mixer_quality(​const\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​mixer·​quality.​18 Return·​the·​mixer·​quality.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
749 B
./usr/share/man/man3/al_get_native_file_dialog_count.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5171 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·443
431 B
al_get_native_file_dialog_count.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 int\·​al_get_native_file_di​alog_count(const\·​ALLEGRO_FILECHOOSER\·​*dialog)​13 int\·​al_get_native_file_di​alog_count(const\·​ALLEGRO_FILECHOOSER\·​*dialog)​
14 int\·​al_get_native_file_di​alog_count(const\·​ALLEGRO_FILECHOOSER\·​*dialog)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​number·​of·​files·​selected,​·​or·​0·​if·​the·​dialog·​was·​cancelled.​18 Returns·​the·​number·​of·​files·​selected,​·​or·​0·​if·​the·​dialog·​was·​cancelled.​
891 B
./usr/share/man/man3/al_get_native_file_dialog_path.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6711 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·570
575 B
al_get_native_file_dialog_path.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 const\·​char\·​*al_get_native_file_d​ialog_path(13 const\·​char\·​*al_get_native_file_d​ialog_path(
14 \·​\·​\·​const\·​ALLEGRO_FILECHOOSER\·​*dialog,​\·​size_t\·​i)​14 \·​\·​\·​const\·​ALLEGRO_FILECHOOSER\·​*dialog,​\·​size_t\·​i)​
15 const\·​char\·​*al_get_native_file_d​ialog_path( 
16 \·​\·​\·​const\·​ALLEGRO_FILECHOOSER\·​*dialog,​\·​size_t\·​i)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Returns·​one·​of·​the·​selected·​paths·​with·​index·​\f[C]i\f[].​19 Returns·​one·​of·​the·​selected·​paths·​with·​index·​\f[C]i\f[].​
22 The·​index·​should·​range·​from·​\f[C]0\f[]·​to·​the·​return·​value·​of20 The·​index·​should·​range·​from·​\f[C]0\f[]·​to·​the·​return·​value·​of
23 al_get_native_file_di​alog_count(3alleg5)​·​\f[C]\-​1\f[].​21 al_get_native_file_di​alog_count(3alleg5)​·​\f[C]\-​1\f[].​
793 B
./usr/share/man/man3/al_get_native_text_log_event_source.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·839
467 B
al_get_native_text_log_event_source.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_EVENT_SOURCE\​·​*al_get_native_text_l​og_event_source(13 ALLEGRO_EVENT_SOURCE\​·​*al_get_native_text_l​og_event_source(
14 \·​\·​\·​ALLEGRO_TEXTLOG\·​*textlog)​14 \·​\·​\·​ALLEGRO_TEXTLOG\·​*textlog)​
15 ALLEGRO_EVENT_SOURCE\​·​*al_get_native_text_l​og_event_source( 
16 \·​\·​\·​ALLEGRO_TEXTLOG\·​*textlog)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Get·​an·​event·​source·​for·​a·​text·​log·​window.​19 Get·​an·​event·​source·​for·​a·​text·​log·​window.​
22 The·​possible·​events·​are:​20 The·​possible·​events·​are:​
23 .​TP21 .​TP
705 B
./usr/share/man/man3/al_get_sample.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8711 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​809
423 B
al_get_sample.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_SAMPLE\·​*al_get_sample(ALLEGR​O_SAMPLE_INSTANCE\·​*spl)​13 ALLEGRO_SAMPLE\·​*al_get_sample(ALLEGR​O_SAMPLE_INSTANCE\·​*spl)​
14 ALLEGRO_SAMPLE\·​*al_get_sample(ALLEGR​O_SAMPLE_INSTANCE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​sample·​data·​that·​the·​sample·​instance·​plays.​18 Return·​the·​sample·​data·​that·​the·​sample·​instance·​plays.​
20 .​PP19 .​PP
21 Note·​this·​returns·​a·​pointer·​to·​an·​internal·​structure,​·​\f[I]not\f[]·​the20 Note·​this·​returns·​a·​pointer·​to·​an·​internal·​structure,​·​\f[I]not\f[]·​the
700 B
./usr/share/man/man3/al_get_sample_channels.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6381 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·564
400 B
al_get_sample_channels.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_CHANNEL_CONF\​·​al_get_sample_channel​s(const\·​ALLEGRO_SAMPLE\·​*spl)​13 ALLEGRO_CHANNEL_CONF\​·​al_get_sample_channel​s(const\·​ALLEGRO_SAMPLE\·​*spl)​
14 ALLEGRO_CHANNEL_CONF\​·​al_get_sample_channel​s(const\·​ALLEGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​channel·​configuration·​of·​the·​sample.​18 Return·​the·​channel·​configuration·​of·​the·​sample.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
639 B
./usr/share/man/man3/al_get_sample_data.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5581 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​503
347 B
al_get_sample_data.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​*al_get_sample_data(c​onst\·​ALLEGRO_SAMPLE\·​*spl)​13 void\·​*al_get_sample_data(c​onst\·​ALLEGRO_SAMPLE\·​*spl)​
14 void\·​*al_get_sample_data(c​onst\·​ALLEGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​a·​pointer·​to·​the·​raw·​sample·​data.​18 Return·​a·​pointer·​to·​the·​raw·​sample·​data.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
670 B
./usr/share/man/man3/al_get_sample_depth.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6161 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·546
376 B
al_get_sample_depth.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_DEPTH\·​al_get_sample_depth(c​onst\·​ALLEGRO_SAMPLE\·​*spl)​13 ALLEGRO_AUDIO_DEPTH\·​al_get_sample_depth(c​onst\·​ALLEGRO_SAMPLE\·​*spl)​
14 ALLEGRO_AUDIO_DEPTH\·​al_get_sample_depth(c​onst\·​ALLEGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​audio·​depth·​of·​the·​sample.​18 Return·​the·​audio·​depth·​of·​the·​sample.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
688 B
./usr/share/man/man3/al_get_sample_frequency.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5921 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​524
386 B
al_get_sample_frequency.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_sample_frequen​cy(const\·​ALLEGRO_SAMPLE\·​*spl)​13 unsigned\·​int\·​al_get_sample_frequen​cy(const\·​ALLEGRO_SAMPLE\·​*spl)​
14 unsigned\·​int\·​al_get_sample_frequen​cy(const\·​ALLEGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​frequency·​(in·​Hz)​·​of·​the·​sample.​18 Return·​the·​frequency·​(in·​Hz)​·​of·​the·​sample.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
753 B
./usr/share/man/man3/al_get_sample_instance_attached.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6441 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·568
435 B
al_get_sample_instance_attached.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_get_sample_instanc​e_attached(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 bool\·​al_get_sample_instanc​e_attached(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 bool\·​al_get_sample_instanc​e_attached(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​whether·​the·​sample·​instance·​is·​attached·​to·​something.​18 Return·​whether·​the·​sample·​instance·​is·​attached·​to·​something.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
797 B
./usr/share/man/man3/al_get_sample_instance_channels.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6061 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·507
479 B
al_get_sample_instance_channels.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_CHANNEL_CONF\​·​al_get_sample_instanc​e_channels(13 ALLEGRO_CHANNEL_CONF\​·​al_get_sample_instanc​e_channels(
14 \·​\·​\·​const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​14 \·​\·​\·​const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
15 ALLEGRO_CHANNEL_CONF\​·​al_get_sample_instanc​e_channels( 
16 \·​\·​\·​const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Return·​the·​channel·​configuration·​of·​the·​sample·​instance's·​sample·​data.​19 Return·​the·​channel·​configuration·​of·​the·​sample·​instance's·​sample·​data.​
22 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
23 .​PP21 .​PP
765 B
./usr/share/man/man3/al_get_sample_instance_depth.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5671 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·479
453 B
al_get_sample_instance_depth.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_DEPTH\·​al_get_sample_instanc​e_depth(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 ALLEGRO_AUDIO_DEPTH\·​al_get_sample_instanc​e_depth(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 ALLEGRO_AUDIO_DEPTH\·​al_get_sample_instanc​e_depth(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​audio·​depth·​of·​the·​sample·​instance's·​sample·​data.​18 Return·​the·​audio·​depth·​of·​the·​sample·​instance's·​sample·​data.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
764 B
./usr/share/man/man3/al_get_sample_instance_frequency.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·444
444 B
al_get_sample_instance_frequency.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_sample_instanc​e_frequency(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 unsigned\·​int\·​al_get_sample_instanc​e_frequency(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 unsigned\·​int\·​al_get_sample_instanc​e_frequency(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​frequency·​(in·​Hz)​·​of·​the·​sample·​instance's·​sample·​data.​18 Return·​the·​frequency·​(in·​Hz)​·​of·​the·​sample·​instance's·​sample·​data.​
719 B
./usr/share/man/man3/al_get_sample_instance_gain.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·457
409 B
al_get_sample_instance_gain.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_sample_instanc​e_gain(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 float\·​al_get_sample_instanc​e_gain(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 float\·​al_get_sample_instanc​e_gain(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​playback·​gain·​of·​the·​sample·​instance.​18 Return·​the·​playback·​gain·​of·​the·​sample·​instance.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
825 B
./usr/share/man/man3/al_get_sample_instance_length.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6761 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·593
511 B
al_get_sample_instance_length.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_sample_instanc​e_length(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 unsigned\·​int\·​al_get_sample_instanc​e_length(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 unsigned\·​int\·​al_get_sample_instanc​e_length(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​length·​of·​the·​sample·​instance·​in·​sample·​values.​18 Return·​the·​length·​of·​the·​sample·​instance·​in·​sample·​values.​
20 This·​property·​may·​differ·​from·​the·​length·​of·​the·​instance's·​sample·​data.​19 This·​property·​may·​differ·​from·​the·​length·​of·​the·​instance's·​sample·​data.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
706 B
./usr/share/man/man3/al_get_sample_instance_pan.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5191 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·447
398 B
al_get_sample_instance_pan.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_sample_instanc​e_pan(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 float\·​al_get_sample_instanc​e_pan(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 float\·​al_get_sample_instanc​e_pan(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Get·​the·​pan·​value·​of·​the·​sample·​instance.​18 Get·​the·​pan·​value·​of·​the·​sample·​instance.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
809 B
./usr/share/man/man3/al_get_sample_instance_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·546
493 B
al_get_sample_instance_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_get_sample_instanc​e_playing(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 bool\·​al_get_sample_instanc​e_playing(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 bool\·​al_get_sample_instanc​e_playing(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​true·​if·​the·​sample·​instance·​is·​in·​the·​playing·​state.​18 Return·​true·​if·​the·​sample·​instance·​is·​in·​the·​playing·​state.​
20 This·​may·​be·​true·​even·​if·​the·​instance·​is·​not·​attached·​to·​anything.​19 This·​may·​be·​true·​even·​if·​the·​instance·​is·​not·​attached·​to·​anything.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
765 B
./usr/share/man/man3/al_get_sample_instance_playmode.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5991 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​511
447 B
al_get_sample_instance_playmode.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_PLAYMODE\·​al_get_sample_instanc​e_playmode(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 ALLEGRO_PLAYMODE\·​al_get_sample_instanc​e_playmode(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 ALLEGRO_PLAYMODE\·​al_get_sample_instanc​e_playmode(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​playback·​mode·​of·​the·​sample·​instance.​18 Return·​the·​playback·​mode·​of·​the·​sample·​instance.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
758 B
./usr/share/man/man3/al_get_sample_instance_position.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5651 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·480
440 B
al_get_sample_instance_position.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_sample_instanc​e_position(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 unsigned\·​int\·​al_get_sample_instanc​e_position(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 unsigned\·​int\·​al_get_sample_instanc​e_position(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Get·​the·​playback·​position·​of·​a·​sample·​instance.​18 Get·​the·​playback·​position·​of·​a·​sample·​instance.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
735 B
./usr/share/man/man3/al_get_sample_instance_speed.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5451 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·471
423 B
al_get_sample_instance_speed.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_sample_instanc​e_speed(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 float\·​al_get_sample_instanc​e_speed(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 float\·​al_get_sample_instanc​e_speed(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​relative·​playback·​speed·​of·​the·​sample·​instance.​18 Return·​the·​relative·​playback·​speed·​of·​the·​sample·​instance.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
753 B
./usr/share/man/man3/al_get_sample_instance_time.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5701 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·497
443 B
al_get_sample_instance_time.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 float\·​al_get_sample_instanc​e_time(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​13 float\·​al_get_sample_instanc​e_time(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​
14 float\·​al_get_sample_instanc​e_time(const\·​ALLEGRO_SAMPLE_INSTAN​CE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​length·​of·​the·​sample·​instance·​in·​seconds,​·​assuming·​a·​playback18 Return·​the·​length·​of·​the·​sample·​instance·​in·​seconds,​·​assuming·​a·​playback
20 speed·​of·​1.​0.​19 speed·​of·​1.​0.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
676 B
./usr/share/man/man3/al_get_sample_length.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5891 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​524
380 B
al_get_sample_length.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_sample_length(​const\·​ALLEGRO_SAMPLE\·​*spl)​13 unsigned\·​int\·​al_get_sample_length(​const\·​ALLEGRO_SAMPLE\·​*spl)​
14 unsigned\·​int\·​al_get_sample_length(​const\·​ALLEGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​length·​of·​the·​sample·​in·​sample·​values.​18 Return·​the·​length·​of·​the·​sample·​in·​sample·​values.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
924 B
./usr/share/man/man3/al_get_text_dimensions.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10951 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·962
623 B
al_get_text_dimensions.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_get_text_dimension​s(const\·​ALLEGRO_FONT\·​*f,​13 void\·​al_get_text_dimension​s(const\·​ALLEGRO_FONT\·​*f,​
14 \·​\·​\·​char\·​const\·​*text,​14 \·​\·​\·​char\·​const\·​*text,​
15 \·​\·​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​15 \·​\·​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​
16 void\·​al_get_text_dimension​s(const\·​ALLEGRO_FONT\·​*f,​ 
17 \·​\·​\·​char\·​const\·​*text,​ 
18 \·​\·​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Sometimes,​·​the·​al_get_text_width(3al​leg5)​·​and20 Sometimes,​·​the·​al_get_text_width(3al​leg5)​·​and
24 al_get_font_line_heig​ht(3alleg5)​·​functions·​are·​not·​enough·​for·​exact·​text21 al_get_font_line_heig​ht(3alleg5)​·​functions·​are·​not·​enough·​for·​exact·​text
25 placement,​·​so·​this·​function·​returns·​some·​additional·​information.​22 placement,​·​so·​this·​function·​returns·​some·​additional·​information.​
686 B
./usr/share/man/man3/al_get_text_width.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5741 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​506
396 B
al_get_text_width.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_text_width(con​st\·​ALLEGRO_FONT\·​*f,​\·​const\·​char\·​*str)​13 int\·​al_get_text_width(con​st\·​ALLEGRO_FONT\·​*f,​\·​const\·​char\·​*str)​
14 int\·​al_get_text_width(con​st\·​ALLEGRO_FONT\·​*f,​\·​const\·​char\·​*str)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Calculates·​the·​length·​of·​a·​string·​in·​a·​particular·​font,​·​in·​pixels.​18 Calculates·​the·​length·​of·​a·​string·​in·​a·​particular·​font,​·​in·​pixels.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
892 B
./usr/share/man/man3/al_get_ustr_dimensions.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7251 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·584
592 B
al_get_ustr_dimensions.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_get_ustr_dimension​s(const\·​ALLEGRO_FONT\·​*f,​13 void\·​al_get_ustr_dimension​s(const\·​ALLEGRO_FONT\·​*f,​
14 \·​\·​\·​ALLEGRO_USTR\·​const\·​*ustr,​14 \·​\·​\·​ALLEGRO_USTR\·​const\·​*ustr,​
15 \·​\·​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​15 \·​\·​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​
16 void\·​al_get_ustr_dimension​s(const\·​ALLEGRO_FONT\·​*f,​ 
17 \·​\·​\·​ALLEGRO_USTR\·​const\·​*ustr,​ 
18 \·​\·​\·​int\·​*bbx,​\·​int\·​*bby,​\·​int\·​*bbw,​\·​int\·​*bbh)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Like·​al_get_text_dimension​s(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an20 Like·​al_get_text_dimension​s(3alleg5)​,​·​except·​the·​text·​is·​passed·​as·​an
24 ALLEGRO_USTR·​instead·​of·​a·​NUL\-​terminated·​char·​array.​21 ALLEGRO_USTR·​instead·​of·​a·​NUL\-​terminated·​char·​array.​
25 .​SH·​SEE·​ALSO22 .​SH·​SEE·​ALSO
698 B
./usr/share/man/man3/al_get_ustr_width.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5521 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·475
408 B
al_get_ustr_width.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 int\·​al_get_ustr_width(con​st\·​ALLEGRO_FONT\·​*f,​\·​ALLEGRO_USTR\·​const\·​*ustr)​13 int\·​al_get_ustr_width(con​st\·​ALLEGRO_FONT\·​*f,​\·​ALLEGRO_USTR\·​const\·​*ustr)​
14 int\·​al_get_ustr_width(con​st\·​ALLEGRO_FONT\·​*f,​\·​ALLEGRO_USTR\·​const\·​*ustr)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Like·​al_get_text_width(3al​leg5)​·​but·​expects·​an·​ALLEGRO_USTR.​18 Like·​al_get_text_width(3al​leg5)​·​but·​expects·​an·​ALLEGRO_USTR.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
682 B
./usr/share/man/man3/al_get_vertex_buffer_size.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5141 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·451
376 B
al_get_vertex_buffer_size.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 int\·​al_get_vertex_buffer_​size(ALLEGRO_VERTEX_B​UFFER*\·​buffer)​13 int\·​al_get_vertex_buffer_​size(ALLEGRO_VERTEX_B​UFFER*\·​buffer)​
14 int\·​al_get_vertex_buffer_​size(ALLEGRO_VERTEX_B​UFFER*\·​buffer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​size·​of·​the·​vertex·​buffer18 Returns·​the·​size·​of·​the·​vertex·​buffer
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
659 B
./usr/share/man/man3/al_get_video_audio_rate.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·392
357 B
al_get_video_audio_rate.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 double\·​al_get_video_audio_ra​te(ALLEGRO_VIDEO\·​*video)​13 double\·​al_get_video_audio_ra​te(ALLEGRO_VIDEO\·​*video)​
14 double\·​al_get_video_audio_ra​te(ALLEGRO_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​audio·​rate·​of·​the·​video,​·​in·​Hz.​18 Returns·​the·​audio·​rate·​of·​the·​video,​·​in·​Hz.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
753 B
./usr/share/man/man3/al_get_video_event_source.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5511 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·479
447 B
al_get_video_event_source.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 ALLEGRO_EVENT_SOURCE\​·​*al_get_video_event_s​ource(ALLEGRO_VIDEO\·​*video)​13 ALLEGRO_EVENT_SOURCE\​·​*al_get_video_event_s​ource(ALLEGRO_VIDEO\·​*video)​
14 ALLEGRO_EVENT_SOURCE\​·​*al_get_video_event_s​ource(ALLEGRO_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Get·​an·​event·​source·​for·​the·​video.​18 Get·​an·​event·​source·​for·​the·​video.​
20 The·​possible·​events·​are·​described·​under19 The·​possible·​events·​are·​described·​under
21 ALLEGRO_VIDEO_EVENT_T​YPE(3alleg5)​.​20 ALLEGRO_VIDEO_EVENT_T​YPE(3alleg5)​.​
663 B
./usr/share/man/man3/al_get_video_fps.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4691 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​421
375 B
al_get_video_fps.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 double\·​al_get_video_fps(ALLE​GRO_VIDEO\·​*video)​13 double\·​al_get_video_fps(ALLE​GRO_VIDEO\·​*video)​
14 double\·​al_get_video_fps(ALLE​GRO_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​speed·​of·​the·​video·​in·​frames·​per·​second.​18 Returns·​the·​speed·​of·​the·​video·​in·​frames·​per·​second.​
20 Often·​this·​will·​not·​be·​an·​integer·​value.​19 Often·​this·​will·​not·​be·​an·​integer·​value.​
21 .​SH·​SINCE20 .​SH·​SINCE
757 B
./usr/share/man/man3/al_get_video_frame.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12111 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1152
463 B
al_get_video_frame.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 ALLEGRO_BITMAP\·​*al_get_video_frame(A​LLEGRO_VIDEO\·​*video)​13 ALLEGRO_BITMAP\·​*al_get_video_frame(A​LLEGRO_VIDEO\·​*video)​
14 ALLEGRO_BITMAP\·​*al_get_video_frame(A​LLEGRO_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​current·​video·​frame.​18 Returns·​the·​current·​video·​frame.​
20 The·​bitmap·​is·​owned·​by·​the·​video·​so·​do·​not·​attempt·​to·​free·​it.​19 The·​bitmap·​is·​owned·​by·​the·​video·​so·​do·​not·​attempt·​to·​free·​it.​
21 The·​bitmap·​will·​stay·​valid·​until·​the·​next·​call·​to·​al_get_video_frame.​20 The·​bitmap·​will·​stay·​valid·​until·​the·​next·​call·​to·​al_get_video_frame.​
809 B
./usr/share/man/man3/al_get_video_position.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6261 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·536
511 B
al_get_video_position.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 double\·​al_get_video_position​(ALLEGRO_VIDEO\·​*video,​\·​ALLEGRO_VIDEO_POSITIO​N_TYPE\·​which)​13 double\·​al_get_video_position​(ALLEGRO_VIDEO\·​*video,​\·​ALLEGRO_VIDEO_POSITIO​N_TYPE\·​which)​
14 double\·​al_get_video_position​(ALLEGRO_VIDEO\·​*video,​\·​ALLEGRO_VIDEO_POSITIO​N_TYPE\·​which)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​current·​position·​of·​the·​video·​stream·​in·​seconds·​since·​the18 Returns·​the·​current·​position·​of·​the·​video·​stream·​in·​seconds·​since·​the
20 beginning.​19 beginning.​
21 The·​parameter·​is·​one·​of·​the·​ALLEGRO_VIDEO_POSITIO​N_TYPE(3alleg5)​20 The·​parameter·​is·​one·​of·​the·​ALLEGRO_VIDEO_POSITIO​N_TYPE(3alleg5)​
795 B
./usr/share/man/man3/al_get_video_scaled_height.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6371 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·580
487 B
al_get_video_scaled_height.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 float\·​al_get_video_scaled_h​eight(ALLEGRO_VIDEO\·​*video)​13 float\·​al_get_video_scaled_h​eight(ALLEGRO_VIDEO\·​*video)​
14 float\·​al_get_video_scaled_h​eight(ALLEGRO_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​height·​with·​which·​the·​video·​frame·​should·​be·​drawn.​18 Returns·​the·​height·​with·​which·​the·​video·​frame·​should·​be·​drawn.​
20 Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value19 Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value
21 larger·​than·​the·​height·​of·​the·​frame·​bitmap.​20 larger·​than·​the·​height·​of·​the·​frame·​bitmap.​
787 B
./usr/share/man/man3/al_get_video_scaled_width.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6311 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·575
481 B
al_get_video_scaled_width.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 float\·​al_get_video_scaled_w​idth(ALLEGRO_VIDEO\·​*video)​13 float\·​al_get_video_scaled_w​idth(ALLEGRO_VIDEO\·​*video)​
14 float\·​al_get_video_scaled_w​idth(ALLEGRO_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​the·​width·​with·​which·​the·​video·​frame·​should·​be·​drawn.​18 Returns·​the·​width·​with·​which·​the·​video·​frame·​should·​be·​drawn.​
20 Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value19 Videos·​often·​do·​not·​use·​square·​pixels,​·​so·​this·​will·​may·​return·​a·​value
21 larger·​than·​the·​width·​of·​the·​frame·​bitmap.​20 larger·​than·​the·​width·​of·​the·​frame·​bitmap.​
695 B
./usr/share/man/man3/al_get_voice_channels.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5121 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·438
397 B
al_get_voice_channels.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_CHANNEL_CONF\​·​al_get_voice_channels​(const\·​ALLEGRO_VOICE\·​*voice)​13 ALLEGRO_CHANNEL_CONF\​·​al_get_voice_channels​(const\·​ALLEGRO_VOICE\·​*voice)​
14 ALLEGRO_CHANNEL_CONF\​·​al_get_voice_channels​(const\·​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​channel·​configuration·​of·​the·​voice.​18 Return·​the·​channel·​configuration·​of·​the·​voice.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
665 B
./usr/share/man/man3/al_get_voice_depth.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4871 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​417
373 B
al_get_voice_depth.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_DEPTH\·​al_get_voice_depth(co​nst\·​ALLEGRO_VOICE\·​*voice)​13 ALLEGRO_AUDIO_DEPTH\·​al_get_voice_depth(co​nst\·​ALLEGRO_VOICE\·​*voice)​
14 ALLEGRO_AUDIO_DEPTH\·​al_get_voice_depth(co​nst\·​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​audio·​depth·​of·​the·​voice.​18 Return·​the·​audio·​depth·​of·​the·​voice.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
677 B
./usr/share/man/man3/al_get_voice_frequency.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·395
377 B
al_get_voice_frequency.3alleg5
    
Offset 8, 13 lines modifiedOffset 8, 12 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_voice_frequenc​y(const\·​ALLEGRO_VOICE\·​*voice)​13 unsigned\·​int\·​al_get_voice_frequenc​y(const\·​ALLEGRO_VOICE\·​*voice)​
14 unsigned\·​int\·​al_get_voice_frequenc​y(const\·​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​the·​frequency·​of·​the·​voice·​(in·​Hz)​,​·​e.​g.​\·​44100.​18 Return·​the·​frequency·​of·​the·​voice·​(in·​Hz)​,​·​e.​g.​\·​44100.​
657 B
./usr/share/man/man3/al_get_voice_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4751 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​418
361 B
al_get_voice_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_get_voice_playing(​const\·​ALLEGRO_VOICE\·​*voice)​13 bool\·​al_get_voice_playing(​const\·​ALLEGRO_VOICE\·​*voice)​
14 bool\·​al_get_voice_playing(​const\·​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Return·​true·​if·​the·​voice·​is·​currently·​playing.​18 Return·​true·​if·​the·​voice·​is·​currently·​playing.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
762 B
./usr/share/man/man3/al_get_voice_position.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5971 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​530
464 B
al_get_voice_position.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 unsigned\·​int\·​al_get_voice_position​(const\·​ALLEGRO_VOICE\·​*voice)​13 unsigned\·​int\·​al_get_voice_position​(const\·​ALLEGRO_VOICE\·​*voice)​
14 unsigned\·​int\·​al_get_voice_position​(const\·​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 When·​the·​voice·​has·​a·​non\-​streaming·​object·​attached·​to·​it,​·​e.​g.​\·​a18 When·​the·​voice·​has·​a·​non\-​streaming·​object·​attached·​to·​it,​·​e.​g.​\·​a
20 sample,​·​returns·​the·​voice's·​current·​sample·​position.​19 sample,​·​returns·​the·​voice's·​current·​sample·​position.​
21 Otherwise,​·​returns·​zero.​20 Otherwise,​·​returns·​zero.​
836 B
./usr/share/man/man3/al_grab_font_from_bitmap.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​27171 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2611
530 B
al_grab_font_from_bitmap.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 ALLEGRO_FONT\·​*al_grab_font_from_bi​tmap(ALLEGRO_BITMAP\·​*bmp,​13 ALLEGRO_FONT\·​*al_grab_font_from_bi​tmap(ALLEGRO_BITMAP\·​*bmp,​
14 \·​\·​\·​int\·​ranges_n,​\·​const\·​int\·​ranges[])​14 \·​\·​\·​int\·​ranges_n,​\·​const\·​int\·​ranges[])​
15 ALLEGRO_FONT\·​*al_grab_font_from_bi​tmap(ALLEGRO_BITMAP\·​*bmp,​ 
16 \·​\·​\·​int\·​ranges_n,​\·​const\·​int\·​ranges[])​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Creates·​a·​new·​font·​from·​an·​Allegro·​bitmap.​19 Creates·​a·​new·​font·​from·​an·​Allegro·​bitmap.​
22 You·​can·​delete·​the·​bitmap·​after·​the·​function·​returns·​as·​the·​font·​will20 You·​can·​delete·​the·​bitmap·​after·​the·​function·​returns·​as·​the·​font·​will
23 contain·​a·​copy·​for·​itself.​21 contain·​a·​copy·​for·​itself.​
710 B
./usr/share/man/man3/al_init.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9161 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·840
440 B
al_init.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​al_init()​\·​\·​\·​\·​(al_install_system(AL​LEGRO_VERSION_INT,​\·​atexit)​)​13 #define\·​al_init()​\·​\·​\·​\·​(al_install_system(AL​LEGRO_VERSION_INT,​\·​atexit)​)​
14 #define\·​al_init()​\·​\·​\·​\·​(al_install_system(AL​LEGRO_VERSION_INT,​\·​atexit)​)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Like·​al_install_system(3al​leg5)​,​·​but·​automatically·​passes·​in·​the·​version18 Like·​al_install_system(3al​leg5)​,​·​but·​automatically·​passes·​in·​the·​version
20 and·​uses·​the·​atexit·​function·​visible·​in·​the·​current·​binary.​19 and·​uses·​the·​atexit·​function·​visible·​in·​the·​current·​binary.​
21 .​RS20 .​RS
701 B
./usr/share/man/man3/al_init_acodec_addon.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​13031 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1270
403 B
al_init_acodec_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_acodec.​h>12 #include\·​<allegro5/​allegro_acodec.​h>
  
13 bool\·​al_init_acodec_addon(​void)​13 bool\·​al_init_acodec_addon(​void)​
14 bool\·​al_init_acodec_addon(​void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​function·​registers·​all·​the·​known·​audio·​file·​type·​handlers·​for18 This·​function·​registers·​all·​the·​known·​audio·​file·​type·​handlers·​for
20 al_load_sample(3alleg​5)​,​·​al_save_sample(3alleg​5)​,​19 al_load_sample(3alleg​5)​,​·​al_save_sample(3alleg​5)​,​
21 al_load_audio_stream(​3alleg5)​,​·​etc.​20 al_load_audio_stream(​3alleg5)​,​·​etc.​
626 B
./usr/share/man/man3/al_init_font_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​9751 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​944
334 B
al_init_font_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 bool\·​al_init_font_addon(vo​id)​13 bool\·​al_init_font_addon(vo​id)​
14 bool\·​al_init_font_addon(vo​id)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Initialise·​the·​font·​addon.​18 Initialise·​the·​font·​addon.​
20 .​PP19 .​PP
21 Note·​that·​if·​you·​intend·​to·​load·​bitmap·​fonts,​·​you·​will·​need·​to20 Note·​that·​if·​you·​intend·​to·​load·​bitmap·​fonts,​·​you·​will·​need·​to
689 B
./usr/share/man/man3/al_init_image_addon.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11491 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1117
393 B
al_init_image_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_image.​h>12 #include\·​<allegro5/​allegro_image.​h>
  
13 bool\·​al_init_image_addon(v​oid)​13 bool\·​al_init_image_addon(v​oid)​
14 bool\·​al_init_image_addon(v​oid)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Initializes·​the·​image·​addon.​18 Initializes·​the·​image·​addon.​
20 This·​registers·​bitmap·​format·​handlers·​for·​al_load_bitmap(3alleg​5)​,​19 This·​registers·​bitmap·​format·​handlers·​for·​al_load_bitmap(3alleg​5)​,​
21 al_load_bitmap_f(3all​eg5)​,​·​al_save_bitmap(3alleg​5)​,​20 al_load_bitmap_f(3all​eg5)​,​·​al_save_bitmap(3alleg​5)​,​
676 B
./usr/share/man/man3/al_init_native_dialog_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8741 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​834
366 B
al_init_native_dialog_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 bool\·​al_init_native_dialog​_addon(void)​13 bool\·​al_init_native_dialog​_addon(void)​
14 bool\·​al_init_native_dialog​_addon(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Initialise·​the·​native·​dialog·​addon.​18 Initialise·​the·​native·​dialog·​addon.​
20 .​PP19 .​PP
21 Returns·​true·​on·​success,​·​false·​on·​error.​20 Returns·​true·​on·​success,​·​false·​on·​error.​
665 B
./usr/share/man/man3/al_init_primitives_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5001 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·463
361 B
al_init_primitives_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 bool\·​al_init_primitives_ad​don(void)​13 bool\·​al_init_primitives_ad​don(void)​
14 bool\·​al_init_primitives_ad​don(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Initializes·​the·​primitives·​addon.​18 Initializes·​the·​primitives·​addon.​
20 .​PP19 .​PP
21 \f[I]Returns:​\f[]·​True·​on·​success,​·​false·​on·​failure.​20 \f[I]Returns:​\f[]·​True·​on·​success,​·​false·​on·​failure.​
682 B
./usr/share/man/man3/al_init_ttf_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5231 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·493
392 B
al_init_ttf_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 bool\·​al_init_ttf_addon(voi​d)​13 bool\·​al_init_ttf_addon(voi​d)​
14 bool\·​al_init_ttf_addon(voi​d)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Call·​this·​after·​al_init_font_addon(3a​lleg5)​·​to·​make18 Call·​this·​after·​al_init_font_addon(3a​lleg5)​·​to·​make
20 al_load_font(3alleg5)​·​recognize·​\[lq].​ttf\[rq]·​and·​other·​formats19 al_load_font(3alleg5)​·​recognize·​\[lq].​ttf\[rq]·​and·​other·​formats
21 supported·​by·​al_load_ttf_font(3all​eg5)​.​20 supported·​by·​al_load_ttf_font(3all​eg5)​.​
582 B
./usr/share/man/man3/al_init_video_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​3791 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​347
288 B
al_init_video_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 bool\·​al_init_video_addon(v​oid)​13 bool\·​al_init_video_addon(v​oid)​
14 bool\·​al_init_video_addon(v​oid)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Initializes·​the·​video·​addon.​18 Initializes·​the·​video·​addon.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
945 B
./usr/share/man/man3/al_insert_menu_item.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​17431 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1580
649 B
al_insert_menu_item.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 int\·​al_insert_menu_item(A​LLEGRO_MENU\·​*parent,​\·​int\·​pos,​\·​char\·​const\·​*title,​13 int\·​al_insert_menu_item(A​LLEGRO_MENU\·​*parent,​\·​int\·​pos,​\·​char\·​const\·​*title,​
14 \·​\·​\·​uint16_t\·​id,​\·​int\·​flags,​\·​ALLEGRO_BITMAP\·​*icon,​\·​ALLEGRO_MENU\·​*submenu)​14 \·​\·​\·​uint16_t\·​id,​\·​int\·​flags,​\·​ALLEGRO_BITMAP\·​*icon,​\·​ALLEGRO_MENU\·​*submenu)​
15 int\·​al_insert_menu_item(A​LLEGRO_MENU\·​*parent,​\·​int\·​pos,​\·​char\·​const\·​*title,​ 
16 \·​\·​\·​uint16_t\·​id,​\·​int\·​flags,​\·​ALLEGRO_BITMAP\·​*icon,​\·​ALLEGRO_MENU\·​*submenu)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Inserts·​a·​menu·​item·​at·​the·​spot·​specified.​19 Inserts·​a·​menu·​item·​at·​the·​spot·​specified.​
22 See·​the·​introductory·​text·​for·​a·​detailed·​explanation·​of·​how·​the20 See·​the·​introductory·​text·​for·​a·​detailed·​explanation·​of·​how·​the
23 \f[C]pos\f[]·​parameter·​is·​interpreted.​21 \f[C]pos\f[]·​parameter·​is·​interpreted.​
597 B
./usr/share/man/man3/al_install_audio.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6431 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​614
309 B
al_install_audio.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_install_audio(void​)​13 bool\·​al_install_audio(void​)​
14 bool\·​al_install_audio(void​)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Install·​the·​audio·​subsystem.​18 Install·​the·​audio·​subsystem.​
20 .​PP19 .​PP
21 Returns·​true·​on·​success,​·​false·​on·​failure.​20 Returns·​true·​on·​success,​·​false·​on·​failure.​
641 B
./usr/share/man/man3/al_is_audio_installed.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4281 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·394
343 B
al_is_audio_installed.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_is_audio_installed​(void)​13 bool\·​al_is_audio_installed​(void)​
14 bool\·​al_is_audio_installed​(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​true·​if·​al_install_audio(3all​eg5)​·​was·​called·​previously·​and18 Returns·​true·​if·​al_install_audio(3all​eg5)​·​was·​called·​previously·​and
20 returned·​successfully.​19 returned·​successfully.​
635 B
./usr/share/man/man3/al_is_video_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·383
341 B
al_is_video_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 bool\·​al_is_video_playing(A​LLEGRO_VIDEO\·​*video)​13 bool\·​al_is_video_playing(A​LLEGRO_VIDEO\·​*video)​
14 bool\·​al_is_video_playing(A​LLEGRO_VIDEO\·​*video)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​true·​if·​the·​video·​is·​currently·​playing.​18 Returns·​true·​if·​the·​video·​is·​currently·​playing.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
832 B
./usr/share/man/man3/al_load_audio_stream.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​13291 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1208
534 B
al_load_audio_stream.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_STREAM\​·​*al_load_audio_stream​(const\·​char\·​*filename,​13 ALLEGRO_AUDIO_STREAM\​·​*al_load_audio_stream​(const\·​char\·​*filename,​
14 \·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​14 \·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​
15 ALLEGRO_AUDIO_STREAM\​·​*al_load_audio_stream​(const\·​char\·​*filename,​ 
16 \·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Loads·​an·​audio·​file·​from·​disk·​as·​it·​is·​needed.​19 Loads·​an·​audio·​file·​from·​disk·​as·​it·​is·​needed.​
22 .​PP20 .​PP
23 Unlike·​regular·​streams,​·​the·​one·​returned·​by·​this·​function·​need·​not·​be21 Unlike·​regular·​streams,​·​the·​one·​returned·​by·​this·​function·​need·​not·​be
902 B
./usr/share/man/man3/al_load_audio_stream_f.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​16771 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1537
600 B
al_load_audio_stream_f.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_AUDIO_STREAM\​·​*al_load_audio_stream​_f(ALLEGRO_FILE*\·​fp,​\·​const\·​char\·​*ident,​13 ALLEGRO_AUDIO_STREAM\​·​*al_load_audio_stream​_f(ALLEGRO_FILE*\·​fp,​\·​const\·​char\·​*ident,​
14 \·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​14 \·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​
15 ALLEGRO_AUDIO_STREAM\​·​*al_load_audio_stream​_f(ALLEGRO_FILE*\·​fp,​\·​const\·​char\·​*ident,​ 
16 \·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Loads·​an·​audio·​file·​from·​ALLEGRO_FILE(3alleg5)​·​stream·​as·​it·​is·​needed.​19 Loads·​an·​audio·​file·​from·​ALLEGRO_FILE(3alleg5)​·​stream·​as·​it·​is·​needed.​
22 .​PP20 .​PP
23 Unlike·​regular·​streams,​·​the·​one·​returned·​by·​this·​function·​need·​not·​be21 Unlike·​regular·​streams,​·​the·​one·​returned·​by·​this·​function·​need·​not·​be
722 B
./usr/share/man/man3/al_load_bitmap_font.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8331 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·777
428 B
al_load_bitmap_font.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 ALLEGRO_FONT\·​*al_load_bitmap_font(​const\·​char\·​*fname)​13 ALLEGRO_FONT\·​*al_load_bitmap_font(​const\·​char\·​*fname)​
14 ALLEGRO_FONT\·​*al_load_bitmap_font(​const\·​char\·​*fname)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Load·​a·​bitmap·​font·​from·​a·​file.​18 Load·​a·​bitmap·​font·​from·​a·​file.​
20 This·​is·​done·​by·​first·​calling·​al_load_bitmap_flags(​3alleg5)​·​and·​then19 This·​is·​done·​by·​first·​calling·​al_load_bitmap_flags(​3alleg5)​·​and·​then
21 al_grab_font_from_bit​map(3alleg5)​.​20 al_grab_font_from_bit​map(3alleg5)​.​
790 B
./usr/share/man/man3/al_load_bitmap_font_flags.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7421 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·667
484 B
al_load_bitmap_font_flags.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 ALLEGRO_FONT\·​*al_load_bitmap_font_​flags(const\·​char\·​*fname,​\·​int\·​flags)​13 ALLEGRO_FONT\·​*al_load_bitmap_font_​flags(const\·​char\·​*fname,​\·​int\·​flags)​
14 ALLEGRO_FONT\·​*al_load_bitmap_font_​flags(const\·​char\·​*fname,​\·​int\·​flags)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Like·​al_load_bitmap_font(3​alleg5)​·​but·​additionally·​takes·​a·​flags18 Like·​al_load_bitmap_font(3​alleg5)​·​but·​additionally·​takes·​a·​flags
20 parameter·​which·​is·​a·​bitfield·​containing·​a·​combination·​of·​the·​following:​19 parameter·​which·​is·​a·​bitfield·​containing·​a·​combination·​of·​the·​following:​
21 .​TP20 .​TP
755 B
./usr/share/man/man3/al_load_font.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·855
475 B
al_load_font.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 ALLEGRO_FONT\·​*al_load_font(char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​13 ALLEGRO_FONT\·​*al_load_font(char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​
14 ALLEGRO_FONT\·​*al_load_font(char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Loads·​a·​font·​from·​disk.​18 Loads·​a·​font·​from·​disk.​
20 This·​will·​use·​al_load_bitmap_font_f​lags(3alleg5)​·​if·​you·​pass·​the·​name·​of19 This·​will·​use·​al_load_bitmap_font_f​lags(3alleg5)​·​if·​you·​pass·​the·​name·​of
21 a·​known·​bitmap·​format,​·​or·​else·​al_load_ttf_font(3all​eg5)​.​20 a·​known·​bitmap·​format,​·​or·​else·​al_load_ttf_font(3all​eg5)​.​
708 B
./usr/share/man/man3/al_load_sample.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9091 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·853
424 B
al_load_sample.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_SAMPLE\·​*al_load_sample(const​\·​char\·​*filename)​13 ALLEGRO_SAMPLE\·​*al_load_sample(const​\·​char\·​*filename)​
14 ALLEGRO_SAMPLE\·​*al_load_sample(const​\·​char\·​*filename)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Loads·​a·​few·​different·​audio·​file·​formats·​based·​on·​their·​extension.​18 Loads·​a·​few·​different·​audio·​file·​formats·​based·​on·​their·​extension.​
20 .​PP19 .​PP
21 Note·​that·​this·​stores·​the·​entire·​file·​in·​memory·​at·​once,​·​which·​may·​be20 Note·​that·​this·​stores·​the·​entire·​file·​in·​memory·​at·​once,​·​which·​may·​be
695 B
./usr/share/man/man3/al_load_sample_f.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​10871 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1056
405 B
al_load_sample_f.3alleg5
    
Offset 7, 15 lines modifiedOffset 7, 14 lines modified
7 al_load_sample_f·​\-​·​Allegro·​5·​API7 al_load_sample_f·​\-​·​Allegro·​5·​API
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 Aal_get_allegro_acode​c_version 
14 ALLEGRO_SAMPLE\·​*al_load_sample_f(ALL​EGRO_FILE*\·​fp,​\·​const\·​char\·​*ident)​13 ALLEGRO_SAMPLE\·​*al_load_sample_f(ALL​EGRO_FILE*\·​fp,​\·​const\·​char\·​*ident)​
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Loads·​an·​audio·​file·​from·​an·​ALLEGRO_FILE(3alleg5)​·​stream·​into·​an18 Loads·​an·​audio·​file·​from·​an·​ALLEGRO_FILE(3alleg5)​·​stream·​into·​an
20 ALLEGRO_SAMPLE(3alleg​5)​.​19 ALLEGRO_SAMPLE(3alleg​5)​.​
769 B
./usr/share/man/man3/al_load_ttf_font.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​15261 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1445
479 B
al_load_ttf_font.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 ALLEGRO_FONT\·​*al_load_ttf_font(cha​r\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​13 ALLEGRO_FONT\·​*al_load_ttf_font(cha​r\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​
14 ALLEGRO_FONT\·​*al_load_ttf_font(cha​r\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Loads·​a·​TrueType·​font·​from·​a·​file·​using·​the·​FreeType·​library.​18 Loads·​a·​TrueType·​font·​from·​a·​file·​using·​the·​FreeType·​library.​
20 Quoting·​from·​the·​FreeType·​FAQ·​this·​means·​support·​for·​many·​different·​font19 Quoting·​from·​the·​FreeType·​FAQ·​this·​means·​support·​for·​many·​different·​font
21 formats:​20 formats:​
826 B
./usr/share/man/man3/al_load_ttf_font_f.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·718
534 B
al_load_ttf_font_f.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 ALLEGRO_FONT\·​*al_load_ttf_font_f(A​LLEGRO_FILE\·​*file,​13 ALLEGRO_FONT\·​*al_load_ttf_font_f(A​LLEGRO_FILE\·​*file,​
14 \·​\·​\·​\·​char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​14 \·​\·​\·​\·​char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​
15 ALLEGRO_FONT\·​*al_load_ttf_font_f(A​LLEGRO_FILE\·​*file,​ 
16 \·​\·​\·​\·​char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Like·​al_load_ttf_font(3all​eg5)​,​·​but·​the·​font·​is·​read·​from·​the·​file19 Like·​al_load_ttf_font(3all​eg5)​,​·​but·​the·​font·​is·​read·​from·​the·​file
22 handle.​20 handle.​
23 The·​filename·​is·​only·​used·​to·​find·​possible·​additional·​files·​next·​to·​a21 The·​filename·​is·​only·​used·​to·​find·​possible·​additional·​files·​next·​to·​a
808 B
./usr/share/man/man3/al_load_ttf_font_stretch.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11921 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1092
502 B
al_load_ttf_font_stretch.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 ALLEGRO_FONT\·​*al_load_ttf_font_str​etch(char\·​const\·​*filename,​\·​int\·​w,​\·​int\·​h,​13 ALLEGRO_FONT\·​*al_load_ttf_font_str​etch(char\·​const\·​*filename,​\·​int\·​w,​\·​int\·​h,​
14 \·​\·​\·​int\·​flags)​14 \·​\·​\·​int\·​flags)​
15 ALLEGRO_FONT\·​*al_load_ttf_font_str​etch(char\·​const\·​*filename,​\·​int\·​w,​\·​int\·​h,​ 
16 \·​\·​\·​int\·​flags)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Like·​al_load_ttf_font(3all​eg5)​,​·​except·​it·​takes·​separate·​width·​and19 Like·​al_load_ttf_font(3all​eg5)​,​·​except·​it·​takes·​separate·​width·​and
22 height·​parameters·​instead·​of·​a·​single·​size·​parameter.​20 height·​parameters·​instead·​of·​a·​single·​size·​parameter.​
23 .​PP21 .​PP
894 B
./usr/share/man/man3/al_load_ttf_font_stretch_f.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9601 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·834
586 B
al_load_ttf_font_stretch_f.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 ALLEGRO_FONT\·​*al_load_ttf_font_str​etch_f(ALLEGRO_FILE\·​*file,​13 ALLEGRO_FONT\·​*al_load_ttf_font_str​etch_f(ALLEGRO_FILE\·​*file,​
14 \·​\·​\·​\·​char\·​const\·​*filename,​\·​int\·​w,​\·​int\·​h,​\·​int\·​flags)​14 \·​\·​\·​\·​char\·​const\·​*filename,​\·​int\·​w,​\·​int\·​h,​\·​int\·​flags)​
15 ALLEGRO_FONT\·​*al_load_ttf_font_str​etch_f(ALLEGRO_FILE\·​*file,​ 
16 \·​\·​\·​\·​char\·​const\·​*filename,​\·​int\·​w,​\·​int\·​h,​\·​int\·​flags)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Like·​al_load_ttf_font_stre​tch(3alleg5)​,​·​but·​the·​font·​is·​read·​from·​the19 Like·​al_load_ttf_font_stre​tch(3alleg5)​,​·​but·​the·​font·​is·​read·​from·​the
22 file·​handle.​20 file·​handle.​
23 The·​filename·​is·​only·​used·​to·​find·​possible·​additional·​files·​next·​to·​a21 The·​filename·​is·​only·​used·​to·​find·​possible·​additional·​files·​next·​to·​a
870 B
./usr/share/man/man3/al_lock_index_buffer.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10461 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·939
573 B
al_lock_index_buffer.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void*\·​al_lock_index_buffer(​ALLEGRO_INDEX_BUFFER*​\·​buffer,​\·​int\·​offset,​13 void*\·​al_lock_index_buffer(​ALLEGRO_INDEX_BUFFER*​\·​buffer,​\·​int\·​offset,​
14 \·​\·​\·​\·​int\·​length,​\·​int\·​flags)​14 \·​\·​\·​\·​int\·​length,​\·​int\·​flags)​
15 void*\·​al_lock_index_buffer(​ALLEGRO_INDEX_BUFFER*​\·​buffer,​\·​int\·​offset,​ 
16 \·​\·​\·​\·​int\·​length,​\·​int\·​flags)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Locks·​a·​index·​buffer·​so·​you·​can·​access·​its·​data.​19 Locks·​a·​index·​buffer·​so·​you·​can·​access·​its·​data.​
22 Will·​return·​NULL·​if·​the·​parameters·​are·​invalid,​·​if·​reading·​is·​requested20 Will·​return·​NULL·​if·​the·​parameters·​are·​invalid,​·​if·​reading·​is·​requested
23 from·​a·​write·​only·​buffer·​and·​if·​the·​buffer·​is·​already·​locked.​21 from·​a·​write·​only·​buffer·​and·​if·​the·​buffer·​is·​already·​locked.​
779 B
./usr/share/man/man3/al_lock_sample_id.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11621 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1090
487 B
al_lock_sample_id.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 ALLEGRO_SAMPLE_INSTAN​CE*\·​al_lock_sample_id(ALL​EGRO_SAMPLE_ID\·​*spl_id)​13 ALLEGRO_SAMPLE_INSTAN​CE*\·​al_lock_sample_id(ALL​EGRO_SAMPLE_ID\·​*spl_id)​
14 ALLEGRO_SAMPLE_INSTAN​CE*\·​al_lock_sample_id(ALL​EGRO_SAMPLE_ID\·​*spl_id)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Locks·​a·​ALLEGRO_SAMPLE_ID(3al​leg5)​,​·​returning·​the·​underlying18 Locks·​a·​ALLEGRO_SAMPLE_ID(3al​leg5)​,​·​returning·​the·​underlying
20 ALLEGRO_SAMPLE_INSTAN​CE(3alleg5)​.​19 ALLEGRO_SAMPLE_INSTAN​CE(3alleg5)​.​
21 This·​allows·​you·​to·​adjust·​the·​various·​properties·​of·​the·​instance·​(such20 This·​allows·​you·​to·​adjust·​the·​various·​properties·​of·​the·​instance·​(such
875 B
./usr/share/man/man3/al_lock_vertex_buffer.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10521 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·945
576 B
al_lock_vertex_buffer.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void*\·​al_lock_vertex_buffer​(ALLEGRO_VERTEX_BUFFE​R*\·​buffer,​\·​int\·​offset,​13 void*\·​al_lock_vertex_buffer​(ALLEGRO_VERTEX_BUFFE​R*\·​buffer,​\·​int\·​offset,​
14 \·​\·​\·​int\·​length,​\·​int\·​flags)​14 \·​\·​\·​int\·​length,​\·​int\·​flags)​
15 void*\·​al_lock_vertex_buffer​(ALLEGRO_VERTEX_BUFFE​R*\·​buffer,​\·​int\·​offset,​ 
16 \·​\·​\·​int\·​length,​\·​int\·​flags)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Locks·​a·​vertex·​buffer·​so·​you·​can·​access·​its·​data.​19 Locks·​a·​vertex·​buffer·​so·​you·​can·​access·​its·​data.​
22 Will·​return·​NULL·​if·​the·​parameters·​are·​invalid,​·​if·​reading·​is·​requested20 Will·​return·​NULL·​if·​the·​parameters·​are·​invalid,​·​if·​reading·​is·​requested
23 from·​a·​write·​only·​buffer,​·​or·​if·​the·​buffer·​is·​already·​locked.​21 from·​a·​write·​only·​buffer,​·​or·​if·​the·​buffer·​is·​already·​locked.​
694 B
./usr/share/man/man3/al_malloc.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6751 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·580
420 B
al_malloc.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​al_malloc(n)​\·​\\13 #define\·​al_malloc(n)​\·​\\
14 \·​\·​\·​(al_malloc_with_conte​xt((n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​14 \·​\·​\·​(al_malloc_with_conte​xt((n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​
15 #define\·​al_malloc(n)​\·​\\ 
16 \·​\·​\·​(al_malloc_with_conte​xt((n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Like·​malloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be19 Like·​malloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be
22 overridden.​20 overridden.​
23 .​PP21 .​PP
781 B
./usr/share/man/man3/al_open_memfile.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10171 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·937
494 B
al_open_memfile.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_memfile.​h>12 #include\·​<allegro5/​allegro_memfile.​h>
  
13 ALLEGRO_FILE\·​*al_open_memfile(void​\·​*mem,​\·​int64_t\·​size,​\·​const\·​char\·​*mode)​13 ALLEGRO_FILE\·​*al_open_memfile(void​\·​*mem,​\·​int64_t\·​size,​\·​const\·​char\·​*mode)​
14 ALLEGRO_FILE\·​*al_open_memfile(void​\·​*mem,​\·​int64_t\·​size,​\·​const\·​char\·​*mode)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Returns·​a·​file·​handle·​to·​the·​block·​of·​memory.​18 Returns·​a·​file·​handle·​to·​the·​block·​of·​memory.​
20 All·​read·​and·​write·​operations·​act·​upon·​the·​memory·​directly,​·​so·​it·​must19 All·​read·​and·​write·​operations·​act·​upon·​the·​memory·​directly,​·​so·​it·​must
21 not·​be·​freed·​while·​the·​file·​remains·​open.​20 not·​be·​freed·​while·​the·​file·​remains·​open.​
812 B
./usr/share/man/man3/al_open_native_text_log.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1131
508 B
al_open_native_text_log.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_TEXTLOG\·​*al_open_native_text_​log(char\·​const\·​*title,​\·​int\·​flags)​13 ALLEGRO_TEXTLOG\·​*al_open_native_text_​log(char\·​const\·​*title,​\·​int\·​flags)​
14 ALLEGRO_TEXTLOG\·​*al_open_native_text_​log(char\·​const\·​*title,​\·​int\·​flags)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Opens·​a·​window·​to·​which·​you·​can·​append·​log·​messages·​with18 Opens·​a·​window·​to·​which·​you·​can·​append·​log·​messages·​with
20 al_append_native_text​_log(3alleg5)​.​19 al_append_native_text​_log(3alleg5)​.​
21 This·​can·​be·​useful·​for·​debugging·​if·​you·​don't·​want·​to·​depend·​on·​a20 This·​can·​be·​useful·​for·​debugging·​if·​you·​don't·​want·​to·​depend·​on·​a
684 B
./usr/share/man/man3/al_open_video.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5061 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·452
402 B
al_open_video.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 ALLEGRO_VIDEO\·​*al_open_video(char\·​const\·​*filename)​13 ALLEGRO_VIDEO\·​*al_open_video(char\·​const\·​*filename)​
14 ALLEGRO_VIDEO\·​*al_open_video(char\·​const\·​*filename)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Reads·​a·​video·​file.​18 Reads·​a·​video·​file.​
20 This·​does·​not·​start·​streaming·​yet·​but·​reads·​the·​meta·​info·​so·​you·​can19 This·​does·​not·​start·​streaming·​yet·​but·​reads·​the·​meta·​info·​so·​you·​can
21 query·​e.​g.​\·​the·​size·​or·​audio·​rate.​20 query·​e.​g.​\·​the·​size·​or·​audio·​rate.​
862 B
./usr/share/man/man3/al_play_sample.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​15731 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1429
576 B
al_play_sample.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_play_sample(ALLEGR​O_SAMPLE\·​*spl,​\·​float\·​gain,​\·​float\·​pan,​\·​float\·​speed,​13 bool\·​al_play_sample(ALLEGR​O_SAMPLE\·​*spl,​\·​float\·​gain,​\·​float\·​pan,​\·​float\·​speed,​
14 \·​\·​\·​ALLEGRO_PLAYMODE\·​loop,​\·​ALLEGRO_SAMPLE_ID\·​*ret_id)​14 \·​\·​\·​ALLEGRO_PLAYMODE\·​loop,​\·​ALLEGRO_SAMPLE_ID\·​*ret_id)​
15 bool\·​al_play_sample(ALLEGR​O_SAMPLE\·​*spl,​\·​float\·​gain,​\·​float\·​pan,​\·​float\·​speed,​ 
16 \·​\·​\·​ALLEGRO_PLAYMODE\·​loop,​\·​ALLEGRO_SAMPLE_ID\·​*ret_id)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Plays·​a·​sample·​on·​one·​of·​the·​sample·​instances·​created·​by19 Plays·​a·​sample·​on·​one·​of·​the·​sample·​instances·​created·​by
22 al_reserve_samples(3a​lleg5)​.​20 al_reserve_samples(3a​lleg5)​.​
23 Returns·​true·​on·​success,​·​false·​on·​failure.​21 Returns·​true·​on·​success,​·​false·​on·​failure.​
695 B
./usr/share/man/man3/al_play_sample_instance.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5141 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·453
393 B
al_play_sample_instance.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_play_sample_instan​ce(ALLEGRO_SAMPLE_INS​TANCE\·​*spl)​13 bool\·​al_play_sample_instan​ce(ALLEGRO_SAMPLE_INS​TANCE\·​*spl)​
14 bool\·​al_play_sample_instan​ce(ALLEGRO_SAMPLE_INS​TANCE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Play·​the·​sample·​instance.​18 Play·​the·​sample·​instance.​
20 Returns·​true·​on·​success,​·​false·​on·​failure.​19 Returns·​true·​on·​success,​·​false·​on·​failure.​
21 .​SH·​SEE·​ALSO20 .​SH·​SEE·​ALSO
778 B
./usr/share/man/man3/al_popup_menu.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12641 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1194
494 B
al_popup_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 bool\·​al_popup_menu(ALLEGRO​_MENU\·​*popup,​\·​ALLEGRO_DISPLAY\·​*display)​13 bool\·​al_popup_menu(ALLEGRO​_MENU\·​*popup,​\·​ALLEGRO_DISPLAY\·​*display)​
14 bool\·​al_popup_menu(ALLEGRO​_MENU\·​*popup,​\·​ALLEGRO_DISPLAY\·​*display)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Displays·​a·​context·​menu·​next·​to·​the·​mouse·​cursor.​18 Displays·​a·​context·​menu·​next·​to·​the·​mouse·​cursor.​
20 The·​menu·​must·​have·​been·​created·​with·​al_create_popup_menu(​3alleg5)​.​19 The·​menu·​must·​have·​been·​created·​with·​al_create_popup_menu(​3alleg5)​.​
21 It·​generates·​events·​just·​like·​a·​regular·​display·​menu·​does.​20 It·​generates·​events·​just·​like·​a·​regular·​display·​menu·​does.​
723 B
./usr/share/man/man3/al_realloc.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6301 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·523
447 B
al_realloc.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro.​h>12 #include\·​<allegro5/​allegro.​h>
  
13 #define\·​al_realloc(p,​\·​n)​\·​\\13 #define\·​al_realloc(p,​\·​n)​\·​\\
14 \·​\·​\·​(al_realloc_with_cont​ext((p)​,​\·​(n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​14 \·​\·​\·​(al_realloc_with_cont​ext((p)​,​\·​(n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​
15 #define\·​al_realloc(p,​\·​n)​\·​\\ 
16 \·​\·​\·​(al_realloc_with_cont​ext((p)​,​\·​(n)​,​\·​__LINE__,​\·​__FILE__,​\·​__func__)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Like·​realloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be19 Like·​realloc()​·​in·​the·​C·​standard·​library,​·​but·​the·​implementation·​may·​be
22 overridden.​20 overridden.​
23 .​PP21 .​PP
1.0 KB
./usr/share/man/man3/al_register_audio_stream_loader.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·11491 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·962
705 B
al_register_audio_stream_loader.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_register_audio_str​eam_loader(const\·​char\·​*ext,​13 bool\·​al_register_audio_str​eam_loader(const\·​char\·​*ext,​
14 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*(*stream_loader)​(const\·​char\·​*filename,​14 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*(*stream_loader)​(const\·​char\·​*filename,​
15 \·​\·​\·​\·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​)​15 \·​\·​\·​\·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​)​
16 bool\·​al_register_audio_str​eam_loader(const\·​char\·​*ext,​ 
17 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*(*stream_loader)​(const\·​char\·​*filename,​ 
18 \·​\·​\·​\·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Register·​a·​handler·​for·​al_load_audio_stream(​3alleg5)​.​20 Register·​a·​handler·​for·​al_load_audio_stream(​3alleg5)​.​
24 The·​given·​function·​will·​be·​used·​to·​open·​streams·​from·​files·​with·​the21 The·​given·​function·​will·​be·​used·​to·​open·​streams·​from·​files·​with·​the
25 given·​extension.​22 given·​extension.​
1.0 KB
./usr/share/man/man3/al_register_audio_stream_loader_f.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·11471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·963
705 B
al_register_audio_stream_loader_f.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_register_audio_str​eam_loader_f(const\·​char\·​*ext,​13 bool\·​al_register_audio_str​eam_loader_f(const\·​char\·​*ext,​
14 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*(*stream_loader)​(ALLEGRO_FILE*\·​fp,​14 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*(*stream_loader)​(ALLEGRO_FILE*\·​fp,​
15 \·​\·​\·​\·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​)​15 \·​\·​\·​\·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​)​
16 bool\·​al_register_audio_str​eam_loader_f(const\·​char\·​*ext,​ 
17 \·​\·​\·​ALLEGRO_AUDIO_STREAM\​·​*(*stream_loader)​(ALLEGRO_FILE*\·​fp,​ 
18 \·​\·​\·​\·​\·​\·​size_t\·​buffer_count,​\·​unsigned\·​int\·​samples)​)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Register·​a·​handler·​for·​al_load_audio_stream_​f(3alleg5)​.​20 Register·​a·​handler·​for·​al_load_audio_stream_​f(3alleg5)​.​
24 The·​given·​function·​will·​be·​used·​to·​open·​streams·​from·​files·​with·​the21 The·​given·​function·​will·​be·​used·​to·​open·​streams·​from·​files·​with·​the
25 given·​extension.​22 given·​extension.​
846 B
./usr/share/man/man3/al_register_font_loader.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9731 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·834
544 B
al_register_font_loader.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 bool\·​al_register_font_load​er(char\·​const\·​*extension,​13 bool\·​al_register_font_load​er(char\·​const\·​*extension,​
14 \·​\·​\·​ALLEGRO_FONT\·​*(*load_font)​(char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​)​14 \·​\·​\·​ALLEGRO_FONT\·​*(*load_font)​(char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​)​
15 bool\·​al_register_font_load​er(char\·​const\·​*extension,​ 
16 \·​\·​\·​ALLEGRO_FONT\·​*(*load_font)​(char\·​const\·​*filename,​\·​int\·​size,​\·​int\·​flags)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Informs·​Allegro·​of·​a·​new·​font·​file·​type,​·​telling·​it·​how·​to·​load·​files·​of19 Informs·​Allegro·​of·​a·​new·​font·​file·​type,​·​telling·​it·​how·​to·​load·​files·​of
22 this·​format.​20 this·​format.​
23 .​PP21 .​PP
850 B
./usr/share/man/man3/al_register_sample_loader.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10081 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·899
543 B
al_register_sample_loader.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_register_sample_lo​ader(const\·​char\·​*ext,​13 bool\·​al_register_sample_lo​ader(const\·​char\·​*ext,​
14 \·​\·​\·​ALLEGRO_SAMPLE\·​*(*loader)​(const\·​char\·​*filename)​)​14 \·​\·​\·​ALLEGRO_SAMPLE\·​*(*loader)​(const\·​char\·​*filename)​)​
15 bool\·​al_register_sample_lo​ader(const\·​char\·​*ext,​ 
16 \·​\·​\·​ALLEGRO_SAMPLE\·​*(*loader)​(const\·​char\·​*filename)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Register·​a·​handler·​for·​al_load_sample(3alleg​5)​.​19 Register·​a·​handler·​for·​al_load_sample(3alleg​5)​.​
22 The·​given·​function·​will·​be·​used·​to·​handle·​the·​loading·​of·​sample·​files20 The·​given·​function·​will·​be·​used·​to·​handle·​the·​loading·​of·​sample·​files
23 with·​the·​given·​extension.​21 with·​the·​given·​extension.​
853 B
./usr/share/man/man3/al_register_sample_loader_f.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9711 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·865
543 B
al_register_sample_loader_f.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_register_sample_lo​ader_f(const\·​char\·​*ext,​13 bool\·​al_register_sample_lo​ader_f(const\·​char\·​*ext,​
14 \·​\·​\·​ALLEGRO_SAMPLE\·​*(*loader)​(ALLEGRO_FILE*\·​fp)​)​14 \·​\·​\·​ALLEGRO_SAMPLE\·​*(*loader)​(ALLEGRO_FILE*\·​fp)​)​
15 bool\·​al_register_sample_lo​ader_f(const\·​char\·​*ext,​ 
16 \·​\·​\·​ALLEGRO_SAMPLE\·​*(*loader)​(ALLEGRO_FILE*\·​fp)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Register·​a·​handler·​for·​al_load_sample_f(3all​eg5)​.​19 Register·​a·​handler·​for·​al_load_sample_f(3all​eg5)​.​
22 The·​given·​function·​will·​be·​used·​to·​handle·​the·​loading·​of·​sample·​files20 The·​given·​function·​will·​be·​used·​to·​handle·​the·​loading·​of·​sample·​files
23 with·​the·​given·​extension.​21 with·​the·​given·​extension.​
865 B
./usr/share/man/man3/al_register_sample_saver.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10241 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·905
560 B
al_register_sample_saver.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_register_sample_sa​ver(const\·​char\·​*ext,​13 bool\·​al_register_sample_sa​ver(const\·​char\·​*ext,​
14 \·​\·​\·​bool\·​(*saver)​(const\·​char\·​*filename,​\·​ALLEGRO_SAMPLE\·​*spl)​)​14 \·​\·​\·​bool\·​(*saver)​(const\·​char\·​*filename,​\·​ALLEGRO_SAMPLE\·​*spl)​)​
15 bool\·​al_register_sample_sa​ver(const\·​char\·​*ext,​ 
16 \·​\·​\·​bool\·​(*saver)​(const\·​char\·​*filename,​\·​ALLEGRO_SAMPLE\·​*spl)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Register·​a·​handler·​for·​al_save_sample(3alleg​5)​.​19 Register·​a·​handler·​for·​al_save_sample(3alleg​5)​.​
22 The·​given·​function·​will·​be·​used·​to·​handle·​the·​saving·​of·​sample·​files20 The·​given·​function·​will·​be·​used·​to·​handle·​the·​saving·​of·​sample·​files
23 with·​the·​given·​extension.​21 with·​the·​given·​extension.​
868 B
./usr/share/man/man3/al_register_sample_saver_f.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9861 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·870
560 B
al_register_sample_saver_f.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_register_sample_sa​ver_f(const\·​char\·​*ext,​13 bool\·​al_register_sample_sa​ver_f(const\·​char\·​*ext,​
14 \·​\·​\·​bool\·​(*saver)​(ALLEGRO_FILE*\·​fp,​\·​ALLEGRO_SAMPLE\·​*spl)​)​14 \·​\·​\·​bool\·​(*saver)​(ALLEGRO_FILE*\·​fp,​\·​ALLEGRO_SAMPLE\·​*spl)​)​
15 bool\·​al_register_sample_sa​ver_f(const\·​char\·​*ext,​ 
16 \·​\·​\·​bool\·​(*saver)​(ALLEGRO_FILE*\·​fp,​\·​ALLEGRO_SAMPLE\·​*spl)​)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Register·​a·​handler·​for·​al_save_sample_f(3all​eg5)​.​19 Register·​a·​handler·​for·​al_save_sample_f(3all​eg5)​.​
22 The·​given·​function·​will·​be·​used·​to·​handle·​the·​saving·​of·​sample·​files20 The·​given·​function·​will·​be·​used·​to·​handle·​the·​saving·​of·​sample·​files
23 with·​the·​given·​extension.​21 with·​the·​given·​extension.​
741 B
./usr/share/man/man3/al_remove_display_menu.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·642
441 B
al_remove_display_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 ALLEGRO_MENU\·​*al_remove_display_me​nu(ALLEGRO_DISPLAY\·​*display)​13 ALLEGRO_MENU\·​*al_remove_display_me​nu(ALLEGRO_DISPLAY\·​*display)​
14 ALLEGRO_MENU\·​*al_remove_display_me​nu(ALLEGRO_DISPLAY\·​*display)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Detaches·​the·​menu·​associated·​with·​the·​display·​and·​returns·​it.​18 Detaches·​the·​menu·​associated·​with·​the·​display·​and·​returns·​it.​
20 The·​menu·​can·​then·​be·​used·​on·​a·​different·​display.​19 The·​menu·​can·​then·​be·​used·​on·​a·​different·​display.​
21 .​PP20 .​PP
750 B
./usr/share/man/man3/al_remove_menu_item.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8801 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​822
456 B
al_remove_menu_item.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 bool\·​al_remove_menu_item(A​LLEGRO_MENU\·​*menu,​\·​int\·​pos)​13 bool\·​al_remove_menu_item(A​LLEGRO_MENU\·​*menu,​\·​int\·​pos)​
14 bool\·​al_remove_menu_item(A​LLEGRO_MENU\·​*menu,​\·​int\·​pos)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Removes·​the·​specified·​item·​from·​the·​menu·​and·​destroys·​it.​18 Removes·​the·​specified·​item·​from·​the·​menu·​and·​destroys·​it.​
20 If·​the·​item·​contains·​a·​sub\-​menu,​·​it·​too·​is·​destroyed.​19 If·​the·​item·​contains·​a·​sub\-​menu,​·​it·​too·​is·​destroyed.​
21 Any·​references·​to·​it·​are·​invalidated.​20 Any·​references·​to·​it·​are·​invalidated.​
713 B
./usr/share/man/man3/al_reserve_samples.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​15541 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1507
419 B
al_reserve_samples.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_reserve_samples(in​t\·​reserve_samples)​13 bool\·​al_reserve_samples(in​t\·​reserve_samples)​
14 bool\·​al_reserve_samples(in​t\·​reserve_samples)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Reserves·​a·​number·​of·​sample·​instances,​·​attaching·​them·​to·​the·​default18 Reserves·​a·​number·​of·​sample·​instances,​·​attaching·​them·​to·​the·​default
20 mixer.​19 mixer.​
21 If·​no·​default·​mixer·​is·​set·​when·​this·​function·​is·​called,​·​then·​it·​will20 If·​no·​default·​mixer·​is·​set·​when·​this·​function·​is·​called,​·​then·​it·​will
780 B
./usr/share/man/man3/al_restore_default_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·870
476 B
al_restore_default_mixer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_restore_default_mi​xer(void)​13 bool\·​al_restore_default_mi​xer(void)​
14 bool\·​al_restore_default_mi​xer(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Restores·​Allegro's·​default·​mixer·​and·​attaches·​it·​to·​the·​default·​voice.​18 Restores·​Allegro's·​default·​mixer·​and·​attaches·​it·​to·​the·​default·​voice.​
20 If·​the·​default·​mixer·​hasn't·​been·​created·​before,​·​it·​will·​be·​created.​19 If·​the·​default·​mixer·​hasn't·​been·​created·​before,​·​it·​will·​be·​created.​
21 If·​the·​default·​voice·​hasn't·​been·​set·​via·​al_set_default_voice(​3alleg5)​20 If·​the·​default·​voice·​hasn't·​been·​set·​via·​al_set_default_voice(​3alleg5)​
748 B
./usr/share/man/man3/al_rewind_audio_stream.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6581 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·598
448 B
al_rewind_audio_stream.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_rewind_audio_strea​m(ALLEGRO_AUDIO_STREA​M\·​*stream)​13 bool\·​al_rewind_audio_strea​m(ALLEGRO_AUDIO_STREA​M\·​*stream)​
14 bool\·​al_rewind_audio_strea​m(ALLEGRO_AUDIO_STREA​M\·​*stream)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​streaming·​file·​playing·​position·​to·​the·​beginning.​18 Set·​the·​streaming·​file·​playing·​position·​to·​the·​beginning.​
20 Returns·​true·​on·​success.​19 Returns·​true·​on·​success.​
21 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with20 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with
707 B
./usr/share/man/man3/al_save_sample.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8421 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·774
423 B
al_save_sample.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_save_sample(const\​·​char\·​*filename,​\·​ALLEGRO_SAMPLE\·​*spl)​13 bool\·​al_save_sample(const\​·​char\·​*filename,​\·​ALLEGRO_SAMPLE\·​*spl)​
14 bool\·​al_save_sample(const\​·​char\·​*filename,​\·​ALLEGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Writes·​a·​sample·​into·​a·​file.​18 Writes·​a·​sample·​into·​a·​file.​
20 Currently,​·​wav·​is·​the·​only·​supported·​format,​·​and·​the·​extension·​must·​be19 Currently,​·​wav·​is·​the·​only·​supported·​format,​·​and·​the·​extension·​must·​be
21 \[lq].​wav\[rq].​20 \[lq].​wav\[rq].​
781 B
./usr/share/man/man3/al_save_sample_f.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9461 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·859
493 B
al_save_sample_f.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_save_sample_f(ALLE​GRO_FILE\·​*fp,​\·​const\·​char\·​*ident,​\·​ALLEGRO_SAMPLE\·​*spl)​13 bool\·​al_save_sample_f(ALLE​GRO_FILE\·​*fp,​\·​const\·​char\·​*ident,​\·​ALLEGRO_SAMPLE\·​*spl)​
14 bool\·​al_save_sample_f(ALLE​GRO_FILE\·​*fp,​\·​const\·​char\·​*ident,​\·​ALLEGRO_SAMPLE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Writes·​a·​sample·​into·​a·​ALLEGRO_FILE(3alleg5)​·​filestream.​18 Writes·​a·​sample·​into·​a·​ALLEGRO_FILE(3alleg5)​·​filestream.​
20 Currently,​·​wav·​is·​the·​only·​supported·​format,​·​and·​the·​extension·​must·​be19 Currently,​·​wav·​is·​the·​only·​supported·​format,​·​and·​the·​extension·​must·​be
21 \[lq].​wav\[rq].​20 \[lq].​wav\[rq].​
787 B
./usr/share/man/man3/al_seek_audio_stream_secs.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​7931 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​715
481 B
al_seek_audio_stream_secs.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_seek_audio_stream_​secs(ALLEGRO_AUDIO_ST​REAM\·​*stream,​\·​double\·​time)​13 bool\·​al_seek_audio_stream_​secs(ALLEGRO_AUDIO_ST​REAM\·​*stream,​\·​double\·​time)​
14 bool\·​al_seek_audio_stream_​secs(ALLEGRO_AUDIO_ST​REAM\·​*stream,​\·​double\·​time)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​streaming·​file·​playing·​position·​to·​time.​18 Set·​the·​streaming·​file·​playing·​position·​to·​time.​
20 Returns·​true·​on·​success.​19 Returns·​true·​on·​success.​
21 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with20 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with
707 B
./usr/share/man/man3/al_seek_video.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5191 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·451
425 B
al_seek_video.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 bool\·​al_seek_video(ALLEGRO​_VIDEO\·​*video,​\·​double\·​pos_in_seconds)​13 bool\·​al_seek_video(ALLEGRO​_VIDEO\·​*video,​\·​double\·​pos_in_seconds)​
14 bool\·​al_seek_video(ALLEGRO​_VIDEO\·​*video,​\·​double\·​pos_in_seconds)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Seek·​to·​a·​different·​position·​in·​the·​video.​18 Seek·​to·​a·​different·​position·​in·​the·​video.​
20 Currently·​only·​seeking·​to·​the·​beginning·​of·​the·​video·​is·​supported.​19 Currently·​only·​seeking·​to·​the·​beginning·​of·​the·​video·​is·​supported.​
21 .​SH·​SINCE20 .​SH·​SINCE
851 B
./usr/share/man/man3/al_set_audio_stream_fragment.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6781 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·599
539 B
al_set_audio_stream_fragment.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_audio_stream_f​ragment(ALLEGRO_AUDIO​_STREAM\·​*stream,​\·​void\·​*val)​13 bool\·​al_set_audio_stream_f​ragment(ALLEGRO_AUDIO​_STREAM\·​*stream,​\·​void\·​*val)​
14 bool\·​al_set_audio_stream_f​ragment(ALLEGRO_AUDIO​_STREAM\·​*stream,​\·​void\·​*val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​function·​needs·​to·​be·​called·​for·​every·​successful·​call·​of18 This·​function·​needs·​to·​be·​called·​for·​every·​successful·​call·​of
20 al_get_audio_stream_f​ragment(3alleg5)​·​to·​indicate·​that·​the·​buffer19 al_get_audio_stream_f​ragment(3alleg5)​·​to·​indicate·​that·​the·​buffer
21 (pointed·​to·​by·​\f[C]val\f[])​·​is·​filled·​with·​new·​data.​20 (pointed·​to·​by·​\f[C]val\f[])​·​is·​filled·​with·​new·​data.​
668 B
./usr/share/man/man3/al_set_audio_stream_gain.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5641 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​549
364 B
al_set_audio_stream_gain.3alleg5
    
Offset 7, 15 lines modifiedOffset 7, 14 lines modified
7 al_set_audio_stream_g​ain·​\-​·​Allegro·​5·​API7 al_set_audio_stream_g​ain·​\-​·​Allegro·​5·​API
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 boonce_playing 
14 bool\·​al_set_audio_stream_g​ain(ALLEGRO_AUDIO_STR​EAM\·​*stream,​\·​float\·​val)​13 bool\·​al_set_audio_stream_g​ain(ALLEGRO_AUDIO_STR​EAM\·​*stream,​\·​float\·​val)​
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​playback·​gain·​of·​the·​stream.​18 Set·​the·​playback·​gain·​of·​the·​stream.​
20 .​PP19 .​PP
884 B
./usr/share/man/man3/al_set_audio_stream_loop_secs.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·619
570 B
al_set_audio_stream_loop_secs.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_audio_stream_l​oop_secs(ALLEGRO_AUDI​O_STREAM\·​*stream,​13 bool\·​al_set_audio_stream_l​oop_secs(ALLEGRO_AUDI​O_STREAM\·​*stream,​
14 \·​\·​\·​double\·​start,​\·​double\·​end)​14 \·​\·​\·​double\·​start,​\·​double\·​end)​
15 bool\·​al_set_audio_stream_l​oop_secs(ALLEGRO_AUDI​O_STREAM\·​*stream,​ 
16 \·​\·​\·​double\·​start,​\·​double\·​end)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Sets·​the·​loop·​points·​for·​the·​stream·​in·​seconds.​19 Sets·​the·​loop·​points·​for·​the·​stream·​in·​seconds.​
22 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with20 Currently·​this·​can·​only·​be·​called·​on·​streams·​created·​with
23 al_load_audio_stream(​3alleg5)​,​·​al_load_audio_stream_​f(3alleg5)​·​and·​the21 al_load_audio_stream(​3alleg5)​,​·​al_load_audio_stream_​f(3alleg5)​·​and·​the
817 B
./usr/share/man/man3/al_set_audio_stream_pan.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·889
515 B
al_set_audio_stream_pan.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_audio_stream_p​an(ALLEGRO_AUDIO_STRE​AM\·​*stream,​\·​float\·​val)​13 bool\·​al_set_audio_stream_p​an(ALLEGRO_AUDIO_STRE​AM\·​*stream,​\·​float\·​val)​
14 bool\·​al_set_audio_stream_p​an(ALLEGRO_AUDIO_STRE​AM\·​*stream,​\·​float\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​pan·​value·​on·​an·​audio·​stream.​18 Set·​the·​pan·​value·​on·​an·​audio·​stream.​
20 A·​value·​of·​\-​1.​0·​means·​to·​play·​the·​stream·​only·​through·​the·​left·​speaker;​19 A·​value·​of·​\-​1.​0·​means·​to·​play·​the·​stream·​only·​through·​the·​left·​speaker;​
21 +1.​0·​means·​only·​through·​the·​right·​speaker;​·​0.​0·​means·​the·​sample·​is20 +1.​0·​means·​only·​through·​the·​right·​speaker;​·​0.​0·​means·​the·​sample·​is
746 B
./usr/share/man/man3/al_set_audio_stream_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5741 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·497
436 B
al_set_audio_stream_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_audio_stream_p​laying(ALLEGRO_AUDIO_​STREAM\·​*stream,​\·​bool\·​val)​13 bool\·​al_set_audio_stream_p​laying(ALLEGRO_AUDIO_​STREAM\·​*stream,​\·​bool\·​val)​
14 bool\·​al_set_audio_stream_p​laying(ALLEGRO_AUDIO_​STREAM\·​*stream,​\·​bool\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Change·​whether·​the·​stream·​is·​playing.​18 Change·​whether·​the·​stream·​is·​playing.​
20 .​PP19 .​PP
21 Returns·​true·​on·​success,​·​false·​on·​failure.​20 Returns·​true·​on·​success,​·​false·​on·​failure.​
773 B
./usr/share/man/man3/al_set_audio_stream_playmode.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6401 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·545
461 B
al_set_audio_stream_playmode.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_audio_stream_p​laymode(ALLEGRO_AUDIO​_STREAM\·​*stream,​13 bool\·​al_set_audio_stream_p​laymode(ALLEGRO_AUDIO​_STREAM\·​*stream,​
14 \·​\·​\·​ALLEGRO_PLAYMODE\·​val)​14 \·​\·​\·​ALLEGRO_PLAYMODE\·​val)​
15 bool\·​al_set_audio_stream_p​laymode(ALLEGRO_AUDIO​_STREAM\·​*stream,​ 
16 \·​\·​\·​ALLEGRO_PLAYMODE\·​val)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Set·​the·​playback·​mode·​of·​the·​stream.​19 Set·​the·​playback·​mode·​of·​the·​stream.​
22 .​PP20 .​PP
23 Returns·​true·​on·​success,​·​false·​on·​failure.​21 Returns·​true·​on·​success,​·​false·​on·​failure.​
726 B
./usr/share/man/man3/al_set_audio_stream_speed.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6621 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·586
420 B
al_set_audio_stream_speed.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_audio_stream_s​peed(ALLEGRO_AUDIO_ST​REAM\·​*stream,​\·​float\·​val)​13 bool\·​al_set_audio_stream_s​peed(ALLEGRO_AUDIO_ST​REAM\·​*stream,​\·​float\·​val)​
14 bool\·​al_set_audio_stream_s​peed(ALLEGRO_AUDIO_ST​REAM\·​*stream,​\·​float\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​relative·​playback·​speed·​of·​the·​stream.​18 Set·​the·​relative·​playback·​speed·​of·​the·​stream.​
20 1.​0·​means·​normal·​speed.​19 1.​0·​means·​normal·​speed.​
21 .​PP20 .​PP
740 B
./usr/share/man/man3/al_set_default_mixer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8131 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·763
444 B
al_set_default_mixer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_default_mixer(​ALLEGRO_MIXER\·​*mixer)​13 bool\·​al_set_default_mixer(​ALLEGRO_MIXER\·​*mixer)​
14 bool\·​al_set_default_mixer(​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Sets·​the·​default·​mixer.​18 Sets·​the·​default·​mixer.​
20 All·​samples·​started·​with·​al_play_sample(3alleg​5)​·​will·​be·​stopped·​and·​all19 All·​samples·​started·​with·​al_play_sample(3alleg​5)​·​will·​be·​stopped·​and·​all
21 sample·​instances·​returned·​by·​al_lock_sample_id(3al​leg5)​·​will·​be20 sample·​instances·​returned·​by·​al_lock_sample_id(3al​leg5)​·​will·​be
718 B
./usr/share/man/man3/al_set_default_voice.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6351 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·585
422 B
al_set_default_voice.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_set_default_voice(​ALLEGRO_VOICE\·​*voice)​13 void\·​al_set_default_voice(​ALLEGRO_VOICE\·​*voice)​
14 void\·​al_set_default_voice(​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 You·​can·​call·​this·​before·​calling·​al_restore_default_mi​xer·​to·​provide·​the18 You·​can·​call·​this·​before·​calling·​al_restore_default_mi​xer·​to·​provide·​the
20 voice·​which·​should·​be·​used.​19 voice·​which·​should·​be·​used.​
21 Any·​previous·​voice·​will·​be·​destroyed.​20 Any·​previous·​voice·​will·​be·​destroyed.​
784 B
./usr/share/man/man3/al_set_display_menu.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​12401 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1165
488 B
al_set_display_menu.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 bool\·​al_set_display_menu(A​LLEGRO_DISPLAY\·​*display,​\·​ALLEGRO_MENU\·​*menu)​13 bool\·​al_set_display_menu(A​LLEGRO_DISPLAY\·​*display,​\·​ALLEGRO_MENU\·​*menu)​
14 bool\·​al_set_display_menu(A​LLEGRO_DISPLAY\·​*display,​\·​ALLEGRO_MENU\·​*menu)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Associates·​the·​\f[C]menu\f[]·​with·​the·​\f[C]display\f[]·​and·​shows·​it.​18 Associates·​the·​\f[C]menu\f[]·​with·​the·​\f[C]display\f[]·​and·​shows·​it.​
20 If·​there·​was·​a·​previous·​menu·​associated·​with·​the·​display,​·​it·​will·​be19 If·​there·​was·​a·​previous·​menu·​associated·​with·​the·​display,​·​it·​will·​be
21 destroyed.​20 destroyed.​
818 B
./usr/share/man/man3/al_set_fallback_font.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7211 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·647
522 B
al_set_fallback_font.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_set_fallback_font(​ALLEGRO_FONT\·​*font,​\·​ALLEGRO_FONT\·​*fallback)​13 void\·​al_set_fallback_font(​ALLEGRO_FONT\·​*font,​\·​ALLEGRO_FONT\·​*fallback)​
14 void\·​al_set_fallback_font(​ALLEGRO_FONT\·​*font,​\·​ALLEGRO_FONT\·​*fallback)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Sets·​a·​font·​which·​is·​used·​instead·​if·​a·​character·​is·​not·​present.​18 Sets·​a·​font·​which·​is·​used·​instead·​if·​a·​character·​is·​not·​present.​
20 Can·​be·​chained,​·​but·​make·​sure·​there·​is·​no·​loop·​as·​that·​would·​crash·​the19 Can·​be·​chained,​·​but·​make·​sure·​there·​is·​no·​loop·​as·​that·​would·​crash·​the
21 application!·​Pass·​NULL·​to·​remove·​a·​fallback·​font·​again.​20 application!·​Pass·​NULL·​to·​remove·​a·​fallback·​font·​again.​
816 B
./usr/share/man/man3/al_set_menu_item_caption.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6671 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·580
512 B
al_set_menu_item_caption.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_set_menu_item_capt​ion(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​const\·​char\·​*caption)​13 void\·​al_set_menu_item_capt​ion(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​const\·​char\·​*caption)​
14 void\·​al_set_menu_item_capt​ion(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​const\·​char\·​*caption)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Updates·​the·​menu·​item·​caption·​with·​the·​new·​\f[C]caption\f[].​18 Updates·​the·​menu·​item·​caption·​with·​the·​new·​\f[C]caption\f[].​
20 This·​will·​invalidate·​any·​previous·​calls·​to19 This·​will·​invalidate·​any·​previous·​calls·​to
21 al_get_menu_item_capt​ion(3alleg5)​.​20 al_get_menu_item_capt​ion(3alleg5)​.​
749 B
./usr/share/man/man3/al_set_menu_item_flags.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6381 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·564
449 B
al_set_menu_item_flags.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_set_menu_item_flag​s(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​int\·​flags)​13 void\·​al_set_menu_item_flag​s(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​int\·​flags)​
14 void\·​al_set_menu_item_flag​s(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​int\·​flags)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Updates·​the·​menu·​item's·​flags.​18 Updates·​the·​menu·​item's·​flags.​
20 See·​al_insert_menu_item(3​alleg5)​·​for·​a·​description·​of·​the·​available19 See·​al_insert_menu_item(3​alleg5)​·​for·​a·​description·​of·​the·​available
21 flags.​20 flags.​
837 B
./usr/share/man/man3/al_set_menu_item_icon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8601 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·776
539 B
al_set_menu_item_icon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_set_menu_item_icon​(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​ALLEGRO_BITMAP\·​*icon)​13 void\·​al_set_menu_item_icon​(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​ALLEGRO_BITMAP\·​*icon)​
14 void\·​al_set_menu_item_icon​(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​ALLEGRO_BITMAP\·​*icon)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Sets·​the·​icon·​for·​the·​specified·​menu·​item.​18 Sets·​the·​icon·​for·​the·​specified·​menu·​item.​
20 The·​menu·​assumes·​ownership·​of·​the·​\f[C]ALLEGRO_BITMAP\f​[]·​and·​may19 The·​menu·​assumes·​ownership·​of·​the·​\f[C]ALLEGRO_BITMAP\f​[]·​and·​may
21 invalidate·​the·​pointer,​·​so·​you·​must·​clone·​it·​if·​you·​wish·​to·​continue20 invalidate·​the·​pointer,​·​so·​you·​must·​clone·​it·​if·​you·​wish·​to·​continue
732 B
./usr/share/man/man3/al_set_mixer_frequency.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6081 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·535
432 B
al_set_mixer_frequency.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_mixer_frequenc​y(ALLEGRO_MIXER\·​*mixer,​\·​unsigned\·​int\·​val)​13 bool\·​al_set_mixer_frequenc​y(ALLEGRO_MIXER\·​*mixer,​\·​unsigned\·​int\·​val)​
14 bool\·​al_set_mixer_frequenc​y(ALLEGRO_MIXER\·​*mixer,​\·​unsigned\·​int\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​mixer·​frequency·​(in·​Hz)​.​18 Set·​the·​mixer·​frequency·​(in·​Hz)​.​
20 This·​will·​only·​work·​if·​the·​mixer·​is·​not·​attached·​to·​anything.​19 This·​will·​only·​work·​if·​the·​mixer·​is·​not·​attached·​to·​anything.​
21 .​PP20 .​PP
687 B
./usr/share/man/man3/al_set_mixer_gain.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5521 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·487
397 B
al_set_mixer_gain.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_mixer_gain(ALL​EGRO_MIXER\·​*mixer,​\·​float\·​new_gain)​13 bool\·​al_set_mixer_gain(ALL​EGRO_MIXER\·​*mixer,​\·​float\·​new_gain)​
14 bool\·​al_set_mixer_gain(ALL​EGRO_MIXER\·​*mixer,​\·​float\·​new_gain)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​mixer·​gain·​(amplification·​factor)​.​18 Set·​the·​mixer·​gain·​(amplification·​factor)​.​
20 .​PP19 .​PP
21 Returns·​true·​on·​success,​·​false·​on·​failure.​20 Returns·​true·​on·​success,​·​false·​on·​failure.​
687 B
./usr/share/man/man3/al_set_mixer_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5231 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·461
391 B
al_set_mixer_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_mixer_playing(​ALLEGRO_MIXER\·​*mixer,​\·​bool\·​val)​13 bool\·​al_set_mixer_playing(​ALLEGRO_MIXER\·​*mixer,​\·​bool\·​val)​
14 bool\·​al_set_mixer_playing(​ALLEGRO_MIXER\·​*mixer,​\·​bool\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Change·​whether·​the·​mixer·​is·​playing.​18 Change·​whether·​the·​mixer·​is·​playing.​
20 .​PP19 .​PP
21 Returns·​true·​on·​success,​·​false·​on·​failure.​20 Returns·​true·​on·​success,​·​false·​on·​failure.​
1.01 KB
./usr/share/man/man3/al_set_mixer_postprocess_callback.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·770
713 B
al_set_mixer_postprocess_callback.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_mixer_postproc​ess_callback(ALLEGRO_​MIXER\·​*mixer,​13 bool\·​al_set_mixer_postproc​ess_callback(ALLEGRO_​MIXER\·​*mixer,​
14 \·​\·​\·​void\·​(*pp_callback)​(void\·​*buf,​\·​unsigned\·​int\·​samples,​\·​void\·​*data)​,​14 \·​\·​\·​void\·​(*pp_callback)​(void\·​*buf,​\·​unsigned\·​int\·​samples,​\·​void\·​*data)​,​
15 \·​\·​\·​void\·​*pp_callback_userdata​)​15 \·​\·​\·​void\·​*pp_callback_userdata​)​
16 bool\·​al_set_mixer_postproc​ess_callback(ALLEGRO_​MIXER\·​*mixer,​ 
17 \·​\·​\·​void\·​(*pp_callback)​(void\·​*buf,​\·​unsigned\·​int\·​samples,​\·​void\·​*data)​,​ 
18 \·​\·​\·​void\·​*pp_callback_userdata​)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Sets·​a·​post\-​processing·​filter·​function·​that's·​called·​after·​the·​attached20 Sets·​a·​post\-​processing·​filter·​function·​that's·​called·​after·​the·​attached
24 streams·​have·​been·​mixed.​21 streams·​have·​been·​mixed.​
25 The·​buffer's·​format·​will·​be·​whatever·​the·​mixer·​was·​created·​with.​22 The·​buffer's·​format·​will·​be·​whatever·​the·​mixer·​was·​created·​with.​
750 B
./usr/share/man/man3/al_set_mixer_quality.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6641 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·577
454 B
al_set_mixer_quality.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_mixer_quality(​ALLEGRO_MIXER\·​*mixer,​\·​ALLEGRO_MIXER_QUALITY​\·​new_quality)​13 bool\·​al_set_mixer_quality(​ALLEGRO_MIXER\·​*mixer,​\·​ALLEGRO_MIXER_QUALITY​\·​new_quality)​
14 bool\·​al_set_mixer_quality(​ALLEGRO_MIXER\·​*mixer,​\·​ALLEGRO_MIXER_QUALITY​\·​new_quality)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​mixer·​quality.​18 Set·​the·​mixer·​quality.​
20 This·​can·​only·​succeed·​if·​the·​mixer·​does·​not·​have·​anything·​attached·​to19 This·​can·​only·​succeed·​if·​the·​mixer·​does·​not·​have·​anything·​attached·​to
21 it.​20 it.​
727 B
./usr/share/man/man3/al_set_physfs_file_interface.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​13871 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1346
413 B
al_set_physfs_file_interface.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_physfs.​h>12 #include\·​<allegro5/​allegro_physfs.​h>
  
13 void\·​al_set_physfs_file_in​terface(void)​13 void\·​al_set_physfs_file_in​terface(void)​
14 void\·​al_set_physfs_file_in​terface(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 This·​function·​sets·​\f[I]both\f[]·​the·​ALLEGRO_FILE_INTERFAC​E(3alleg5)​·​and18 This·​function·​sets·​\f[I]both\f[]·​the·​ALLEGRO_FILE_INTERFAC​E(3alleg5)​·​and
20 ALLEGRO_FS_INTERFACE(​3alleg5)​·​for·​the·​calling·​thread.​19 ALLEGRO_FS_INTERFACE(​3alleg5)​·​for·​the·​calling·​thread.​
21 .​PP20 .​PP
699 B
./usr/share/man/man3/al_set_sample.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​11861 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1111
415 B
al_set_sample.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​\·​ALLEGRO_SAMPLE\·​*data)​13 bool\·​al_set_sample(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​\·​ALLEGRO_SAMPLE\·​*data)​
14 bool\·​al_set_sample(ALLEGRO​_SAMPLE_INSTANCE\·​*spl,​\·​ALLEGRO_SAMPLE\·​*data)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Change·​the·​sample·​data·​that·​a·​sample·​instance·​plays.​18 Change·​the·​sample·​data·​that·​a·​sample·​instance·​plays.​
20 This·​can·​be·​quite·​an·​involved·​process.​19 This·​can·​be·​quite·​an·​involved·​process.​
21 .​PP20 .​PP
920 B
./usr/share/man/man3/al_set_sample_instance_channel_matrix.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​17531 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1654
588 B
al_set_sample_instance_channel_matrix.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample_instanc​e_channel_matrix(ALLE​GRO_SAMPLE_INSTANCE\·​*spl,​\·​const\·​float\·​*matrix)​13 bool\·​al_set_sample_instanc​e_channel_matrix(ALLE​GRO_SAMPLE_INSTANCE\·​*spl,​\·​const\·​float\·​*matrix)​
14 bool\·​al_set_sample_instanc​e_channel_matrix(ALLE​GRO_SAMPLE_INSTANCE\·​*spl,​\·​const\·​float\·​*matrix)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​matrix·​used·​to·​mix·​the·​channels·​coming·​from·​this·​instance·​into18 Set·​the·​matrix·​used·​to·​mix·​the·​channels·​coming·​from·​this·​instance·​into
20 the·​mixer·​it·​is·​attached·​to.​19 the·​mixer·​it·​is·​attached·​to.​
21 Normally·​Allegro·​derives·​the·​values·​of·​this·​matrix·​from·​the·​gain·​and·​pan20 Normally·​Allegro·​derives·​the·​values·​of·​this·​matrix·​from·​the·​gain·​and·​pan
756 B
./usr/share/man/man3/al_set_sample_instance_gain.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6501 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·572
446 B
al_set_sample_instance_gain.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample_instanc​e_gain(ALLEGRO_SAMPLE​_INSTANCE\·​*spl,​\·​float\·​val)​13 bool\·​al_set_sample_instanc​e_gain(ALLEGRO_SAMPLE​_INSTANCE\·​*spl,​\·​float\·​val)​
14 bool\·​al_set_sample_instanc​e_gain(ALLEGRO_SAMPLE​_INSTANCE\·​*spl,​\·​float\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​playback·​gain·​of·​the·​sample·​instance.​18 Set·​the·​playback·​gain·​of·​the·​sample·​instance.​
20 .​PP19 .​PP
21 Returns·​true·​on·​success,​·​false·​on·​failure.​20 Returns·​true·​on·​success,​·​false·​on·​failure.​
878 B
./usr/share/man/man3/al_set_sample_instance_length.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8171 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·724
564 B
al_set_sample_instance_length.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample_instanc​e_length(ALLEGRO_SAMP​LE_INSTANCE\·​*spl,​13 bool\·​al_set_sample_instanc​e_length(ALLEGRO_SAMP​LE_INSTANCE\·​*spl,​
14 \·​\·​\·​unsigned\·​int\·​val)​14 \·​\·​\·​unsigned\·​int\·​val)​
15 bool\·​al_set_sample_instanc​e_length(ALLEGRO_SAMP​LE_INSTANCE\·​*spl,​ 
16 \·​\·​\·​unsigned\·​int\·​val)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Set·​the·​length·​of·​the·​sample·​instance·​in·​sample·​values.​19 Set·​the·​length·​of·​the·​sample·​instance·​in·​sample·​values.​
22 This·​can·​be·​used·​to·​play·​only·​parts·​of·​the·​underlying·​sample.​20 This·​can·​be·​used·​to·​play·​only·​parts·​of·​the·​underlying·​sample.​
23 Be·​careful·​not·​to·​exceed·​the·​actual·​length·​of·​the·​sample·​data,​·​though.​21 Be·​careful·​not·​to·​exceed·​the·​actual·​length·​of·​the·​sample·​data,​·​though.​
838 B
./usr/share/man/man3/al_set_sample_instance_pan.3alleg5.gz
193 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·10631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·986
529 B
al_set_sample_instance_pan.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample_instanc​e_pan(ALLEGRO_SAMPLE_​INSTANCE\·​*spl,​\·​float\·​val)​13 bool\·​al_set_sample_instanc​e_pan(ALLEGRO_SAMPLE_​INSTANCE\·​*spl,​\·​float\·​val)​
14 bool\·​al_set_sample_instanc​e_pan(ALLEGRO_SAMPLE_​INSTANCE\·​*spl,​\·​float\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​pan·​value·​on·​a·​sample·​instance.​18 Set·​the·​pan·​value·​on·​a·​sample·​instance.​
20 A·​value·​of·​\-​1.​0·​means·​to·​play·​the·​sample·​only·​through·​the·​left·​speaker;​19 A·​value·​of·​\-​1.​0·​means·​to·​play·​the·​sample·​only·​through·​the·​left·​speaker;​
21 +1.​0·​means·​only·​through·​the·​right·​speaker;​·​0.​0·​means·​the·​sample·​is20 +1.​0·​means·​only·​through·​the·​right·​speaker;​·​0.​0·​means·​the·​sample·​is
800 B
./usr/share/man/man3/al_set_sample_instance_playmode.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6631 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·565
482 B
al_set_sample_instance_playmode.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample_instanc​e_playmode(ALLEGRO_SA​MPLE_INSTANCE\·​*spl,​13 bool\·​al_set_sample_instanc​e_playmode(ALLEGRO_SA​MPLE_INSTANCE\·​*spl,​
14 \·​\·​\·​ALLEGRO_PLAYMODE\·​val)​14 \·​\·​\·​ALLEGRO_PLAYMODE\·​val)​
15 bool\·​al_set_sample_instanc​e_playmode(ALLEGRO_SA​MPLE_INSTANCE\·​*spl,​ 
16 \·​\·​\·​ALLEGRO_PLAYMODE\·​val)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Set·​the·​playback·​mode·​of·​the·​sample·​instance.​19 Set·​the·​playback·​mode·​of·​the·​sample·​instance.​
22 .​PP20 .​PP
23 Returns·​true·​on·​success,​·​false·​on·​failure.​21 Returns·​true·​on·​success,​·​false·​on·​failure.​
796 B
./usr/share/man/man3/al_set_sample_instance_position.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6321 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·537
478 B
al_set_sample_instance_position.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample_instanc​e_position(ALLEGRO_SA​MPLE_INSTANCE\·​*spl,​13 bool\·​al_set_sample_instanc​e_position(ALLEGRO_SA​MPLE_INSTANCE\·​*spl,​
14 \·​\·​\·​unsigned\·​int\·​val)​14 \·​\·​\·​unsigned\·​int\·​val)​
15 bool\·​al_set_sample_instanc​e_position(ALLEGRO_SA​MPLE_INSTANCE\·​*spl,​ 
16 \·​\·​\·​unsigned\·​int\·​val)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Set·​the·​playback·​position·​of·​a·​sample·​instance.​19 Set·​the·​playback·​position·​of·​a·​sample·​instance.​
22 .​PP20 .​PP
23 Returns·​true·​on·​success,​·​false·​on·​failure.​21 Returns·​true·​on·​success,​·​false·​on·​failure.​
753 B
./usr/share/man/man3/al_set_sample_instance_speed.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6881 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​609
441 B
al_set_sample_instance_speed.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_sample_instanc​e_speed(ALLEGRO_SAMPL​E_INSTANCE\·​*spl,​\·​float\·​val)​13 bool\·​al_set_sample_instanc​e_speed(ALLEGRO_SAMPL​E_INSTANCE\·​*spl,​\·​float\·​val)​
14 bool\·​al_set_sample_instanc​e_speed(ALLEGRO_SAMPL​E_INSTANCE\·​*spl,​\·​float\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​relative·​playback·​speed·​of·​the·​sample·​instance.​18 Set·​the·​relative·​playback·​speed·​of·​the·​sample·​instance.​
20 1.​0·​means·​normal·​speed.​19 1.​0·​means·​normal·​speed.​
21 .​PP20 .​PP
647 B
./usr/share/man/man3/al_set_video_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4421 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·379
351 B
al_set_video_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 void\·​al_set_video_playing(​ALLEGRO_VIDEO\·​*video,​\·​bool\·​play)​13 void\·​al_set_video_playing(​ALLEGRO_VIDEO\·​*video,​\·​bool\·​play)​
14 void\·​al_set_video_playing(​ALLEGRO_VIDEO\·​*video,​\·​bool\·​play)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Paused·​or·​resumes·​playback.​18 Paused·​or·​resumes·​playback.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
746 B
./usr/share/man/man3/al_set_voice_playing.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​6851 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​623
450 B
al_set_voice_playing.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_voice_playing(​ALLEGRO_VOICE\·​*voice,​\·​bool\·​val)​13 bool\·​al_set_voice_playing(​ALLEGRO_VOICE\·​*voice,​\·​bool\·​val)​
14 bool\·​al_set_voice_playing(​ALLEGRO_VOICE\·​*voice,​\·​bool\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Change·​whether·​a·​voice·​is·​playing·​or·​not.​18 Change·​whether·​a·​voice·​is·​playing·​or·​not.​
20 This·​can·​only·​work·​if·​the·​voice·​has·​a·​non\-​streaming·​object·​attached·​to19 This·​can·​only·​work·​if·​the·​voice·​has·​a·​non\-​streaming·​object·​attached·​to
21 it,​·​e.​g.​\·​a·​sample·​instance.​20 it,​·​e.​g.​\·​a·​sample·​instance.​
752 B
./usr/share/man/man3/al_set_voice_position.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·6341 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·562
454 B
al_set_voice_position.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_set_voice_position​(ALLEGRO_VOICE\·​*voice,​\·​unsigned\·​int\·​val)​13 bool\·​al_set_voice_position​(ALLEGRO_VOICE\·​*voice,​\·​unsigned\·​int\·​val)​
14 bool\·​al_set_voice_position​(ALLEGRO_VOICE\·​*voice,​\·​unsigned\·​int\·​val)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Set·​the·​voice·​position.​18 Set·​the·​voice·​position.​
20 This·​can·​only·​work·​if·​the·​voice·​has·​a·​non\-​streaming·​object·​attached·​to19 This·​can·​only·​work·​if·​the·​voice·​has·​a·​non\-​streaming·​object·​attached·​to
21 it,​·​e.​g.​\·​a·​sample·​instance.​20 it,​·​e.​g.​\·​a·​sample·​instance.​
806 B
./usr/share/man/man3/al_show_native_file_dialog.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8051 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·709
498 B
al_show_native_file_dialog.3alleg5
    
Offset 9, 16 lines modifiedOffset 9, 14 lines modified
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 bool\·​al_show_native_file_d​ialog(ALLEGRO_DISPLAY​\·​*display,​13 bool\·​al_show_native_file_d​ialog(ALLEGRO_DISPLAY​\·​*display,​
14 \·​\·​\·​ALLEGRO_FILECHOOSER\·​*dialog)​14 \·​\·​\·​ALLEGRO_FILECHOOSER\·​*dialog)​
15 bool\·​al_show_native_file_d​ialog(ALLEGRO_DISPLAY​\·​*display,​ 
16 \·​\·​\·​ALLEGRO_FILECHOOSER\·​*dialog)​ 
17 \f[]15 \f[]
18 .​fi16 .​fi
19 .​SH·​DESCRIPTION17 .​SH·​DESCRIPTION
20 .​PP18 .​PP
21 Show·​the·​dialog·​window.​19 Show·​the·​dialog·​window.​
22 The·​display·​may·​be·​NULL,​·​otherwise·​the·​given·​display·​is·​treated·​as·​the20 The·​display·​may·​be·​NULL,​·​otherwise·​the·​given·​display·​is·​treated·​as·​the
23 parent·​if·​possible.​21 parent·​if·​possible.​
975 B
./usr/share/man/man3/al_show_native_message_box.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​28181 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​2645
665 B
al_show_native_message_box.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 int\·​al_show_native_messag​e_box(ALLEGRO_DISPLAY​\·​*display,​13 int\·​al_show_native_messag​e_box(ALLEGRO_DISPLAY​\·​*display,​
14 \·​\·​\·​char\·​const\·​*title,​\·​char\·​const\·​*heading,​\·​char\·​const\·​*text,​14 \·​\·​\·​char\·​const\·​*title,​\·​char\·​const\·​*heading,​\·​char\·​const\·​*text,​
15 \·​\·​\·​char\·​const\·​*buttons,​\·​int\·​flags)​15 \·​\·​\·​char\·​const\·​*buttons,​\·​int\·​flags)​
16 int\·​al_show_native_messag​e_box(ALLEGRO_DISPLAY​\·​*display,​ 
17 \·​\·​\·​char\·​const\·​*title,​\·​char\·​const\·​*heading,​\·​char\·​const\·​*text,​ 
18 \·​\·​\·​char\·​const\·​*buttons,​\·​int\·​flags)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Show·​a·​native·​GUI·​message·​box.​20 Show·​a·​native·​GUI·​message·​box.​
24 This·​can·​be·​used·​for·​example·​to·​display·​an·​error·​message·​if·​creation·​of21 This·​can·​be·​used·​for·​example·​to·​display·​an·​error·​message·​if·​creation·​of
25 an·​initial·​display·​fails.​22 an·​initial·​display·​fails.​
678 B
./usr/share/man/man3/al_shutdown_font_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·472
378 B
al_shutdown_font_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_font.​h>12 #include\·​<allegro5/​allegro_font.​h>
  
13 void\·​al_shutdown_font_addo​n(void)​13 void\·​al_shutdown_font_addo​n(void)​
14 void\·​al_shutdown_font_addo​n(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Shut·​down·​the·​font·​addon.​18 Shut·​down·​the·​font·​addon.​
20 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time19 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time
21 the·​user·​wishes·​as·​well.​20 the·​user·​wishes·​as·​well.​
686 B
./usr/share/man/man3/al_shutdown_image_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4681 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​432
384 B
al_shutdown_image_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_image.​h>12 #include\·​<allegro5/​allegro_image.​h>
  
13 void\·​al_shutdown_image_add​on(void)​13 void\·​al_shutdown_image_add​on(void)​
14 void\·​al_shutdown_image_add​on(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Shut·​down·​the·​image·​addon.​18 Shut·​down·​the·​image·​addon.​
20 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time19 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time
21 the·​user·​wishes·​as·​well.​20 the·​user·​wishes·​as·​well.​
668 B
./usr/share/man/man3/al_shutdown_native_dialog_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5011 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·457
350 B
al_shutdown_native_dialog_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 void\·​al_shutdown_native_di​alog_addon(void)​13 void\·​al_shutdown_native_di​alog_addon(void)​
14 void\·​al_shutdown_native_di​alog_addon(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Shut·​down·​the·​native·​dialog·​addon.​18 Shut·​down·​the·​native·​dialog·​addon.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
726 B
./usr/share/man/man3/al_shutdown_primitives_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​5491 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​508
414 B
al_shutdown_primitives_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_shutdown_primitive​s_addon(void)​13 void\·​al_shutdown_primitive​s_addon(void)​
14 void\·​al_shutdown_primitive​s_addon(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Shut·​down·​the·​primitives·​addon.​18 Shut·​down·​the·​primitives·​addon.​
20 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time19 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time
21 the·​user·​wishes·​as·​well.​20 the·​user·​wishes·​as·​well.​
615 B
./usr/share/man/man3/al_shutdown_ttf_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4021 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·368
317 B
al_shutdown_ttf_addon.3alleg5
    
Offset 8, 14 lines modifiedOffset 8, 13 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_ttf.​h>12 #include\·​<allegro5/​allegro_ttf.​h>
  
13 void\·​al_shutdown_ttf_addon​(void)​13 void\·​al_shutdown_ttf_addon​(void)​
14 void\·​al_shutdown_ttf_addon​(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Unloads·​the·​ttf·​addon·​again.​18 Unloads·​the·​ttf·​addon·​again.​
20 You·​normally·​don't·​need·​to·​call·​this.​19 You·​normally·​don't·​need·​to·​call·​this.​
686 B
./usr/share/man/man3/al_shutdown_video_addon.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4891 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​453
384 B
al_shutdown_video_addon.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 void\·​al_shutdown_video_add​on(void)​13 void\·​al_shutdown_video_add​on(void)​
14 void\·​al_shutdown_video_add​on(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Shut·​down·​the·​video·​addon.​18 Shut·​down·​the·​video·​addon.​
20 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time19 This·​is·​done·​automatically·​at·​program·​exit,​·​but·​can·​be·​called·​any·​time
21 the·​user·​wishes·​as·​well.​20 the·​user·​wishes·​as·​well.​
748 B
./usr/share/man/man3/al_start_audio_recorder.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·7471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·689
446 B
al_start_audio_recorder.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_start_audio_record​er(ALLEGRO_AUDIO_RECO​RDER\·​*r)​13 bool\·​al_start_audio_record​er(ALLEGRO_AUDIO_RECO​RDER\·​*r)​
14 bool\·​al_start_audio_record​er(ALLEGRO_AUDIO_RECO​RDER\·​*r)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Begin·​recording·​into·​the·​fragment·​buffer.​18 Begin·​recording·​into·​the·​fragment·​buffer.​
20 Once·​a·​complete·​fragment·​has·​been·​captured·​(as·​specified·​in19 Once·​a·​complete·​fragment·​has·​been·​captured·​(as·​specified·​in
21 al_create_audio_recor​der(3alleg5)​)​,​·​an20 al_create_audio_recor​der(3alleg5)​)​,​·​an
652 B
./usr/share/man/man3/al_start_video.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4581 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·390
368 B
al_start_video.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 void\·​al_start_video(ALLEGR​O_VIDEO\·​*video,​\·​ALLEGRO_MIXER\·​*mixer)​13 void\·​al_start_video(ALLEGR​O_VIDEO\·​*video,​\·​ALLEGRO_MIXER\·​*mixer)​
14 void\·​al_start_video(ALLEGR​O_VIDEO\·​*video,​\·​ALLEGRO_MIXER\·​*mixer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Starts·​streaming·​the·​video·​from·​the·​beginning.​18 Starts·​streaming·​the·​video·​from·​the·​beginning.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
743 B
./usr/share/man/man3/al_start_video_with_voice.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5271 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·448
437 B
al_start_video_with_voice.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_video.​h>12 #include\·​<allegro5/​allegro_video.​h>
  
13 void\·​al_start_video_with_v​oice(ALLEGRO_VIDEO\·​*video,​\·​ALLEGRO_VOICE\·​*voice)​13 void\·​al_start_video_with_v​oice(ALLEGRO_VIDEO\·​*video,​\·​ALLEGRO_VOICE\·​*voice)​
14 void\·​al_start_video_with_v​oice(ALLEGRO_VIDEO\·​*video,​\·​ALLEGRO_VOICE\·​*voice)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Like·​al_start_video(3alleg​5)​·​but·​audio·​is·​routed·​to·​the·​provided·​voice.​18 Like·​al_start_video(3alleg​5)​·​but·​audio·​is·​routed·​to·​the·​provided·​voice.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
758 B
./usr/share/man/man3/al_stop_audio_recorder.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​8761 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​819
458 B
al_stop_audio_recorder.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_stop_audio_recorde​r(ALLEGRO_AUDIO_RECOR​DER\·​*r)​13 void\·​al_stop_audio_recorde​r(ALLEGRO_AUDIO_RECOR​DER\·​*r)​
14 void\·​al_stop_audio_recorde​r(ALLEGRO_AUDIO_RECOR​DER\·​*r)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Stop·​capturing·​audio·​data.​18 Stop·​capturing·​audio·​data.​
20 Note·​that·​the·​audio·​recorder·​is·​still·​active·​and·​consuming·​resources,​·​so19 Note·​that·​the·​audio·​recorder·​is·​still·​active·​and·​consuming·​resources,​·​so
21 if·​you·​are·​finished·​recording·​you·​should·​destroy·​it·​with20 if·​you·​are·​finished·​recording·​you·​should·​destroy·​it·​with
622 B
./usr/share/man/man3/al_stop_sample.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4471 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·398
338 B
al_stop_sample.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_stop_sample(ALLEGR​O_SAMPLE_ID\·​*spl_id)​13 void\·​al_stop_sample(ALLEGR​O_SAMPLE_ID\·​*spl_id)​
14 void\·​al_stop_sample(ALLEGR​O_SAMPLE_ID\·​*spl_id)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Stop·​the·​sample·​started·​by·​al_play_sample(3alleg​5)​.​18 Stop·​the·​sample·​started·​by·​al_play_sample(3alleg​5)​.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
663 B
./usr/share/man/man3/al_stop_sample_instance.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​4781 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​417
361 B
al_stop_sample_instance.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 bool\·​al_stop_sample_instan​ce(ALLEGRO_SAMPLE_INS​TANCE\·​*spl)​13 bool\·​al_stop_sample_instan​ce(ALLEGRO_SAMPLE_INS​TANCE\·​*spl)​
14 bool\·​al_stop_sample_instan​ce(ALLEGRO_SAMPLE_INS​TANCE\·​*spl)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Stop·​an·​sample·​instance·​playing.​18 Stop·​an·​sample·​instance·​playing.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
585 B
./usr/share/man/man3/al_stop_samples.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4071 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·379
299 B
al_stop_samples.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_stop_samples(void)​13 void\·​al_stop_samples(void)​
14 void\·​al_stop_samples(void)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Stop·​all·​samples·​started·​by·​al_play_sample(3alleg​5)​.​18 Stop·​all·​samples·​started·​by·​al_play_sample(3alleg​5)​.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
775 B
./usr/share/man/man3/al_toggle_menu_item_flags.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·9291 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·853
469 B
al_toggle_menu_item_flags.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_native_dialog​.​h>12 #include\·​<allegro5/​allegro_native_dialog​.​h>
  
13 int\·​al_toggle_menu_item_f​lags(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​int\·​flags)​13 int\·​al_toggle_menu_item_f​lags(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​int\·​flags)​
14 int\·​al_toggle_menu_item_f​lags(ALLEGRO_MENU\·​*menu,​\·​int\·​pos,​\·​int\·​flags)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Toggles·​the·​specified·​menu·​item's·​flags.​18 Toggles·​the·​specified·​menu·​item's·​flags.​
20 See·​al_insert_menu_item(3​alleg5)​·​for·​a·​description·​of·​the·​available19 See·​al_insert_menu_item(3​alleg5)​·​for·​a·​description·​of·​the·​available
21 flags.​20 flags.​
1.01 KB
./usr/share/man/man3/al_triangulate_polygon.3alleg5.gz
194 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​18061 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·​1619
732 B
al_triangulate_polygon.3alleg5
    
Offset 10, 17 lines modifiedOffset 10, 14 lines modified
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 bool\·​al_triangulate_polygo​n(13 bool\·​al_triangulate_polygo​n(
14 \·​\·​\·​const\·​float*\·​vertices,​\·​size_t\·​vertex_stride,​\·​const\·​int*\·​vertex_counts,​14 \·​\·​\·​const\·​float*\·​vertices,​\·​size_t\·​vertex_stride,​\·​const\·​int*\·​vertex_counts,​
15 \·​\·​\·​void\·​(*emit_triangle)​(int,​\·​int,​\·​int,​\·​void*)​,​\·​void*\·​userdata)​15 \·​\·​\·​void\·​(*emit_triangle)​(int,​\·​int,​\·​int,​\·​void*)​,​\·​void*\·​userdata)​
16 bool\·​al_triangulate_polygo​n( 
17 \·​\·​\·​const\·​float*\·​vertices,​\·​size_t\·​vertex_stride,​\·​const\·​int*\·​vertex_counts,​ 
18 \·​\·​\·​void\·​(*emit_triangle)​(int,​\·​int,​\·​int,​\·​void*)​,​\·​void*\·​userdata)​ 
19 \f[]16 \f[]
20 .​fi17 .​fi
21 .​SH·​DESCRIPTION18 .​SH·​DESCRIPTION
22 .​PP19 .​PP
23 Divides·​a·​simple·​polygon·​into·​triangles,​·​with·​zero·​or·​more·​other·​simple20 Divides·​a·​simple·​polygon·​into·​triangles,​·​with·​zero·​or·​more·​other·​simple
24 polygons·​subtracted·​from·​it·​\-​·​the·​holes.​21 polygons·​subtracted·​from·​it·​\-​·​the·​holes.​
25 The·​holes·​cannot·​touch·​or·​intersect·​with·​the·​outline·​of·​the·​main22 The·​holes·​cannot·​touch·​or·​intersect·​with·​the·​outline·​of·​the·​main
582 B
./usr/share/man/man3/al_uninstall_audio.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·4001 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·369
290 B
al_uninstall_audio.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_uninstall_audio(vo​id)​13 void\·​al_uninstall_audio(vo​id)​
14 void\·​al_uninstall_audio(vo​id)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Uninstalls·​the·​audio·​subsystem.​18 Uninstalls·​the·​audio·​subsystem.​
20 .​SH·​SEE·​ALSO19 .​SH·​SEE·​ALSO
21 .​PP20 .​PP
668 B
./usr/share/man/man3/al_unlock_index_buffer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5361 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·476
368 B
al_unlock_index_buffer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_unlock_index_buffe​r(ALLEGRO_INDEX_BUFFE​R*\·​buffer)​13 void\·​al_unlock_index_buffe​r(ALLEGRO_INDEX_BUFFE​R*\·​buffer)​
14 void\·​al_unlock_index_buffe​r(ALLEGRO_INDEX_BUFFE​R*\·​buffer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Unlocks·​a·​previously·​locked·​index·​buffer.​18 Unlocks·​a·​previously·​locked·​index·​buffer.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP
768 B
./usr/share/man/man3/al_unlock_sample_id.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·8501 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·796
474 B
al_unlock_sample_id.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_audio.​h>12 #include\·​<allegro5/​allegro_audio.​h>
  
13 void\·​al_unlock_sample_id(A​LLEGRO_SAMPLE_ID\·​*spl_id)​13 void\·​al_unlock_sample_id(A​LLEGRO_SAMPLE_ID\·​*spl_id)​
14 void\·​al_unlock_sample_id(A​LLEGRO_SAMPLE_ID\·​*spl_id)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Unlocks·​a·​ALLEGRO_SAMPLE_ID(3al​leg5)​,​·​allowing·​future·​calls·​to18 Unlocks·​a·​ALLEGRO_SAMPLE_ID(3al​leg5)​,​·​allowing·​future·​calls·​to
20 al_play_sample(3alleg​5)​·​to·​reuse·​it·​if·​possible.​19 al_play_sample(3alleg​5)​·​to·​reuse·​it·​if·​possible.​
21 Note·​that·​after·​the·​id·​is·​unlocked,​·​the·​ALLEGRO_SAMPLE_INSTAN​CE(3alleg5)​20 Note·​that·​after·​the·​id·​is·​unlocked,​·​the·​ALLEGRO_SAMPLE_INSTAN​CE(3alleg5)​
677 B
./usr/share/man/man3/al_unlock_vertex_buffer.3alleg5.gz
192 B
filetype from file(1)
    
Offset 1, 1 lines modifiedOffset 1, 1 lines modified
1 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·5451 gzip·​compressed·​data,​·​max·​compression,​·​from·​Unix,​·​original·​size·483
375 B
al_unlock_vertex_buffer.3alleg5
    
Offset 8, 15 lines modifiedOffset 8, 14 lines modified
8 .​SH·​SYNOPSIS8 .​SH·​SYNOPSIS
9 .​IP9 .​IP
10 .​nf10 .​nf
11 \f[C]11 \f[C]
12 #include\·​<allegro5/​allegro_primitives.​h>12 #include\·​<allegro5/​allegro_primitives.​h>
  
13 void\·​al_unlock_vertex_buff​er(ALLEGRO_VERTEX_BUF​FER*\·​buffer)​13 void\·​al_unlock_vertex_buff​er(ALLEGRO_VERTEX_BUF​FER*\·​buffer)​
14 void\·​al_unlock_vertex_buff​er(ALLEGRO_VERTEX_BUF​FER*\·​buffer)​ 
15 \f[]14 \f[]
16 .​fi15 .​fi
17 .​SH·​DESCRIPTION16 .​SH·​DESCRIPTION
18 .​PP17 .​PP
19 Unlocks·​a·​previously·​locked·​vertex·​buffer.​18 Unlocks·​a·​previously·​locked·​vertex·​buffer.​
20 .​SH·​SINCE19 .​SH·​SINCE
21 .​PP20 .​PP