--- /tmp/allegro5-5.2.6.0-3_vp532oe/debian/allegro5-doc_5.2.6.0-3_all.deb +++ allegro5-doc_5.2.6.0-3_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2020-11-27 12:02:04.000000 debian-binary │ --rw-r--r-- 0 0 0 30732 2020-11-27 12:02:04.000000 control.tar.xz │ --rw-r--r-- 0 0 0 1327476 2020-11-27 12:02:04.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 30712 2020-11-27 12:02:04.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 1327428 2020-11-27 12:02:04.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── ./usr/share/doc/allegro5-doc/refman/acodec.html │ │ │ @@ -190,12 +190,12 @@ │ │ │

Since: 5.2.6

│ │ │

al_get_allegro_acodec_version

│ │ │
uint32_t al_get_allegro_acodec_version(void)
│ │ │

Source Code

│ │ │

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

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:00 UTC │ │ │ + - Last updated: 2021-10-07 08:01:11 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/audio.html │ │ │ @@ -1444,12 +1444,12 @@ │ │ │

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

│ │ │

Since: 5.1.1

│ │ │
│ │ │

Unstable API: The API may need a slight redesign.

│ │ │
│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:00 UTC │ │ │ + - Last updated: 2021-10-07 08:01:07 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/color.html │ │ │ @@ -478,12 +478,12 @@ │ │ │

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

│ │ │

al_is_color_valid

│ │ │

Source Code

│ │ │

Checks if all components of the color are between 0 and 1. Some of the color conversions in this addon support color spaces with more colors than can be represented in sRGB and when converted to RGB will result in invalid color components outside the 0..1 range.

│ │ │

Since: 5.2.3

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:01 UTC │ │ │ + - Last updated: 2021-10-07 08:01:15 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/config.html │ │ │ @@ -323,12 +323,12 @@ │ │ │

al_merge_config_into

│ │ │
void al_merge_config_into(ALLEGRO_CONFIG *master, const ALLEGRO_CONFIG *add)
│ │ │

Source Code

│ │ │

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

│ │ │

See also: al_merge_config

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:48 UTC │ │ │ + - Last updated: 2021-10-07 07:59:30 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/direct3d.html │ │ │ @@ -240,12 +240,12 @@ │ │ │ void (*callback)(ALLEGRO_DISPLAY *display)) │ │ │

Source Code

│ │ │

The callback will be called whenever a D3D device that has been reset is restored. In the callback you should restore any d3d resources you have created yourself. The callback receives the affected display as a parameter.

│ │ │

Pass NULL to disable the callback.

│ │ │

Since: 5.1.0

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:59 UTC │ │ │ + - Last updated: 2021-10-07 08:00:58 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/display.html │ │ │ @@ -686,12 +686,12 @@ │ │ │
bool al_clipboard_has_text(ALLEGRO_DISPLAY *display)
│ │ │

Source Code

│ │ │

This function returns true if and only if the clipboard has text available.

│ │ │

Since: 5.1.12

│ │ │

See also: al_set_clipboard_text, al_get_clipboard_text

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:49 UTC │ │ │ + - Last updated: 2021-10-07 07:59:35 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/events.html │ │ │ @@ -867,12 +867,12 @@ │ │ │

al_set_event_source_data

│ │ │
void al_set_event_source_data(ALLEGRO_EVENT_SOURCE *source, intptr_t data)
│ │ │

Source Code

│ │ │

Assign the abstract user data to the event source. Allegro does not use the data internally for anything; it is simply meant as a convenient way to associate your own data or objects with events.

│ │ │

See also: al_get_event_source_data

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:50 UTC │ │ │ + - Last updated: 2021-10-07 07:59:42 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/file.html │ │ │ @@ -513,12 +513,12 @@ │ │ │

See also: al_fopen, al_fclose, al_set_new_file_interface

│ │ │

al_get_file_userdata

│ │ │
void *al_get_file_userdata(ALLEGRO_FILE *f)
│ │ │

Source Code

│ │ │

Returns a pointer to the custom userdata that is attached to the file handle. This is intended to be used by functions that extend ALLEGRO_FILE_INTERFACE.

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:50 UTC │ │ │ + - Last updated: 2021-10-07 07:59:48 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/fixed.html │ │ │ @@ -478,12 +478,12 @@ │ │ │

This finds out the non negative square root of x. If x is negative, Allegro’s errno is set to EDOM and the function returns zero.

│ │ │

al_fixhypot

│ │ │
al_fixed al_fixhypot(al_fixed x, al_fixed y)
│ │ │

Source Code

│ │ │

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

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:50 UTC │ │ │ + - Last updated: 2021-10-07 07:59:48 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/font.html │ │ │ @@ -725,12 +725,12 @@ │ │ │

Since: 5.2.1

│ │ │
│ │ │

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

│ │ │
│ │ │

See also: ALLEGRO_GLYPH

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:01 UTC │ │ │ + - Last updated: 2021-10-07 08:01:17 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/fshook.html │ │ │ @@ -400,12 +400,12 @@ │ │ │

al_get_fs_interface

│ │ │
const ALLEGRO_FS_INTERFACE *al_get_fs_interface(void)
│ │ │

Source Code

│ │ │

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

│ │ │

See also: al_store_state, al_restore_state.

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:51 UTC │ │ │ + - Last updated: 2021-10-07 07:59:54 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/fullscreen_mode.html │ │ │ @@ -191,12 +191,12 @@ │ │ │

al_get_num_display_modes

│ │ │
int al_get_num_display_modes(void)
│ │ │

Source Code

│ │ │

Get the number of available fullscreen display modes for the current set of display parameters. This will use the values set with al_set_new_display_refresh_rate, and al_set_new_display_flags to find the number of modes that match. Settings the new display parameters to zero will give a list of all modes for the default driver.

│ │ │

See also: al_get_display_mode

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:51 UTC │ │ │ + - Last updated: 2021-10-07 07:59:56 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/getting_started.html │ │ │ @@ -183,12 +183,12 @@ │ │ │

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 ALLEGRO_UNSTABLE macro before including Allegro’s headers.

│ │ │

Note that when you define that macro, the version check performed by al_install_system and al_init becomes more scrict. See documentation of those functions for details.

│ │ │

Not the end

│ │ │

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

│ │ │

Enjoy!

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:48 UTC │ │ │ + - Last updated: 2021-10-07 07:59:26 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/graphics.html │ │ │ @@ -1492,12 +1492,12 @@ │ │ │

Since: 5.2.1

│ │ │
│ │ │

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

│ │ │
│ │ │

See also: al_backup_dirty_bitmap

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:52 UTC │ │ │ + - Last updated: 2021-10-07 07:59:59 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/haptic.html │ │ │ @@ -568,12 +568,12 @@ │ │ │

In case false is returned, the rumble effect will be automatically released as if al_release_haptic_effect 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 al_release_haptic_effect when the effect isn’t needed anymore, to prevent the amount of available effects on the haptic device from running out.

│ │ │

Since: 5.1.8

│ │ │
│ │ │

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

│ │ │
│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:52 UTC │ │ │ + - Last updated: 2021-10-07 07:59:59 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/image.html │ │ │ @@ -190,12 +190,12 @@ │ │ │

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

│ │ │

al_get_allegro_image_version

│ │ │
uint32_t al_get_allegro_image_version(void)
│ │ │

Source Code

│ │ │

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

│ │ │

│ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:02 UTC │ │ │ + - Last updated: 2021-10-07 08:01:22 UTC │ │ │

│ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/index.html │ │ │ @@ -154,12 +154,12 @@ │ │ │
  • Native dialogs addon
  • │ │ │
  • PhysicsFS addon
  • │ │ │
  • Primitives addon
  • │ │ │
  • Video streaming addon
  • │ │ │ │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:06 UTC │ │ │ + - Last updated: 2021-10-07 08:01:54 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/index_all.html │ │ │ @@ -1287,12 +1287,12 @@ │ │ │
  • al_win_add_window_callback
  • │ │ │
  • al_win_remove_window_callback
  • │ │ │
  • al_x_set_initial_icon
  • │ │ │
  • iPhone
  • │ │ │ │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:06 UTC │ │ │ + - Last updated: 2021-10-07 08:01:55 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/joystick.html │ │ │ @@ -305,12 +305,12 @@ │ │ │

    See also: ALLEGRO_JOYSTICK_STATE, al_get_joystick_num_buttons, al_get_joystick_num_axes

    │ │ │

    al_get_joystick_event_source

    │ │ │
    ALLEGRO_EVENT_SOURCE *al_get_joystick_event_source(void)
    │ │ │

    Source Code

    │ │ │

    Returns the global joystick event source. All joystick events are generated by this event source.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:53 UTC │ │ │ + - Last updated: 2021-10-07 08:00:06 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/keyboard.html │ │ │ @@ -344,12 +344,12 @@ │ │ │

    al_get_keyboard_event_source

    │ │ │
    ALLEGRO_EVENT_SOURCE *al_get_keyboard_event_source(void)
    │ │ │

    Source Code

    │ │ │

    Retrieve the keyboard event source. All keyboard events are generated by this event source.

    │ │ │

    Returns NULL if the keyboard subsystem was not installed.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:53 UTC │ │ │ + - Last updated: 2021-10-07 08:00:10 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/main.html │ │ │ @@ -165,12 +165,12 @@ │ │ │

    On platforms that require this functionality (e.g. OSX) this addon contains a C main function that invokes al_run_main with the user’s own main function, where the user’s main function has had its name mangled to something else. The file that defines the user main function must include the header file allegro5/allegro.h; that header performs the name mangling using some macros.

    │ │ │

    If the user main function is defined in C++, then it must have the following signature for this addon to work:

    │ │ │
    int main(int argc, char **argv)
    │ │ │

    This addon does nothing on platforms that don’t require its functionality, but you should keep it in mind in case you need to port to platforms that do require it.

    │ │ │

    Link with allegro_main.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:02 UTC │ │ │ + - Last updated: 2021-10-07 08:01:26 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/memfile.html │ │ │ @@ -178,12 +178,12 @@ │ │ │

    It should be closed with al_fclose. After the file is closed, you are responsible for freeing the memory (if needed).

    │ │ │

    al_get_allegro_memfile_version

    │ │ │
    uint32_t al_get_allegro_memfile_version(void)
    │ │ │

    Source Code

    │ │ │

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

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:03 UTC │ │ │ + - Last updated: 2021-10-07 08:01:27 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/memory.html │ │ │ @@ -245,12 +245,12 @@ │ │ │
    void al_set_memory_interface(ALLEGRO_MEMORY_INTERFACE *memory_interface)
    │ │ │

    Source Code

    │ │ │

    Override the memory management functions with implementations of al_malloc_with_context, al_free_with_context, al_realloc_with_context and al_calloc_with_context. The context arguments may be used for debugging. The new functions should be thread safe.

    │ │ │

    If the pointer is NULL, the default behaviour will be restored.

    │ │ │

    See also: ALLEGRO_MEMORY_INTERFACE

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:53 UTC │ │ │ + - Last updated: 2021-10-07 08:00:14 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/misc.html │ │ │ @@ -176,12 +176,12 @@ │ │ │

    al_run_main

    │ │ │
    int al_run_main(int argc, char **argv, int (*user_main)(int, char **))
    │ │ │

    Source Code

    │ │ │

    This function is useful in cases where you don’t have a main() function but want to run Allegro (mostly useful in a wrapper library). Under Windows and Linux this is no problem because you simply can call al_install_system. But some other system (like OSX) don’t allow calling al_install_system in the main thread. al_run_main will know what to do in that case.

    │ │ │

    The passed argc and argv will simply be passed on to user_main and the return value of user_main will be returned.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:53 UTC │ │ │ + - Last updated: 2021-10-07 08:00:18 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/monitor.html │ │ │ @@ -213,12 +213,12 @@ │ │ │
    int al_get_num_video_adapters(void)
    │ │ │

    Source Code

    │ │ │

    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.

    │ │ │

    On Windows, use al_set_new_display_flags to switch between Direct3D and OpenGL backends, which will often have different adapters available.

    │ │ │

    See also: al_get_monitor_info

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:54 UTC │ │ │ + - Last updated: 2021-10-07 08:00:19 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/mouse.html │ │ │ @@ -395,12 +395,12 @@ │ │ │

    Stop confining the mouse cursor to any display belonging to the program.

    │ │ │
    │ │ │

    Note: not yet implemented on Mac OS X.

    │ │ │
    │ │ │

    See also: al_grab_mouse

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:54 UTC │ │ │ + - Last updated: 2021-10-07 08:00:23 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/native_dialog.html │ │ │ @@ -650,12 +650,12 @@ │ │ │

    Source Code

    │ │ │

    Detaches the menu associated with the display and returns it. The menu can then be used on a different display.

    │ │ │

    If you simply want to destroy the active menu, you can call al_set_display_menu with a NULL menu.

    │ │ │

    Since: 5.1.0

    │ │ │

    See also: al_set_display_menu

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:03 UTC │ │ │ + - Last updated: 2021-10-07 08:01:31 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/opengl.html │ │ │ @@ -291,12 +291,12 @@ │ │ │

    You can disable the detection of any OpenGL extension by Allegro with a section like this in allegro5.cfg:

    │ │ │
    [opengl_disabled_extensions]
    │ │ │  GL_ARB_texture_non_power_of_two=0
    │ │ │  GL_EXT_framebuffer_object=0
    │ │ │

    Any extension which appears in the section is treated as not available (it does not matter if you set it to 0 or any other value).

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:59 UTC │ │ │ + - Last updated: 2021-10-07 08:01:02 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/path.html │ │ │ @@ -324,12 +324,12 @@ │ │ │

    al_make_path_canonical

    │ │ │
    bool al_make_path_canonical(ALLEGRO_PATH *path)
    │ │ │

    Source Code

    │ │ │

    Removes any leading ‘..’ directory components in absolute paths. Removes all ‘.’ directory components.

    │ │ │

    Note that this does not collapse “x/../y” sections into “y”. This is by design. If “/foo” on your system is a symlink to “/bar/baz”, then “/foo/../quux” is actually “/bar/quux”, not “/quux” as a naive removal of “..” components would give you.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:55 UTC │ │ │ + - Last updated: 2021-10-07 08:00:27 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/physfs.html │ │ │ @@ -187,12 +187,12 @@ │ │ │

    See also: al_set_new_file_interface.

    │ │ │

    al_get_allegro_physfs_version

    │ │ │
    uint32_t al_get_allegro_physfs_version(void)
    │ │ │

    Source Code

    │ │ │

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

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:03 UTC │ │ │ + - Last updated: 2021-10-07 08:01:36 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/platform.html │ │ │ @@ -314,12 +314,12 @@ │ │ │

    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.

    │ │ │

    Since: 5.2.3

    │ │ │
    │ │ │

    Unstable API: New API.

    │ │ │
    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:59 UTC │ │ │ + - Last updated: 2021-10-07 08:00:54 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/primitives.html │ │ │ @@ -1107,12 +1107,12 @@ │ │ │
  • ALLEGRO_PRIM_BUFFER_DYNAMIC - Hints to the driver that the buffer is written to often and is used often

  • │ │ │
  • ALLEGRO_PRIM_BUFFER_READWRITE - Specifies that you want to be able read from this buffer. By default this is disabled for performance. Some platforms (like OpenGL ES) do not support reading from vertex buffers, so if you pass this flag to al_create_vertex_buffer or al_create_index_buffer the call will fail.

  • │ │ │ │ │ │

    Since: 5.1.3

    │ │ │

    See also: al_create_vertex_buffer, al_create_index_buffer

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:04 UTC │ │ │ + - Last updated: 2021-10-07 08:01:40 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/shader.html │ │ │ @@ -426,12 +426,12 @@ │ │ │ ALLEGRO_SHADER_TYPE type) │ │ │

    Source Code

    │ │ │

    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.

    │ │ │

    Since: 5.1.6

    │ │ │

    See also: al_attach_shader_source

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:05 UTC │ │ │ + - Last updated: 2021-10-07 08:01:48 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/state.html │ │ │ @@ -230,12 +230,12 @@ │ │ │

    al_set_errno

    │ │ │
    void al_set_errno(int errnum)
    │ │ │  SETTER(allegro_errno, errnum)
    │ │ │

    Source Code

    │ │ │

    Set the error number for the calling thread.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:55 UTC │ │ │ + - Last updated: 2021-10-07 08:00:33 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/system.html │ │ │ @@ -584,12 +584,12 @@ │ │ │
  • ALLEGRO_SYSTEM_ID_RASPBERRYPI - Raspberry Pi
  • │ │ │
  • ALLEGRO_SYSTEM_ID_SDL - SDL
  • │ │ │ │ │ │

    Since: 5.2.5

    │ │ │

    See also: al_get_system_id

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:55 UTC │ │ │ + - Last updated: 2021-10-07 08:00:34 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/threads.html │ │ │ @@ -328,12 +328,12 @@ │ │ │
    void al_signal_cond(ALLEGRO_COND *cond)
    │ │ │

    Source Code

    │ │ │

    Unblock at least one thread waiting on a condition variable.

    │ │ │

    Generally you should use al_broadcast_cond but al_signal_cond may be more efficient when it’s applicable.

    │ │ │

    See also: al_broadcast_cond.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:56 UTC │ │ │ + - Last updated: 2021-10-07 08:00:39 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/time.html │ │ │ @@ -190,12 +190,12 @@ │ │ │
    void al_rest(double seconds)
    │ │ │

    Source Code

    │ │ │

    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

    │ │ │
    al_rest(0.000001)
    │ │ │

    might pause for something like 10ms. Also see the section on Timer routines for easier ways to time your program without using up all CPU.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:56 UTC │ │ │ + - Last updated: 2021-10-07 08:00:39 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/timer.html │ │ │ @@ -265,12 +265,12 @@ │ │ │

    See also: al_get_timer_speed

    │ │ │

    al_get_timer_event_source

    │ │ │
    ALLEGRO_EVENT_SOURCE *al_get_timer_event_source(ALLEGRO_TIMER *timer)
    │ │ │

    Source Code

    │ │ │

    Retrieve the associated event source. Timers will generate events of type ALLEGRO_EVENT_TIMER.

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:57 UTC │ │ │ + - Last updated: 2021-10-07 08:00:44 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/touch.html │ │ │ @@ -293,12 +293,12 @@ │ │ │

    See also: ALLEGRO_EVENT_SOURCE, al_register_event_source

    │ │ │

    Since: 5.1.0

    │ │ │
    │ │ │

    Unstable API: Seems of limited value, as touch input tends to have different semantics compared to mouse input.

    │ │ │
    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:57 UTC │ │ │ + - Last updated: 2021-10-07 08:00:44 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/transformations.html │ │ │ @@ -624,12 +624,12 @@ │ │ │
  • trans - Transformation to alter
  • │ │ │
  • theta - Rotation angle in radians
  • │ │ │ │ │ │

    Since: 5.1.7

    │ │ │

    See also: al_horizontal_shear_transform

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:57 UTC │ │ │ + - Last updated: 2021-10-07 08:00:49 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/utf8.html │ │ │ @@ -724,12 +724,12 @@ │ │ │
    size_t al_utf16_encode(uint16_t s[], int32_t c)
    │ │ │

    Source Code

    │ │ │

    Encode the specified code point to UTF-16 into the buffer s. The buffer must have enough space to hold the encoding, which takes either 2 or 4 bytes. This routine will refuse to encode code points above 0x10FFFF.

    │ │ │

    Returns the number of bytes written, which is the same as that returned by al_utf16_width.

    │ │ │

    See also: al_utf8_encode, al_ustr_encode_utf16

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:48:58 UTC │ │ │ + - Last updated: 2021-10-07 08:00:49 UTC │ │ │

    │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/allegro5-doc/refman/video.html │ │ │ @@ -321,12 +321,12 @@ │ │ │

    al_seek_video

    │ │ │
    bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds)
    │ │ │

    Source Code

    │ │ │

    Seek to a different position in the video. Currently only seeking to the beginning of the video is supported.

    │ │ │

    Since: 5.1.0

    │ │ │

    │ │ │ Allegro version 5.2.6 │ │ │ - - Last updated: 2020-11-27 12:49:06 UTC │ │ │ + - Last updated: 2021-10-07 08:01:50 UTC │ │ │

    │ │ │ │ │ │ │ │ │