Index

  • ALLEGRO_DATE — Defined to a number with the release date of Allegro.
  • ALLEGRO_DATE_STR — Defined to a string with the year Allegro was released.
  • ALLEGRO_SUB_VERSION — Defined to the middle version of Allegro.
  • ALLEGRO_VERSION — Defined to the major version of Allegro.
  • ALLEGRO_VERSION_STR — Defined to a string with the full Allegro version number.
  • ALLEGRO_WIP_VERSION — Defined to the minor version of Allegro.
  • ASSERT
  • AUDIOSTREAM — Stores an audiostream.
  • BITMAP — Stores the contents of a bitmap.
  • COLOR_MAP — Stores a color map to accelerate drawing.
  • COMPILED_SPRITE — Stores the contents of a compiled sprite.
  • DATAFILE — Stores an Allegro datafile in memory.
  • DAT_ID
  • DIALOG — Stores a GUI description.
  • DIALOG_PLAYER — Stores GUI data internally used by Allegro.
  • DIGI_*/BeOS
  • DIGI_*/DOS
  • DIGI_*/MacOSX
  • DIGI_*/QNX
  • DIGI_*/Unix
  • DIGI_*/Windows
  • END_OF_FUNCTION — Locks the code used by a timer.
  • END_OF_MAIN — Macro to put after your main() function.
  • FONT — Stores an Allegro font.
  • GFX_*/BeOS
  • GFX_*/DOS
  • GFX_*/Linux
  • GFX_*/MacOSX
  • GFX_*/QNX
  • GFX_*/Windows
  • GFX_*/X
  • GFX_MODE — Stores video mode information.
  • GFX_MODE_LIST — Stores an array of GFX_MODE structures.
  • JOYSTICK_BUTTON_INFO — Stores joystick button information.
  • JOYSTICK_INFO — Stores information about joysticks.
  • JOYSTICK_STICK_INFO — Stores joystick stick information.
  • JOYSTIC_AXIS_INFO — Stores joystick axis information.
  • JOY_TYPE_*/DOS
  • LOCK_VARIABLE — Locks the memory of a variable used by a timer.
  • MASK_COLOR_15 — Constant representing the mask value in sprites.
  • MASK_COLOR_16 — Constant representing the mask value in sprites.
  • MASK_COLOR_24 — Constant representing the mask value in sprites.
  • MASK_COLOR_32 — Constant representing the mask value in sprites.
  • MASK_COLOR_8 — Constant representing the mask value in sprites.
  • MATRIX — Fixed point matrix structure.
  • MATRIX_f — Floating point matrix structure.
  • MENU — Stores the entries of a menu.
  • MENU_PLAYER — Stores GUI data internally used by Allegro.
  • MIDI — Stores MIDI data.
  • MIDI_*/BeOS
  • MIDI_*/DOS
  • MIDI_*/MacOSX
  • MIDI_*/QNX
  • MIDI_*/Unix
  • MIDI_*/Windows
  • PACKFILE — Packfile structure, similar to a stdio.h FILE structure.
  • PALETTE — Stores palette information.
  • QUAT — Stores quaternion information.
  • RGB — Single palette entry.
  • RGB_MAP — Stores an rgb map to accelerate conversions.
  • RLE_SPRITE — Stores the contents of an RLE sprite.
  • SAMPLE — Stores sound data.
  • SCREEN_H — Global define to obtain the size of the screen.
  • SCREEN_W — Global define to obtain the size of the screen.
  • TRACE
  • V3D — Fixed point vertex structure used by 3d functions.
  • V3D_f — Floating point vertex structure used by 3d functions.
  • VIRTUAL_H — Global define to obtain the virtual size of the screen.
  • VIRTUAL_W — Global define to obtain the virtual size of the screen.
  • ZBUFFER — Stores 3d zbuffer information.
  • _getpixel — Faster specific version of getpixel().
  • _getpixel15 — Faster specific version of getpixel().
  • _getpixel16 — Faster specific version of getpixel().
  • _getpixel24 — Faster specific version of getpixel().
  • _getpixel32 — Faster specific version of getpixel().
  • _putpixel — Faster specific version of putpixel().
  • _putpixel15 — Faster specific version of putpixel().
  • _putpixel16 — Faster specific version of putpixel().
  • _putpixel24 — Faster specific version of putpixel().
  • _putpixel32 — Faster specific version of putpixel().
  • _set_color — Inline version of set_color().
  • _ustrdup — Duplicates a string with a custom memory allocator.
  • acquire_bitmap — Locks the bitmap before drawing onto it.
  • acquire_screen — Shortcut of acquire_bitmap(screen);
  • active_dialog
  • active_menu
  • add_clip_rect — Expands a bitmap's clipping rectangle with a new area.
  • adjust_sample — Alters the parameters of a sample while it is playing.
  • al_assert
  • al_ffblk — Cross platform structure storing file information.
  • al_findclose — Closes a previously opened search with al_findfirst().
  • al_findfirst — Low-level function for searching files.
  • al_findnext — Finds the next file in a search started by al_findfirst().
  • al_trace
  • alert
  • alert3
  • allegro_404_char — Character used when Allegro cannot find a glyph.
  • allegro_error — Stores the last Allegro error message.
  • allegro_exit — Closes down the Allegro system.
  • allegro_icon
  • allegro_id — String containing date and version number of Allegro.
  • allegro_init — Macro to initialise the Allegro library.
  • allegro_message — Used mainly to show error messages to users.
  • allocate_voice — Allocates a soundcard voice for a sample.
  • append_filename — Concatenates a filename to a path.
  • apply_matrix
  • apply_matrix_f
  • apply_quat
  • arc — Draws a circular arc.
  • bestfit_color — Finds a palette color fitting the requested RGB values.
  • bitmap_color_depth — Returns the color depth of the specified bitmap.
  • bitmap_mask_color — Returns the mask color of the specified bitmap.
  • black_palette — A palette containing solid black colors.
  • blit — Copies a rectangular area from one bitmap to another.
  • blit_from_hdc
  • blit_to_hdc
  • broadcast_dialog_message
  • calc_spline — Calculates a series of values along a bezier spline.
  • calibrate_joystick — Calibrates the specified joystick.
  • calibrate_joystick_name — Returns the next calibration text string.
  • canonicalize_filename — Converts any filename into its canonical form.
  • centre_dialog
  • check_cpu — Detects the CPU type.
  • circle — Draws a circle.
  • circlefill — Draws a filled circle.
  • clear_bitmap — Clears the bitmap to color 0.
  • clear_keybuf — Clears the keyboard buffer.
  • clear_scene — Initializes a scene.
  • clear_to_color — Clears the bitmap to the specified color.
  • clear_zbuffer — Writes a depth value into the given Z-buffer.
  • clip3d — Clips the polygon given in vtx using fixed point math.
  • clip3d_f — Clips the polygon given in vtx using floating point math,
  • close_fli — Closes a FLI file previously opened.
  • color_map — Global pointer to the color mapping table.
  • config_is_hooked — Tells if a config section has custom hooks.
  • convert_bitmap_to_hbitmap
  • convert_hbitmap_to_bitmap
  • convert_hpalette_to_palette
  • convert_palette_to_hpalette
  • cpu_capabilities — Contains the capability flags of the CPU.
  • cpu_family — Contains the Intel CPU type.
  • cpu_model — Contains the Intel CPU submodel.
  • cpu_vendor — Contains the CPU vendor name.
  • create_bitmap — Creates a memory bitmap.
  • create_bitmap_ex — Creates a memory bitmap specifying color depth.
  • create_blender_table — Emulates truecolor blender effects in palettised modes.
  • create_color_table — Fills a color mapping table for customised effects.
  • create_light_table — Fills a color mapping table for lighting effects.
  • create_rgb_table — Generates an RGB mapping table with lookup data for a palette.
  • create_sample — Constructs a new sample structure of the specified type.
  • create_scene — Allocates memory for a 3d scene.
  • create_sub_bitmap — Creates a memory sub bitmap.
  • create_sub_zbuffer — Creates a sub-z-buffer.
  • create_system_bitmap — Creates a system memory bitmap.
  • create_trans_table — Fills a color mapping table for translucency effects.
  • create_video_bitmap — Creates a video memory bitmap.
  • create_zbuffer — Creates a Z-buffer for a bitmap.
  • cross_product
  • cross_product_f
  • d_bitmap_proc
  • d_box_proc
  • d_button_proc
  • d_check_proc
  • d_clear_proc
  • d_ctext_proc
  • d_edit_proc
  • d_icon_proc
  • d_keyboard_proc
  • d_list_proc
  • d_menu_proc
  • d_radio_proc
  • d_rtext_proc
  • d_shadow_box_proc
  • d_slider_proc
  • d_text_list_proc
  • d_text_proc
  • d_textbox_proc
  • d_yield_proc
  • deallocate_voice — Frees a soundcard voice.
  • default_palette — The default IBM BIOS palette.
  • delete_file — Removes a file from the disk.
  • desktop_color_depth — Finds out the desktop color depth.
  • desktop_palette — The palette used by the Atari ST low resolution desktop.
  • destroy_bitmap — Destroys any type of created bitmap.
  • destroy_compiled_sprite — Destroys a compiled sprite.
  • destroy_font — Frees the memory being used by a font structure.
  • destroy_gfx_mode_list — Frees the list created by get_gfx_mode_list().
  • destroy_midi — Destroys a MIDI structure when you are done with it.
  • destroy_rle_sprite — Destroys an RLE sprite.
  • destroy_sample — Destroys a sample structure when you are done with it.
  • destroy_scene — Deallocates the memory used by a scene.
  • destroy_zbuffer — Destroys a Z-buffer.
  • detect_digi_driver — Detects whether the specified digital sound device is available.
  • detect_midi_driver — Detects whether the specified MIDI sound device is available.
  • dialog_message
  • digi_recorder — Hook notifying you when a new sample buffer becomes available.
  • disable_hardware_cursor — Disables the OS hardware cursor.
  • do_arc — Calculates all the points in a circular arc.
  • do_circle — Calculates all the points in a circle.
  • do_dialog
  • do_ellipse — Calculates all the points in an ellipse.
  • do_line — Calculates all the points along a line.
  • do_menu
  • do_uconvert — Converts a string to another encoding format.
  • dot_product
  • dot_product_f
  • draw_character_ex — Draws non transparent pixels of the sprite with a color.
  • draw_compiled_sprite — Draws a compiled sprite.
  • draw_gouraud_sprite — Draws a sprite with gouraud shading.
  • draw_lit_rle_sprite — Draws a tinted RLE sprite.
  • draw_lit_sprite — Draws a sprite tinted with a specific color.
  • draw_rle_sprite — Draws an RLE sprite.
  • draw_sprite — Draws a copy of the sprite onto the destination bitmap.
  • draw_sprite_h_flip — Draws the sprite transformed to the destination bitmap.
  • draw_sprite_v_flip — Draws the sprite transformed to the destination bitmap.
  • draw_sprite_vh_flip — Draws the sprite transformed to the destination bitmap.
  • draw_to_hdc
  • draw_trans_rle_sprite — Draws a translucent RLE sprite.
  • draw_trans_sprite — Draws a sprite blending it with the destination.
  • drawing_mode — Sets the graphics drawing mode.
  • ellipse — Draws an ellipse.
  • ellipsefill — Draws a filled ellipse.
  • empty_string — Universal string NULL terminator.
  • enable_hardware_cursor — Enables the OS hardware cursor.
  • enable_triple_buffer — Enables triple buffering.
  • exists — Shortcut version of file_exists() for normal files.
  • extract_font_range — Extracts a range pf characters from a font.
  • fade_from — Gradually fades the palette between two others.
  • fade_from_range — Gradually fades a part of the palette between two others.
  • fade_in — Gradually fades the palette from black.
  • fade_in_range — Gradually fades a part of the palette from black.
  • fade_interpolate — Calculates a new palette interpolated between two others.
  • fade_out — Gradually fades the palette to black.
  • fade_out_range — Gradually fades a part of the palette to black.
  • fastline — Faster version of line().
  • file_exists — Tells if a file exists.
  • file_select_ex
  • file_size — Returns the size of a file in bytes.
  • file_time — Returns the modification time of a file.
  • find_allegro_resource — Searches for a support file in many places.
  • find_datafile_object
  • find_dialog_focus
  • fix_filename_case — Converts a filename to a standardised case.
  • fix_filename_slashes — Converts all the directory separators to a standard character.
  • fixacos
  • fixadd
  • fixasin
  • fixatan
  • fixatan2
  • fixceil
  • fixcos
  • fixdiv
  • fixed — Fixed point integer to replace floats.
  • fixfloor
  • fixhypot
  • fixmul
  • fixsin
  • fixsqrt
  • fixsub
  • fixtan
  • fixtof
  • fixtoi
  • fixtorad_r
  • fixup_datafile
  • fli_bitmap — Contains the current frame of the animation.
  • fli_bmp_dirty_from — Indicate which parts of the image have changed.
  • fli_bmp_dirty_to — Indicate which parts of the image have changed.
  • fli_frame — Stores the current frame number of the animation.
  • fli_pal_dirty_from — Indicate which parts of the palette have changed.
  • fli_pal_dirty_to — Indicate which parts of the palette have changed.
  • fli_palette — Contains the current palette of the animation.
  • fli_timer — Global variable for timing FLI playback.
  • floodfill — Floodfills an enclosed area.
  • flush_config_file — Flushes the current config file to disk.
  • font — A simple 8x8 fixed size font.
  • for_each_file_ex — Executes callback() for each file matching a wildcard.
  • free_audio_stream_buffer — Tells the audio stream player new data can be played.
  • freeze_mouse_flag — Flag to avoid redrawing the mouse pointer.
  • ftofix
  • generate_332_palette — Constructs a fake truecolor palette.
  • generate_optimized_palette — Generates an optimized palette for a bitmap.
  • get_align_matrix
  • get_align_matrix_f
  • get_audio_stream_buffer — Tells you if you need to fill the audiostream or not.
  • get_camera_matrix
  • get_camera_matrix_f
  • get_clip_rect — Returns the clipping rectangle of a bitmap.
  • get_clip_state — Tells if clipping is on for a bitmap.
  • get_color — Retrieves the specified palette entry.
  • get_color_conversion — Returns the current color conversion mode.
  • get_color_depth — Returns the current pixel color depth.
  • get_compiled_sprite — Creates a compiled sprite using a bitmap as source.
  • get_config_argv — Reads a token list from the configuration file.
  • get_config_float — Retrieves a float from the configuration file.
  • get_config_hex — Retrieves a hexadecimal value from the configuration file.
  • get_config_id — Retrieves a driver ID from a configuration file.
  • get_config_int — Retrieves an integer from the configuration file.
  • get_config_string — Retrieves a string from the configuration file.
  • get_config_text — Returns a string translated to the current language.
  • get_datafile_property
  • get_desktop_resolution — Finds out the desktop resolution.
  • get_display_switch_mode — Returns the current display switching mode.
  • get_executable_name — Obtains the full path to the current executable.
  • get_extension — Returns a pointer to the extension of a filename.
  • get_filename — Returns a pointer to the filename portion of a path.
  • get_font_range_begin — Returns the start of a character range in a font.
  • get_font_range_end — Returns the last character of a character range in a font.
  • get_font_ranges — Returns the number of character ranges in a font.
  • get_gfx_mode_list — Obtains a list of available video modes.
  • get_mixer_bits — Returns the mixer bitdepth (8 or 16).
  • get_mixer_buffer_length — Returns the number of samples per channel in the mixer buffer.
  • get_mixer_channels — Returns the number of output channels.
  • get_mixer_frequency — Returns the mixer frequency, in Hz.
  • get_mixer_quality — Returns the current mixing quality.
  • get_mixer_voices — Returns the number of voices allocated to the mixer.
  • get_mouse_mickeys — How far the mouse has moved since the last call to this function.
  • get_palette — Retrieves the entire palette of 256 colors.
  • get_palette_range — Retrieves a specific palette range.
  • get_refresh_rate — Returns the current refresh rate.
  • get_rle_sprite — Creates an RLE sprite using a bitmap as source.
  • get_rotation_matrix
  • get_rotation_matrix_f
  • get_rotation_quat
  • get_scaling_matrix
  • get_scaling_matrix_f
  • get_sound_input_cap_bits — Checks which audio input sample formats are supported.
  • get_sound_input_cap_parm — Detects if the specified recording parameters are supported.
  • get_sound_input_cap_rate — Returns the maximum sample frequency for recording.
  • get_sound_input_cap_stereo — Tells if the input driver is capable of stereo recording.
  • get_transformation_matrix
  • get_transformation_matrix_f
  • get_translation_matrix
  • get_translation_matrix_f
  • get_uformat — Finds out what text encoding format is currently selected.
  • get_vector_rotation_matrix
  • get_vector_rotation_matrix_f
  • get_vector_rotation_quat
  • get_x_rotate_matrix
  • get_x_rotate_matrix_f
  • get_x_rotate_quat
  • get_y_rotate_matrix
  • get_y_rotate_matrix_f
  • get_y_rotate_quat
  • get_z_rotate_matrix
  • get_z_rotate_matrix_f
  • get_z_rotate_quat
  • geta — Extract a color component from the current pixel format.
  • geta32 — Extract the alpha component form a 32-bit pixel format color.
  • geta_depth — Extract a color component from a color in a specified pixel format.
  • getb — Extract a color component from the current pixel format.
  • getb15 — Extract a color component from the specified pixel format.
  • getb16 — Extract a color component from the specified pixel format.
  • getb24 — Extract a color component from the specified pixel format.
  • getb32 — Extract a color component from the specified pixel format.
  • getb8 — Extract a color component from the specified pixel format.
  • getb_depth — Extract a color component from a color in a specified pixel format.
  • getg — Extract a color component from the current pixel format.
  • getg15 — Extract a color component from the specified pixel format.
  • getg16 — Extract a color component from the specified pixel format.
  • getg24 — Extract a color component from the specified pixel format.
  • getg32 — Extract a color component from the specified pixel format.
  • getg8 — Extract a color component from the specified pixel format.
  • getg_depth — Extract a color component from a color in a specified pixel format.
  • getpixel — Reads a pixel from a bitmap.
  • getr — Extract a color component from the current pixel format.
  • getr15 — Extract a color component from the specified pixel format.
  • getr16 — Extract a color component from the specified pixel format.
  • getr24 — Extract a color component from the specified pixel format.
  • getr32 — Extract a color component from the specified pixel format.
  • getr8 — Extract a color component from the specified pixel format.
  • getr_depth — Extract a color component from a color in a specified pixel format.
  • gfx_capabilities — Bitfield describing video hardware capabilities.
  • gfx_mode_select
  • gfx_mode_select_ex
  • gfx_mode_select_filter
  • gui_bg_color
  • gui_button_proc
  • gui_ctext_proc
  • gui_edit_proc
  • gui_fg_color
  • gui_font_baseline
  • gui_get_screen
  • gui_list_proc
  • gui_menu_draw_menu
  • gui_menu_draw_menu_item
  • gui_mg_color
  • gui_mouse_b
  • gui_mouse_focus
  • gui_mouse_x
  • gui_mouse_y
  • gui_mouse_z
  • gui_set_screen
  • gui_shadow_box_proc
  • gui_strlen
  • gui_text_list_proc
  • gui_textout_ex
  • hline — Draws a horizontal line onto the bitmap.
  • hook_config_section — Hooks a configuration file section with custom handlers.
  • hsv_to_rgb — Converts color values between the HSV and RGB colorspaces.
  • i_love_bill
  • identity_matrix
  • identity_matrix_f
  • identity_quat
  • init_dialog
  • init_menu
  • initialise_joystick — Deprecated version of install_joystick().
  • install_allegro — Initialise the Allegro library.
  • install_int — Installs a user timer handler.
  • install_int_ex — Adds or modifies a timer.
  • install_joystick — Initialises the joystick.
  • install_keyboard — Installs the Allegro keyboard interrupt handler.
  • install_keyboard_hooks — Installs custom keyboard hooks.
  • install_mouse — Installs the Allegro mouse handler.
  • install_param_int — Installs a timer routine with a customizable parameter.
  • install_param_int_ex — Adds or modifies a timer with a customizable parameter.
  • install_sound — Initialises the sound module.
  • install_sound_input — Initialises the sound recorder module.
  • install_timer — Installs the Allegro timer interrupt handler.
  • is_color_font — Returns TRUE if a font is a color font.
  • is_compatible_font — Check if two fonts are of the same type.
  • is_inside_bitmap — Tells if a point is inside a bitmap.
  • is_linear_bitmap — Tells if a bitmap is linear.
  • is_memory_bitmap — Tells if a bitmap is a memory bitmap.
  • is_mono_font — Returns TRUE if a font is a monochrome font.
  • is_planar_bitmap — Tells if a bitmap is a planar screen bitmap.
  • is_relative_filename — Returns TRUE if the filename is relative.
  • is_same_bitmap — Tells if two bitmaps describe the same drawing surface.
  • is_screen_bitmap — Tells if a bitmap is the screen bitmap or sub bitmap.
  • is_sub_bitmap — Tells if a bitmap is a sub bitmap.
  • is_system_bitmap — Tells if a bitmap is a system bitmap or sub bitmap.
  • is_video_bitmap — Tells if a bitmap is a screen bitmap, video memory or sub bitmap.
  • is_windowed_mode — Tells if you are running in windowed mode.
  • itofix
  • joy — Global array of joystick state information.
  • key — Array of flags indicating key state.
  • key_led_flag — Flag to prevent the keyboard LEDs from being updated.
  • key_shifts — Bitmask containing the current state of modifier keys.
  • keyboard_callback — User specified keyboard callback handler.
  • keyboard_lowlevel_callback — User specified low level keyboard event handler.
  • keyboard_needs_poll — Tells if the keyboard needs polling.
  • keyboard_ucallback — User specified unicode keyboard callback handler.
  • keypressed — Tells if there are keypresses waiting in the input buffer.
  • line — Draws a line onto the bitmap.
  • load_bios_font — Loads a 8x8 or 8x16 BIOS format font.
  • load_bitmap — Loads any supported bitmap from a file.
  • load_bitmap_font — Grabs a font from a bitmap file.
  • load_bmp — Loads a BMP bitmap from a file.
  • load_dat_font — Loads a FONT from an Allegro datafile.
  • load_datafile
  • load_datafile_callback
  • load_datafile_object
  • load_font — Loads a font from a file.
  • load_grx_font — Loads a GRX format font.
  • load_grx_or_bios_font — Loads either a BIOS or GRX format font.
  • load_ibk — Reads in a .IBK patch definition file for the Adlib driver.
  • load_joystick_data — Loads joystick calibration data.
  • load_lbm — Loads an LBM bitmap from a file.
  • load_midi — Loads a MIDI file.
  • load_midi_patches — Forces the MIDI driver to load a set of patches.
  • load_pcx — Loads a PCX bitmap from a file.
  • load_sample — Loads a sample from a file.
  • load_tga — Loads a TGA bitmap from a file.
  • load_txt_font — Loads a font script.
  • load_voc — Loads a sample from a Creative Labs VOC file.
  • load_wav — Loads a sample from a RIFF WAV file.
  • lock_bitmap — Locks the memory used by a bitmap.
  • lock_midi — Locks all the memory used by a MIDI file.
  • lock_sample — Locks all the memory used by a sample.
  • make_absolute_filename — Makes an absolute filename from a path and relative filename.
  • make_relative_filename — Tries to make a relative filename from absolute path and filename.
  • makeacol — Converts RGBA colors into display dependent pixel formats.
  • makeacol32 — Converts an RGBA color into a 32-bit display pixel format.
  • makeacol_depth — Converts RGBA colors into display dependent pixel formats.
  • makecol — Converts an RGB value into the current pixel format.
  • makecol15 — Converts an RGB value into a display dependent pixel format.
  • makecol15_dither — Calculates a dithered 15 or 16-bit RGB value.
  • makecol16 — Converts an RGB value into a display dependent pixel format.
  • makecol16_dither — Calculates a dithered 15 or 16-bit RGB value.
  • makecol24 — Converts an RGB value into a display dependent pixel format.
  • makecol32 — Converts an RGB value into a display dependent pixel format.
  • makecol8 — Converts an RGB value into a display dependent pixel format.
  • makecol_depth — Converts an RGB value into the specified pixel format.
  • masked_blit — Copies a rectangle skipping pixels with the mask color.
  • masked_stretch_blit — Scales a rectangular area skipping pixels with the mask color.
  • matrix_mul
  • matrix_mul_f
  • matrix_to_quat
  • merge_fonts — Merges two fonts into one font.
  • midi_loop_end — Loop start and end points, set by play_looped_midi().
  • midi_loop_start — Loop start and end points, set by play_looped_midi().
  • midi_meta_callback — Hook functions allowing you to intercept MIDI player events.
  • midi_msg_callback — Hook functions allowing you to intercept MIDI player events.
  • midi_out — Streams a block of MIDI commands into the player.
  • midi_pause — Pauses the MIDI player.
  • midi_pos — Stores the current position in the MIDI file.
  • midi_recorder — Hook notifying you when new MIDI data becomes available.
  • midi_resume — Resumes playback of a paused MIDI file.
  • midi_seek — Seeks to the given midi_pos in the current MIDI file.
  • midi_sysex_callback — Hook functions allowing you to intercept MIDI player events.
  • mouse_b — Global variable with the mouse position/button state.
  • mouse_callback — User specified mouse callback.
  • mouse_needs_poll — Tells if the mouse driver requires polling.
  • mouse_pos — Global variable with the mouse position/button state.
  • mouse_sprite — Global variable with the mouse sprite and focus point.
  • mouse_x — Global variable with the mouse position/button state.
  • mouse_x_focus — Global variable with the mouse sprite and focus point.
  • mouse_y — Global variable with the mouse position/button state.
  • mouse_y_focus — Global variable with the mouse sprite and focus point.
  • mouse_z — Global variable with the mouse position/button state.
  • need_uconvert — Tells if a string requires encoding conversion.
  • next_fli_frame — Reads the next frame of the current animation file.
  • normalize_vector
  • normalize_vector_f
  • num_joysticks — Global variable saying how many joysticks there are.
  • object_message
  • offer_focus
  • open_fli — Makes a FLI file open and ready for playing.
  • open_memory_fli — Makes a FLI file open and ready for playing.
  • os_multitasking — Indicates if the OS is multitasking.
  • os_revision — Version of the OS currently running.
  • os_type — Stores the detected type of the OS.
  • os_version — Version of the OS currently running.
  • override_config_data — Specifies a block of data containing config overrides.
  • override_config_file — Specifies a file containing config overrides.
  • pack_fclose — Closes a stream previously opened with pack_fopen().
  • pack_fclose_chunk — Closes a previously opened sub-chunk.
  • pack_feof — Returns nonzero as soon as you reach the end of the file.
  • pack_ferror — Tells if an error occurred during an operation on the stream.
  • pack_fgets — Reads a line from the stream.
  • pack_fopen — Opens a file according to mode.
  • pack_fopen_chunk — Opens a sub-chunk of a file.
  • pack_fputs — Writes a string to the stream.
  • pack_fread — Reads n bytes from the stream.
  • pack_fseek — Seeks inside a stream.
  • pack_fwrite — Writes n bytes to the stream.
  • pack_getc — Returns the next character from a stream.
  • pack_igetl — Like pack_getc(), but using 32-bit Intel byte ordering words.
  • pack_igetw — Like pack_getc(), but using 16-bit Intel byte ordering words.
  • pack_iputl — Like pack_putc(), but using 32-bit Intel byte ordering words.
  • pack_iputw — Like pack_putc(), but using 16-bit Intel byte ordering words.
  • pack_mgetl — Like pack_getc(), but using 32-bit Motorola byte ordering words.
  • pack_mgetw — Like pack_getc(), but using 16-bit Motorola byte ordering words.
  • pack_mputl — Like pack_putc(), but using 32-bit Motorola byte ordering words.
  • pack_mputw — Like pack_putc(), but using 16-bit Motorola byte ordering words.
  • pack_putc — Puts a character in the stream.
  • packfile_password — Sets the global I/O encryption password.
  • palette_color — Maps palette indexes into the current pixel format colors.
  • persp_project
  • persp_project_f
  • pivot_scaled_sprite — Rotates and stretches a sprite around a specified point.
  • pivot_scaled_sprite_v_flip — Rotates, stretches and flips a sprite around a specified point.
  • pivot_sprite — Rotates a sprite around a specified point.
  • pivot_sprite_v_flip — Rotates and flips a sprite around a specified point.
  • play_audio_stream — Creates a new audio stream and starts playing it.
  • play_fli — Plays a FLI or FLC animation from disk.
  • play_looped_midi — Starts playing a MIDI file with a user-defined loop position.
  • play_memory_fli — Plays a FLI or FLC animation from memory.
  • play_midi — Starts playing the specified MIDI file.
  • play_sample — Plays a sample.
  • poll_joystick — Polls the joystick.
  • poll_keyboard — Polls the keyboard.
  • poll_mouse — Polls the mouse.
  • poll_scroll — Checks the status of a scroll request with triple buffering.
  • polygon — Draws a filled polygon.
  • polygon3d — Draws a 3d polygon onto the specified bitmap.
  • polygon3d_f — Draws a 3d polygon onto the specified bitmap.
  • polygon_z_normal
  • polygon_z_normal_f
  • pop_config_state — Pops a previously pushed configuration state.
  • popup_dialog
  • position_dialog
  • position_mouse — Moves the mouse to the specified screen position.
  • position_mouse_z — Sets the mouse wheel position global variable.
  • push_config_state — Pushes the current configuration state.
  • put_backslash — Puts a path separator at the end of a path.
  • putpixel — Writes a pixel into a bitmap.
  • qnx_get_window
  • qscale_matrix
  • qscale_matrix_f
  • qtranslate_matrix
  • qtranslate_matrix_f
  • quad3d — Draws a 3d quad onto the specified bitmap.
  • quad3d_f — Draws a 3d quad onto the specified bitmap.
  • quat_interpolate
  • quat_mul
  • quat_slerp
  • quat_to_matrix
  • radtofix_r
  • read_sound_input — Retrieves the last recorded audio buffer.
  • readkey — Returns the next character from the keyboard buffer.
  • reallocate_voice — Switches the sample of an already-allocated voice.
  • rect — Draws an outline rectangle.
  • rectfill — Draws a solid filled rectangle.
  • register_assert_handler
  • register_bitmap_file_type — Registers custom bitmap loading/saving functions.
  • register_datafile_object
  • register_font_file_type — Register a new font loading function.
  • register_sample_file_type — Registers custom loading/saving sample routines.
  • register_trace_handler
  • register_uformat — Installs handler functions for a new text encoding format.
  • release_bitmap — Releases a previously locked bitmap.
  • release_screen — Shortcut of release_bitmap(screen);
  • release_voice — Releases a soundcard voice.
  • reload_config_texts — Reloads translated strings returned by get_config_text().
  • remove_display_switch_callback — Removes a switching notification callback.
  • remove_int — Removes a timers.
  • remove_joystick — Removes the joystick handler.
  • remove_keyboard — Removes the Allegro keyboard handler.
  • remove_mouse — Removes the mouse handler.
  • remove_param_int — Removes a timer with a customizable parameter.
  • remove_sound — Cleans up after you are finished with the sound routines.
  • remove_sound_input — Cleans up after you are finished with the sound input routines.
  • remove_timer — Removes the Allegro time handler.
  • render_scene — Renders all the queued scene polygons.
  • replace_extension — Replaces filename+extension with a new extension tail.
  • replace_filename — Replaces path+filename with a new filename tail.
  • request_refresh_rate — Requests a specific refresh rate during graphic mode switch.
  • request_scroll — Queues a hardware scroll request with triple buffering.
  • request_video_bitmap — Triple buffering page flip request.
  • reserve_voices — Reserve a number of voices for the digital and MIDI drivers.
  • reset_fli_variables — Resets the bitmap and palette dirty global variables.
  • rest — Waits a specified number of milliseconds.
  • rest_callback
  • retrace_count — Retrace count simulator.
  • rgb_map — Look up table to speed up reducing RGB values to palette colors.
  • rgb_to_hsv — Converts color values between the HSV and RGB colorspaces.
  • rotate_scaled_sprite — Rotates and stretches a sprite.
  • rotate_scaled_sprite_v_flip — Rotates, stretches and flips a sprite.
  • rotate_sprite — Rotates a sprite.
  • rotate_sprite_v_flip — Rotates and flips a sprite.
  • save_bitmap — Saves a bitmap into any supported file format.
  • save_bmp — Saves a bitmap into a BMP file.
  • save_joystick_data — Saves joystick calibration data.
  • save_pcx — Saves a bitmap into a PCX file.
  • save_sample — Writes a sample into a file.
  • save_tga — Saves a bitmap into a TGA file.
  • scancode_to_ascii — Converts a scancode to an ASCII character.
  • scancode_to_name — Converts a scancode to a key name.
  • scare_mouse — Helper for hiding the mouse pointer before drawing.
  • scare_mouse_area — Helper for hiding the mouse cursor before drawing in an area.
  • scene_gap — Number controlling the scene z-sorting algorithm behaviour.
  • scene_polygon3d — Puts a polygon in the scene rendering list.
  • scene_polygon3d_f — Puts a polygon in the scene rendering list.
  • screen — Global pointer to the screen hardware video memory.
  • scroll_screen — Requests a hardware scroll request.
  • select_mouse_cursor — Tells Allegro to select software or hardware cursor drawing.
  • select_palette — Sets the internal palette for color conversion.
  • set_add_blender — Enables an additive blender mode.
  • set_allegro_resource_path — Sets a specific resource search path.
  • set_alpha_blender — Enables a special alpha-channel blending mode.
  • set_blender_mode — Specifies a custom set of truecolor blender routines.
  • set_blender_mode_ex — An even more complex version of set_blender_mode().
  • set_burn_blender — Enables a burn blender mode.
  • set_clip_rect — Sets the clipping rectangle of a bitmap.
  • set_clip_state — Turns on or off the clipping of a bitmap.
  • set_close_button_callback — Handles the user clicking on the close button of the window.
  • set_color — Sets the specified palette entry to the specified RGB triplet.
  • set_color_blender — Enables a color blender mode.
  • set_color_conversion — Tells Allegro how to convert images during loading time.
  • set_color_depth — Sets the global pixel color depth.
  • set_config_data — Sets a block of configuration data.
  • set_config_file — Sets the configuration file.
  • set_config_float — Writes a float in the configuration file.
  • set_config_hex — Writes a hexadecimal integer in the configuration file.
  • set_config_id — Writes a driver ID in the configuration file.
  • set_config_int — Writes an integer in the configuration file.
  • set_config_string — Writes a string in the configuration file.
  • set_dialog_color
  • set_difference_blender — Enables a difference blender mode.
  • set_display_switch_callback — Installs a switching notification callback.
  • set_display_switch_mode — Tells Allegro how the program handles background switching.
  • set_dissolve_blender — Enables a dissolve blender mode.
  • set_dodge_blender — Enables a dodge blender mode.
  • set_gdi_color_format
  • set_gfx_mode — Sets a graphic video mode.
  • set_hardware_volume — Alters the hardware sound output volume.
  • set_hue_blender — Enables a hue blender mode.
  • set_invert_blender — Enables an invert blender mode.
  • set_keyboard_rate — Sets the keyboard repeat rate.
  • set_leds — Sets the state of the keyboard LED indicators.
  • set_luminance_blender — Enables a luminance blender mode.
  • set_mixer_quality — Sets the resampling quality of the mixer.
  • set_mouse_cursor_bitmap — Changes the image Allegro uses for mouse cursors.
  • set_mouse_range — Sets the area of the screen restricting mouse movement.
  • set_mouse_speed — Sets the mouse speed.
  • set_mouse_sprite — Sets the mouse sprite.
  • set_mouse_sprite_focus — Sets the mouse sprite focus.
  • set_multiply_blender — Enables a multiply blender mode.
  • set_palette — Sets the entire palette of 256 colors.
  • set_palette_range — Sets a specific range of the palette.
  • set_palette_to_hdc
  • set_projection_viewport
  • set_saturation_blender — Enables a saturation blender mode.
  • set_screen_blender — Enables a screen blender mode.
  • set_sound_input_source — Selects the audio input source.
  • set_trans_blender — Enables a truecolor blender.
  • set_ucodepage — Sets 8-bit to Unicode conversion tables.
  • set_uformat — Set the global current text encoding format.
  • set_volume — Alters the global sound output volume.
  • set_volume_per_voice — Sets the volume of a voice.
  • set_window_title — Sets the window title of the Allegro program.
  • set_write_alpha_blender — Enables the special alpha-channel editing mode.
  • set_zbuffer — Makes the given Z-buffer the active one.
  • show_mouse — Tells Allegro to display a mouse pointer on the screen.
  • show_video_bitmap — Flips the hardware screen to use the specified page.
  • shutdown_dialog
  • shutdown_menu
  • simulate_keypress — Stuffs a key into the keyboard buffer.
  • simulate_ukeypress — Stuffs an unicode key into the keyboard buffer.
  • solid_mode — Shortcut for selecting solid drawing mode.
  • spline — Draws a bezier spline using four control points.
  • split_modex_screen
  • start_sound_input — Starts recording in the specified format.
  • stop_audio_stream — Destroys an audio stream when it is no longer required.
  • stop_midi — Stops whatever music is currently playing.
  • stop_sample — Kills off a sample.
  • stop_sound_input — Stops audio recording.
  • stretch_blit — Scales a rectangular area from one bitmap to another.
  • stretch_blit_from_hdc
  • stretch_blit_to_hdc
  • stretch_sprite — Stretches a sprite to the destination bitmap.
  • text_height — Returns the height of a font in pixels.
  • text_length — Returns the length of a string in pixels.
  • textout_centre_ex — Writes a centered string on a bitmap.
  • textout_ex — Writes a string on a bitmap.
  • textout_justify_ex — Draws justified text within a region.
  • textout_right_ex — Writes a right aligned string on a bitmap.
  • textprintf_centre_ex — Formatted centered output of a string.
  • textprintf_ex — Formatted output of a string.
  • textprintf_justify_ex — Formatted justified output of a string.
  • textprintf_right_ex — Formatted right aligned output of a string.
  • three_finger_flag — Flag to desactivate the emergency exit key combination.
  • triangle — Draws a filled triangle.
  • triangle3d — Draws a 3d triangle onto the specified bitmap.
  • triangle3d_f — Draws a 3d triangle onto the specified bitmap.
  • uatof — Converts a string into a double.
  • uconvert — Hih level string encoding conversion wrapper.
  • uconvert_ascii — Converts string from ASCII into the current format.
  • uconvert_size — Number of bytes needed to store a string after conversion.
  • uconvert_toascii — Converts strings from the current format into ASCII.
  • ucwidth — Low level helper function for testing Unicode text data.
  • ugetat — Finds out the value of a character in a string.
  • ugetc — Low level helper function for reading Unicode text data.
  • ugetx — Low level helper function for reading Unicode text data.
  • ugetxc — Low level helper function for reading Unicode text data.
  • uinsert — Inserts a character in a string.
  • uisdigit — Tells if a character is a digit.
  • uisok — Low level helper function for testing Unicode text data.
  • uisspace — Tells if a character is whitespace.
  • unload_datafile
  • unload_datafile_object
  • unscare_mouse — Undoes the effect of scare_mouse() or scare_mouse_area().
  • unselect_palette — Restores the palette before last call to select_palette().
  • uoffset — Finds the offset of a character in a string.
  • update_dialog
  • update_menu
  • ureadkey — Returns the next unicode character from the keyboard buffer.
  • uremove — Removes a character from a string.
  • usetat — Replaces a character in a string.
  • usetc — Low level helper function for writing Unicode text data.
  • usprintf — Writes formatted data into a buffer.
  • ustrcat — Concatenates a string to another one.
  • ustrchr — Finds the first occurrence of a character in a string.
  • ustrcmp — Compares two strings.
  • ustrcpy — Copies a string into another one.
  • ustrdup — Duplicates a string.
  • ustrerror — Returns a string describing errno.
  • ustricmp — Compares two strings ignoring case.
  • ustrlen — Tells the number of characters in a string.
  • ustrlwr — Replaces all letters with lower case.
  • ustrncat — Concatenates a string to another one, specifying size.
  • ustrncmp — Compares up to n letters of two strings.
  • ustrncpy — Copies a string into another one, specifying size.
  • ustrnicmp — Compares up to n letters of two strings ignoring case.
  • ustrpbrk — Finds the first character that matches any in a set.
  • ustrrchr — Finds the last occurence of a character in a string.
  • ustrsize — Size of the string in bytes without null terminator.
  • ustrsizez — Size of the string in bytes including null terminator.
  • ustrstr — Finds the first occurence of a string in another one.
  • ustrtod — Converts a string into a floating point number.
  • ustrtok — Retrieves tokens from a string.
  • ustrtok_r — Reentrant function to retrieve tokens from a string.
  • ustrtol — Converts a string into an integer.
  • ustrupr — Replaces all letters with upper case.
  • ustrzcat — Concatenates a string to another one, specifying size.
  • ustrzcpy — Copies a string into another one, specifying size.
  • ustrzncat — Concatenates a string to another one, specifying size.
  • ustrzncpy — Copies a string into another one, specifying size.
  • uszprintf — Writes formatted data into a buffer, specifying size.
  • utolower — Converts a letter to lower case.
  • utoupper — Converts a letter to upper case.
  • uvsprintf — Writes formatted data into a buffer, using variable arguments.
  • uvszprintf — Writes formatted data into a buffer, using size and variable arguments.
  • uwidth — Low level helper function for writing Unicode text data.
  • uwidth_max — Number of bytes a character can occupy.
  • vector_length
  • vector_length_f
  • vline — Draws a vertical line onto the bitmap.
  • voice_check — Checks whether a voice is currently allocated.
  • voice_get_frequency — Returns the current pitch of the voice.
  • voice_get_pan — Returns the current pan position.
  • voice_get_position — Returns the current position of a voice.
  • voice_get_volume — Returns the current volume of the voice.
  • voice_ramp_volume — Starts a volume ramp for a voice.
  • voice_set_echo — Sets the echo parameters for a voice.
  • voice_set_frequency — Sets the pitch of the voice.
  • voice_set_pan — Sets the pan position.
  • voice_set_playmode — Adjusts the loop status of the specified voice.
  • voice_set_position — Sets the position of a voice.
  • voice_set_priority — Sets the priority of a voice.
  • voice_set_tremolo — Sets the tremolo parameters for a voice.
  • voice_set_vibrato — Sets the vibrato parameters for a voice.
  • voice_set_volume — Sets the volume of the voice.
  • voice_start — Activates a voice.
  • voice_stop — Stops a voice.
  • voice_stop_frequency_sweep — Interrupts a frequency sweep operation.
  • voice_stop_pan_sweep — Interrupts a pan sweep operation.
  • voice_stop_volumeramp — Interrupts a volume ramp operation.
  • voice_sweep_frequency — Starts a frequency sweep for a voice.
  • voice_sweep_pan — Starts a pan sweep for a voice.
  • vsync — Waits for a vertical retrace to begin.
  • win_get_dc
  • win_get_window
  • win_release_dc
  • win_set_window
  • win_set_wnd_create_proc
  • xor_mode — Shortcut for toggling xor drawing mode on and off.
  • xwin_set_window_name
    Back to contents