The Allegro Wiki is migrating to github at https://github.com/liballeg/allegro_wiki/wiki

Allegro.py

From Allegro Wiki
Revision as of 11:52, September 10, 2009 by Elias (talk | contribs) (New page: <highlightSyntax language="python"> from ctypes import * # You must adjust this function to point ctypes to the A5 DLLs you are # distributing. The example function assumes they all are i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<highlightSyntax language="python"> from ctypes import *

  1. You must adjust this function to point ctypes to the A5 DLLs you are
  2. distributing. The example function assumes they all are in a folder
  3. called "dll" on the current search path.

def _add_dll(name):

   release = "-debug"
   version = "-4.9.14"
   path = "dll/" + name + release + version + ".so"
   dll = CDLL(path)
   globals()[name] = dll

_add_dll("liballegro_audio") _add_dll("liballegro_flac") _add_dll("liballegro_primitives") _add_dll("liballegro_color") _add_dll("liballegro_font") _add_dll("liballegro_ttf") _add_dll("liballegro") _add_dll("liballegro_image") _add_dll("liballegro_vorbis") _add_dll("liballegro_dialog") _add_dll("liballegro_memfile")

ALLEGRO_AUDIO_DEPTH = c_int ALLEGRO_AUDIO_DRIVER_ENUM = c_int ALLEGRO_AUDIO_PROPERTY = c_int ALLEGRO_BLEND_MODE = c_int ALLEGRO_CHANNEL_CONF = c_int ALLEGRO_DISPLAY_OPTIONS = c_int ALLEGRO_EVENT_TYPE = c_uint ALLEGRO_FILE_MODE = c_int ALLEGRO_JOYFLAGS = c_int ALLEGRO_MIXER_QUALITY = c_int ALLEGRO_PIXEL_FORMAT = c_int ALLEGRO_PLAYMODE = c_int ALLEGRO_PRIM_ATTR = c_int ALLEGRO_PRIM_STORAGE = c_int ALLEGRO_PRIM_TYPE = c_int ALLEGRO_SEEK = c_int ALLEGRO_STATE_FLAGS = c_int ALLEGRO_SYSTEM_MOUSE_CURSOR = c_int class ALLEGRO_ANY_EVENT(Structure): pass class ALLEGRO_AUDIO_STREAM(Structure): pass class ALLEGRO_BITMAP(Structure): pass class ALLEGRO_COLOR(Structure): pass class ALLEGRO_COND(Structure): pass class ALLEGRO_CONFIG(Structure): pass class ALLEGRO_DISPLAY(Structure): pass class ALLEGRO_DISPLAY_EVENT(Structure): pass class ALLEGRO_DISPLAY_MODE(Structure): pass class ALLEGRO_EVENT_QUEUE(Structure): pass class ALLEGRO_EVENT_SOURCE(Structure): pass class ALLEGRO_FILE(Structure): pass class ALLEGRO_FILE_INTERFACE(Structure): pass class ALLEGRO_FONT(Structure): pass class ALLEGRO_FONT_VTABLE(Structure): pass class ALLEGRO_FS_ENTRY(Structure): pass class ALLEGRO_FS_INTERFACE(Structure): pass class ALLEGRO_JOYSTICK(Structure): pass class ALLEGRO_JOYSTICK_EVENT(Structure): pass class ALLEGRO_JOYSTICK_STATE(Structure): pass class ALLEGRO_KEYBOARD(Structure): pass class ALLEGRO_KEYBOARD_EVENT(Structure): pass class ALLEGRO_KEYBOARD_STATE(Structure): pass class ALLEGRO_LOCKED_REGION(Structure): pass class ALLEGRO_MIXER(Structure): pass class ALLEGRO_MONITOR_INFO(Structure): pass class ALLEGRO_MOUSE(Structure): pass class ALLEGRO_MOUSE_CURSOR(Structure): pass class ALLEGRO_MOUSE_EVENT(Structure): pass class ALLEGRO_MOUSE_STATE(Structure): pass class ALLEGRO_MUTEX(Structure): pass class ALLEGRO_NATIVE_DIALOG(Structure): pass class ALLEGRO_OGL_EXT_LIST(Structure): pass class ALLEGRO_PATH(Structure): pass class ALLEGRO_PRIM_COLOR(Structure): pass class ALLEGRO_SAMPLE(Structure): pass class ALLEGRO_SAMPLE_ID(Structure): pass class ALLEGRO_SAMPLE_INSTANCE(Structure): pass class ALLEGRO_STATE(Structure): pass class ALLEGRO_SYSTEM(Structure): pass class ALLEGRO_THREAD(Structure): pass class ALLEGRO_TIMEOUT(Structure): pass class ALLEGRO_TIMER(Structure): pass class ALLEGRO_TIMER_EVENT(Structure): pass class ALLEGRO_TRANSFORM(Structure): pass class ALLEGRO_USER_EVENT(Structure): pass class ALLEGRO_USTR(Structure): pass class ALLEGRO_USTR_INFO(Structure): pass class ALLEGRO_VERTEX(Structure): pass class ALLEGRO_VERTEX_DECL(Structure): pass class ALLEGRO_VERTEX_ELEMENT(Structure): pass class ALLEGRO_VOICE(Structure): pass ALLEGRO_ANY_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ]

ALLEGRO_COLOR._fields_ = [

   ("r", c_float),
   ("g", c_float),
   ("b", c_float),
   ("a", c_float),
   ]

ALLEGRO_DISPLAY_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("x", c_int),
   ("y", c_int),
   ("width", c_int),
   ("height", c_int),
   ]

ALLEGRO_DISPLAY_MODE._fields_ = [

   ("width", c_int),
   ("height", c_int),
   ("format", c_int),
   ("refresh_rate", c_int),
   ]

ALLEGRO_EVENT_SOURCE._fields_ = [

   ("__pad", c_void_p),
   ]

ALLEGRO_FILE._fields_ = [

   ("vtable", c_void_p),
   ]

ALLEGRO_FILE_INTERFACE._fields_ = [

   ("fi_fopen", c_void_p),
   ("fi_fclose", c_void_p),
   ("fi_fread", c_void_p),
   ("fi_fwrite", c_void_p),
   ("fi_fflush", c_void_p),
   ("fi_ftell", c_void_p),
   ("fi_fseek", c_void_p),
   ("fi_feof", c_void_p),
   ("fi_ferror", c_void_p),
   ("fi_fungetc", c_void_p),
   ("fi_fsize", c_void_p),
   ]

ALLEGRO_FONT._fields_ = [

   ("data", c_void_p),
   ("height", c_int),
   ("vtable", c_void_p),
   ]

ALLEGRO_FONT_VTABLE._fields_ = [

   ("font_height", c_void_p),
   ("char_length", c_void_p),
   ("text_length", c_void_p),
   ("render_char", c_void_p),
   ("render", c_void_p),
   ("destroy", c_void_p),
   ("get_text_dimensions", c_void_p),
   ]

ALLEGRO_FS_ENTRY._fields_ = [

   ("vtable", c_void_p),
   ]

ALLEGRO_FS_INTERFACE._fields_ = [

   ("fs_create_entry", c_void_p),
   ("fs_destroy_entry", c_void_p),
   ("fs_entry_name", c_void_p),
   ("fs_update_entry", c_void_p),
   ("fs_entry_mode", c_void_p),
   ("fs_entry_atime", c_void_p),
   ("fs_entry_mtime", c_void_p),
   ("fs_entry_ctime", c_void_p),
   ("fs_entry_size", c_void_p),
   ("fs_entry_exists", c_void_p),
   ("fs_remove_entry", c_void_p),
   ("fs_open_directory", c_void_p),
   ("fs_read_directory", c_void_p),
   ("fs_close_directory", c_void_p),
   ("fs_filename_exists", c_void_p),
   ("fs_remove_filename", c_void_p),
   ("fs_get_current_directory", c_void_p),
   ("fs_change_directory", c_void_p),
   ("fs_make_directory", c_void_p),
   ]

ALLEGRO_JOYSTICK_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("stick", c_int),
   ("axis", c_int),
   ("pos", c_float),
   ("button", c_int),
   ]

ALLEGRO_JOYSTICK_STATE._fields_ = [

   ("axis", c_void_p),
   ("button", c_void_p),
   ]

ALLEGRO_KEYBOARD_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("display", c_void_p),
   ("keycode", c_int),
   ("unichar", c_uint),
   ("modifiers", c_uint),
   ]

ALLEGRO_KEYBOARD_STATE._fields_ = [

   ("display", c_void_p),
   ("__key_down__internal__", c_void_p),
   ]

ALLEGRO_LOCKED_REGION._fields_ = [

   ("data", c_void_p),
   ("format", c_int),
   ("pitch", c_int),
   ]

ALLEGRO_MONITOR_INFO._fields_ = [

   ("x1", c_int),
   ("y1", c_int),
   ("x2", c_int),
   ("y2", c_int),
   ]

ALLEGRO_MOUSE_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("display", c_void_p),
   ("x", c_int),
   ("y", c_int),
   ("z", c_int),
   ("w", c_int),
   ("dx", c_int),
   ("dy", c_int),
   ("dz", c_int),
   ("dw", c_int),
   ("button", c_uint),
   ]

ALLEGRO_MOUSE_STATE._fields_ = [

   ("x", c_int),
   ("y", c_int),
   ("z", c_int),
   ("w", c_int),
   ("more_axes", c_void_p),
   ("buttons", c_int),
   ("display", c_void_p),
   ]

ALLEGRO_OGL_EXT_LIST._fields_ = [

   ("ALLEGRO_GL_ARB_imaging", c_int),
   ("ALLEGRO_GL_ARB_multitexture", c_int),
   ("ALLEGRO_GL_ARB_transpose_matrix", c_int),
   ("ALLEGRO_GL_ARB_multisample", c_int),
   ("ALLEGRO_GL_ARB_texture_env_add", c_int),
   ("ALLEGRO_GL_ARB_texture_cube_map", c_int),
   ("ALLEGRO_GL_ARB_texture_compression", c_int),
   ("ALLEGRO_GL_ARB_texture_border_clamp", c_int),
   ("ALLEGRO_GL_ARB_point_parameters", c_int),
   ("ALLEGRO_GL_ARB_vertex_blend", c_int),
   ("ALLEGRO_GL_ARB_texture_env_combine", c_int),
   ("ALLEGRO_GL_ARB_texture_env_crossbar", c_int),
   ("ALLEGRO_GL_ARB_texture_env_dot3", c_int),
   ("ALLEGRO_GL_ARB_texture_mirrored_repeat", c_int),
   ("ALLEGRO_GL_ARB_depth_texture", c_int),
   ("ALLEGRO_GL_ARB_shadow", c_int),
   ("ALLEGRO_GL_ARB_shadow_ambient", c_int),
   ("ALLEGRO_GL_ARB_window_pos", c_int),
   ("ALLEGRO_GL_ARB_vertex_program", c_int),
   ("ALLEGRO_GL_ARB_fragment_program", c_int),
   ("ALLEGRO_GL_ARB_vertex_buffer_object", c_int),
   ("ALLEGRO_GL_ARB_occlusion_query", c_int),
   ("ALLEGRO_GL_ARB_shader_objects", c_int),
   ("ALLEGRO_GL_ARB_vertex_shader", c_int),
   ("ALLEGRO_GL_ARB_fragment_shader", c_int),
   ("ALLEGRO_GL_ARB_shading_language_100", c_int),
   ("ALLEGRO_GL_ARB_texture_non_power_of_two", c_int),
   ("ALLEGRO_GL_ARB_point_sprite", c_int),
   ("ALLEGRO_GL_ARB_fragment_program_shadow", c_int),
   ("ALLEGRO_GL_ARB_draw_buffers", c_int),
   ("ALLEGRO_GL_ARB_texture_rectangle", c_int),
   ("ALLEGRO_GL_ARB_color_buffer_float", c_int),
   ("ALLEGRO_GL_ARB_half_float_pixel", c_int),
   ("ALLEGRO_GL_ARB_texture_float", c_int),
   ("ALLEGRO_GL_ARB_pixel_buffer_object", c_int),
   ("ALLEGRO_GL_ARB_instanced_arrays", c_int),
   ("ALLEGRO_GL_ARB_draw_instanced", c_int),
   ("ALLEGRO_GL_ARB_geometry_shader4", c_int),
   ("ALLEGRO_GL_ARB_texture_buffer_object", c_int),
   ("ALLEGRO_GL_ARB_depth_buffer_float", c_int),
   ("ALLEGRO_GL_ARB_framebuffer_object", c_int),
   ("ALLEGRO_GL_ARB_framebuffer_sRGB", c_int),
   ("ALLEGRO_GL_ARB_half_float_vertex", c_int),
   ("ALLEGRO_GL_ARB_map_buffer_range", c_int),
   ("ALLEGRO_GL_ARB_texture_compression_rgtc", c_int),
   ("ALLEGRO_GL_ARB_texture_rg", c_int),
   ("ALLEGRO_GL_ARB_vertex_array_object", c_int),
   ("ALLEGRO_GL_ARB_copy_buffer", c_int),
   ("ALLEGRO_GL_ARB_compatibility", c_int),
   ("ALLEGRO_GL_ARB_uniform_buffer_object", c_int),
   ("ALLEGRO_GL_EXT_abgr", c_int),
   ("ALLEGRO_GL_EXT_blend_color", c_int),
   ("ALLEGRO_GL_EXT_polygon_offset", c_int),
   ("ALLEGRO_GL_EXT_texture", c_int),
   ("ALLEGRO_GL_EXT_texture3D", c_int),
   ("ALLEGRO_GL_SGIS_texture_filter4", c_int),
   ("ALLEGRO_GL_EXT_subtexture", c_int),
   ("ALLEGRO_GL_EXT_copy_texture", c_int),
   ("ALLEGRO_GL_EXT_histogram", c_int),
   ("ALLEGRO_GL_EXT_convolution", c_int),
   ("ALLEGRO_GL_SGI_color_matrix", c_int),
   ("ALLEGRO_GL_SGI_color_table", c_int),
   ("ALLEGRO_GL_SGIS_pixel_texture", c_int),
   ("ALLEGRO_GL_SGIX_pixel_texture", c_int),
   ("ALLEGRO_GL_SGIS_texture4D", c_int),
   ("ALLEGRO_GL_SGI_texture_color_table", c_int),
   ("ALLEGRO_GL_EXT_cmyka", c_int),
   ("ALLEGRO_GL_EXT_texture_object", c_int),
   ("ALLEGRO_GL_SGIS_detail_texture", c_int),
   ("ALLEGRO_GL_SGIS_sharpen_texture", c_int),
   ("ALLEGRO_GL_EXT_packed_pixels", c_int),
   ("ALLEGRO_GL_SGIS_texture_lod", c_int),
   ("ALLEGRO_GL_SGIS_multisample", c_int),
   ("ALLEGRO_GL_EXT_rescale_normal", c_int),
   ("ALLEGRO_GL_EXT_vertex_array", c_int),
   ("ALLEGRO_GL_EXT_misc_attribute", c_int),
   ("ALLEGRO_GL_SGIS_generate_mipmap", c_int),
   ("ALLEGRO_GL_SGIX_clipmap", c_int),
   ("ALLEGRO_GL_SGIX_shadow", c_int),
   ("ALLEGRO_GL_SGIS_texture_edge_clamp", c_int),
   ("ALLEGRO_GL_SGIS_texture_border_clamp", c_int),
   ("ALLEGRO_GL_EXT_blend_minmax", c_int),
   ("ALLEGRO_GL_EXT_blend_subtract", c_int),
   ("ALLEGRO_GL_EXT_blend_logic_op", c_int),
   ("ALLEGRO_GL_SGIX_interlace", c_int),
   ("ALLEGRO_GL_SGIS_texture_select", c_int),
   ("ALLEGRO_GL_SGIX_sprite", c_int),
   ("ALLEGRO_GL_SGIX_texture_multi_buffer", c_int),
   ("ALLEGRO_GL_EXT_point_parameters", c_int),
   ("ALLEGRO_GL_SGIX_instruments", c_int),
   ("ALLEGRO_GL_SGIX_texture_scale_bias", c_int),
   ("ALLEGRO_GL_SGIX_framezoom", c_int),
   ("ALLEGRO_GL_SGIX_tag_sample_buffer", c_int),
   ("ALLEGRO_GL_SGIX_reference_plane", c_int),
   ("ALLEGRO_GL_SGIX_flush_raster", c_int),
   ("ALLEGRO_GL_SGIX_depth_texture", c_int),
   ("ALLEGRO_GL_SGIS_fog_function", c_int),
   ("ALLEGRO_GL_SGIX_fog_offset", c_int),
   ("ALLEGRO_GL_HP_image_transform", c_int),
   ("ALLEGRO_GL_HP_convolution_border_modes", c_int),
   ("ALLEGRO_GL_SGIX_texture_add_env", c_int),
   ("ALLEGRO_GL_EXT_color_subtable", c_int),
   ("ALLEGRO_GL_PGI_vertex_hints", c_int),
   ("ALLEGRO_GL_PGI_misc_hints", c_int),
   ("ALLEGRO_GL_EXT_paletted_texture", c_int),
   ("ALLEGRO_GL_EXT_clip_volume_hint", c_int),
   ("ALLEGRO_GL_SGIX_list_priority", c_int),
   ("ALLEGRO_GL_SGIX_ir_instrument1", c_int),
   ("ALLEGRO_GL_SGIX_texture_lod_bias", c_int),
   ("ALLEGRO_GL_SGIX_shadow_ambient", c_int),
   ("ALLEGRO_GL_EXT_index_texture", c_int),
   ("ALLEGRO_GL_EXT_index_material", c_int),
   ("ALLEGRO_GL_EXT_index_func", c_int),
   ("ALLEGRO_GL_EXT_index_array_formats", c_int),
   ("ALLEGRO_GL_EXT_compiled_vertex_array", c_int),
   ("ALLEGRO_GL_EXT_cull_vertex", c_int),
   ("ALLEGRO_GL_SGIX_ycrcb", c_int),
   ("ALLEGRO_GL_EXT_fragment_lighting", c_int),
   ("ALLEGRO_GL_IBM_rasterpos_clip", c_int),
   ("ALLEGRO_GL_HP_texture_lighting", c_int),
   ("ALLEGRO_GL_EXT_draw_range_elements", c_int),
   ("ALLEGRO_GL_WIN_phong_shading", c_int),
   ("ALLEGRO_GL_WIN_specular_fog", c_int),
   ("ALLEGRO_GL_EXT_light_texture", c_int),
   ("ALLEGRO_GL_SGIX_blend_alpha_minmax", c_int),
   ("ALLEGRO_GL_EXT_scene_marker", c_int),
   ("ALLEGRO_GL_SGIX_pixel_texture_bits", c_int),
   ("ALLEGRO_GL_EXT_bgra", c_int),
   ("ALLEGRO_GL_SGIX_async", c_int),
   ("ALLEGRO_GL_SGIX_async_pixel", c_int),
   ("ALLEGRO_GL_SGIX_async_histogram", c_int),
   ("ALLEGRO_GL_INTEL_texture_scissor", c_int),
   ("ALLEGRO_GL_INTEL_parallel_arrays", c_int),
   ("ALLEGRO_GL_HP_occlusion_test", c_int),
   ("ALLEGRO_GL_EXT_pixel_transform", c_int),
   ("ALLEGRO_GL_EXT_pixel_transform_color_table", c_int),
   ("ALLEGRO_GL_EXT_shared_texture_palette", c_int),
   ("ALLEGRO_GL_EXT_separate_specular_color", c_int),
   ("ALLEGRO_GL_EXT_secondary_color", c_int),
   ("ALLEGRO_GL_EXT_texture_env", c_int),
   ("ALLEGRO_GL_EXT_texture_perturb_normal", c_int),
   ("ALLEGRO_GL_EXT_multi_draw_arrays", c_int),
   ("ALLEGRO_GL_EXT_fog_coord", c_int),
   ("ALLEGRO_GL_REND_screen_coordinates", c_int),
   ("ALLEGRO_GL_EXT_coordinate_frame", c_int),
   ("ALLEGRO_GL_EXT_texture_env_combine", c_int),
   ("ALLEGRO_GL_APPLE_specular_vector", c_int),
   ("ALLEGRO_GL_APPLE_transform_hint", c_int),
   ("ALLEGRO_GL_SUNX_constant_data", c_int),
   ("ALLEGRO_GL_SUN_global_alpha", c_int),
   ("ALLEGRO_GL_SUN_triangle_list", c_int),
   ("ALLEGRO_GL_SUN_vertex", c_int),
   ("ALLEGRO_GL_EXT_blend_func_separate", c_int),
   ("ALLEGRO_GL_INGR_color_clamp", c_int),
   ("ALLEGRO_GL_INGR_interlace_read", c_int),
   ("ALLEGRO_GL_EXT_stencil_wrap", c_int),
   ("ALLEGRO_GL_EXT_422_pixels", c_int),
   ("ALLEGRO_GL_NV_texgen_reflection", c_int),
   ("ALLEGRO_GL_SGIX_texture_range", c_int),
   ("ALLEGRO_GL_SUN_convolution_border_modes", c_int),
   ("ALLEGRO_GL_EXT_texture_env_add", c_int),
   ("ALLEGRO_GL_EXT_texture_lod_bias", c_int),
   ("ALLEGRO_GL_EXT_texture_filter_anisotropic", c_int),
   ("ALLEGRO_GL_EXT_vertex_weighting", c_int),
   ("ALLEGRO_GL_NV_light_max_exponent", c_int),
   ("ALLEGRO_GL_NV_vertex_array_range", c_int),
   ("ALLEGRO_GL_NV_register_combiners", c_int),
   ("ALLEGRO_GL_NV_fog_distance", c_int),
   ("ALLEGRO_GL_NV_texgen_emboss", c_int),
   ("ALLEGRO_GL_NV_blend_square", c_int),
   ("ALLEGRO_GL_NV_texture_env_combine4", c_int),
   ("ALLEGRO_GL_MESA_resize_buffers", c_int),
   ("ALLEGRO_GL_MESA_window_pos", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_s3tc", c_int),
   ("ALLEGRO_GL_IBM_cull_vertex", c_int),
   ("ALLEGRO_GL_IBM_multimode_draw_arrays", c_int),
   ("ALLEGRO_GL_IBM_vertex_array_lists", c_int),
   ("ALLEGRO_GL_3DFX_texture_compression_FXT1", c_int),
   ("ALLEGRO_GL_3DFX_multisample", c_int),
   ("ALLEGRO_GL_3DFX_tbuffer", c_int),
   ("ALLEGRO_GL_SGIX_vertex_preclip", c_int),
   ("ALLEGRO_GL_SGIX_resample", c_int),
   ("ALLEGRO_GL_SGIS_texture_color_mask", c_int),
   ("ALLEGRO_GL_EXT_texture_env_dot3", c_int),
   ("ALLEGRO_GL_ATI_texture_mirror_once", c_int),
   ("ALLEGRO_GL_NV_fence", c_int),
   ("ALLEGRO_GL_IBM_static_data", c_int),
   ("ALLEGRO_GL_IBM_texture_mirrored_repeat", c_int),
   ("ALLEGRO_GL_NV_evaluators", c_int),
   ("ALLEGRO_GL_NV_packed_depth_stencil", c_int),
   ("ALLEGRO_GL_NV_register_combiners2", c_int),
   ("ALLEGRO_GL_NV_texture_compression_vtc", c_int),
   ("ALLEGRO_GL_NV_texture_rectangle", c_int),
   ("ALLEGRO_GL_NV_texture_shader", c_int),
   ("ALLEGRO_GL_NV_texture_shader2", c_int),
   ("ALLEGRO_GL_NV_vertex_array_range2", c_int),
   ("ALLEGRO_GL_NV_vertex_program", c_int),
   ("ALLEGRO_GL_SGIX_texture_coordinate_clamp", c_int),
   ("ALLEGRO_GL_OML_interlace", c_int),
   ("ALLEGRO_GL_OML_subsample", c_int),
   ("ALLEGRO_GL_OML_resample", c_int),
   ("ALLEGRO_GL_NV_copy_depth_to_color", c_int),
   ("ALLEGRO_GL_ATI_envmap_bumpmap", c_int),
   ("ALLEGRO_GL_ATI_fragment_shader", c_int),
   ("ALLEGRO_GL_ATI_pn_triangles", c_int),
   ("ALLEGRO_GL_ATI_vertex_array_object", c_int),
   ("ALLEGRO_GL_EXT_vertex_shader", c_int),
   ("ALLEGRO_GL_ATI_vertex_streams", c_int),
   ("ALLEGRO_GL_ATI_element_array", c_int),
   ("ALLEGRO_GL_SUN_mesh_array", c_int),
   ("ALLEGRO_GL_SUN_slice_accum", c_int),
   ("ALLEGRO_GL_NV_multisample_filter_hint", c_int),
   ("ALLEGRO_GL_NV_depth_clamp", c_int),
   ("ALLEGRO_GL_NV_occlusion_query", c_int),
   ("ALLEGRO_GL_NV_point_sprite", c_int),
   ("ALLEGRO_GL_NV_texture_shader3", c_int),
   ("ALLEGRO_GL_NV_vertex_program1_1", c_int),
   ("ALLEGRO_GL_EXT_shadow_funcs", c_int),
   ("ALLEGRO_GL_EXT_stencil_two_side", c_int),
   ("ALLEGRO_GL_ATI_text_fragment_shader", c_int),
   ("ALLEGRO_GL_APPLE_client_storage", c_int),
   ("ALLEGRO_GL_APPLE_element_array", c_int),
   ("ALLEGRO_GL_APPLE_fence", c_int),
   ("ALLEGRO_GL_APPLE_vertex_array_object", c_int),
   ("ALLEGRO_GL_APPLE_vertex_array_range", c_int),
   ("ALLEGRO_GL_APPLE_ycbcr_422", c_int),
   ("ALLEGRO_GL_S3_s3tc", c_int),
   ("ALLEGRO_GL_ATI_draw_buffers", c_int),
   ("ALLEGRO_GL_ATI_texture_env_combine3", c_int),
   ("ALLEGRO_GL_ATI_texture_float", c_int),
   ("ALLEGRO_GL_NV_float_buffer", c_int),
   ("ALLEGRO_GL_NV_fragment_program", c_int),
   ("ALLEGRO_GL_NV_half_float", c_int),
   ("ALLEGRO_GL_NV_pixel_data_range", c_int),
   ("ALLEGRO_GL_NV_primitive_restart", c_int),
   ("ALLEGRO_GL_NV_texture_expand_normal", c_int),
   ("ALLEGRO_GL_NV_vertex_program2", c_int),
   ("ALLEGRO_GL_ATI_map_object_buffer", c_int),
   ("ALLEGRO_GL_ATI_separate_stencil", c_int),
   ("ALLEGRO_GL_ATI_vertex_attrib_array_object", c_int),
   ("ALLEGRO_GL_OES_byte_coordinates", c_int),
   ("ALLEGRO_GL_OES_fixed_point", c_int),
   ("ALLEGRO_GL_OES_single_precision", c_int),
   ("ALLEGRO_GL_OES_compressed_paletted_texture", c_int),
   ("ALLEGRO_GL_OES_read_format", c_int),
   ("ALLEGRO_GL_OES_query_matrix", c_int),
   ("ALLEGRO_GL_OES_framebuffer_object", c_int),
   ("ALLEGRO_GL_EXT_depth_bounds_test", c_int),
   ("ALLEGRO_GL_EXT_texture_mirror_clamp", c_int),
   ("ALLEGRO_GL_EXT_blend_equation_separate", c_int),
   ("ALLEGRO_GL_MESA_pack_invert", c_int),
   ("ALLEGRO_GL_MESA_ycbcr_texture", c_int),
   ("ALLEGRO_GL_EXT_pixel_buffer_object", c_int),
   ("ALLEGRO_GL_NV_fragment_program_option", c_int),
   ("ALLEGRO_GL_NV_fragment_program2", c_int),
   ("ALLEGRO_GL_NV_vertex_program2_option", c_int),
   ("ALLEGRO_GL_NV_vertex_program3", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_dxt1", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_object", c_int),
   ("ALLEGRO_GL_GREMEDY_string_marker", c_int),
   ("ALLEGRO_GL_EXT_packed_depth_stencil", c_int),
   ("ALLEGRO_GL_EXT_stencil_clear_tag", c_int),
   ("ALLEGRO_GL_EXT_texture_sRGB", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_blit", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_multisample", c_int),
   ("ALLEGRO_GL_MESAX_texture_stack", c_int),
   ("ALLEGRO_GL_EXT_timer_query", c_int),
   ("ALLEGRO_GL_EXT_gpu_program_parameters", c_int),
   ("ALLEGRO_GL_APPLE_flush_buffer_range", c_int),
   ("ALLEGRO_GL_EXT_bindable_uniform", c_int),
   ("ALLEGRO_GL_EXT_draw_buffers2", c_int),
   ("ALLEGRO_GL_EXT_draw_instanced", c_int),
   ("ALLEGRO_GL_EXT_framebuffer_sRGB", c_int),
   ("ALLEGRO_GL_EXT_geometry_shader4", c_int),
   ("ALLEGRO_GL_EXT_gpu_shader4", c_int),
   ("ALLEGRO_GL_EXT_packed_float", c_int),
   ("ALLEGRO_GL_EXT_texture_array", c_int),
   ("ALLEGRO_GL_EXT_texture_buffer_object", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_latc", c_int),
   ("ALLEGRO_GL_EXT_texture_compression_rgtc", c_int),
   ("ALLEGRO_GL_EXT_texture_integer", c_int),
   ("ALLEGRO_GL_EXT_texture_shared_exponent", c_int),
   ("ALLEGRO_GL_NV_depth_buffer_float", c_int),
   ("ALLEGRO_GL_NV_fragment_program4", c_int),
   ("ALLEGRO_GL_NV_framebuffer_multisample_coverage", c_int),
   ("ALLEGRO_GL_NV_geometry_program4", c_int),
   ("ALLEGRO_GL_NV_gpu_program4", c_int),
   ("ALLEGRO_GL_NV_parameter_buffer_object", c_int),
   ("ALLEGRO_GL_NV_transform_feedback", c_int),
   ("ALLEGRO_GL_NV_vertex_program4", c_int),
   ("ALLEGRO_GL_GREMEDY_frame_terminator", c_int),
   ("ALLEGRO_GL_NV_conditional_render", c_int),
   ("ALLEGRO_GL_NV_present_video", c_int),
   ("ALLEGRO_GL_EXT_direct_state_access", c_int),
   ("ALLEGRO_GL_EXT_transform_feedback", c_int),
   ("ALLEGRO_GL_EXT_texture_swizzle", c_int),
   ("ALLEGRO_GL_NV_explicit_multisample", c_int),
   ("ALLEGRO_GL_NV_transform_feedback2", c_int),
   ("ALLEGRO_GL_ATI_meminfo", c_int),
   ("ALLEGRO_GL_AMD_performance_monitor", c_int),
   ("ALLEGRO_GL_AMD_texture_texture4", c_int),
   ("ALLEGRO_GL_AMD_vertex_shader_tesselator", c_int),
   ("ALLEGRO_GL_EXT_provoking_vertex", c_int),
   ("ALLEGRO_GLX_ARB_get_proc_address", c_int),
   ("ALLEGRO_GLX_ARB_multisample", c_int),
   ("ALLEGRO_GLX_ARB_fbconfig_float", c_int),
   ("ALLEGRO_GLX_EXT_visual_info", c_int),
   ("ALLEGRO_GLX_SGI_swap_control", c_int),
   ("ALLEGRO_GLX_SGI_video_sync", c_int),
   ("ALLEGRO_GLX_SGI_make_current_read", c_int),
   ("ALLEGRO_GLX_SGIX_video_source", c_int),
   ("ALLEGRO_GLX_EXT_visual_rating", c_int),
   ("ALLEGRO_GLX_EXT_import_context", c_int),
   ("ALLEGRO_GLX_SGIX_fbconfig", c_int),
   ("ALLEGRO_GLX_SGIX_pbuffer", c_int),
   ("ALLEGRO_GLX_SGI_cushion", c_int),
   ("ALLEGRO_GLX_SGIX_video_resize", c_int),
   ("ALLEGRO_GLX_SGIX_dm_buffer", c_int),
   ("ALLEGRO_GLX_SGIX_swap_group", c_int),
   ("ALLEGRO_GLX_SGIX_swap_barrier", c_int),
   ("ALLEGRO_GLX_SGIS_color_range", c_int),
   ("ALLEGRO_GLX_SGIS_blended_overlay", c_int),
   ("ALLEGRO_GLX_SUN_get_transparent_index", c_int),
   ("ALLEGRO_GLX_MESA_copy_sub_buffer", c_int),
   ("ALLEGRO_GLX_MESA_pixmap_colormap", c_int),
   ("ALLEGRO_GLX_MESA_release_buffers", c_int),
   ("ALLEGRO_GLX_MESA_set_3dfx_mode", c_int),
   ("ALLEGRO_GLX_SGIX_visual_select_group", c_int),
   ("ALLEGRO_GLX_OML_swap_method", c_int),
   ("ALLEGRO_GLX_OML_sync_control", c_int),
   ("ALLEGRO_GLX_SGIX_hyperpipe", c_int),
   ("ALLEGRO_GLX_MESA_agp_offset", c_int),
   ("ALLEGRO_GLX_EXT_framebuffer_sRGB", c_int),
   ("ALLEGRO_GLX_EXT_packed_float", c_int),
   ("ALLEGRO_GLX_EXT_texture_from_pixmap", c_int),
   ("ALLEGRO_GLX_NV_video_out", c_int),
   ("ALLEGRO_GLX_NV_swap_group", c_int),
   ("ALLEGRO_GLX_ARB_create_context", c_int),
   ]

ALLEGRO_PRIM_COLOR._fields_ = [

   ("d3d_color", c_uint),
   ("r", c_float),
   ("g", c_float),
   ("b", c_float),
   ("a", c_float),
   ]

ALLEGRO_SAMPLE_ID._fields_ = [

   ("_index", c_int),
   ("_id", c_int),
   ]

ALLEGRO_STATE._fields_ = [

   ("_tls", c_void_p),
   ("flags", c_int),
   ]

ALLEGRO_TIMEOUT._fields_ = [

   ("__pad1__", c_ulong),
   ("__pad2__", c_ulong),
   ]

ALLEGRO_TIMER_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("count", c_long),
   ("error", c_double),
   ]

ALLEGRO_TRANSFORM._fields_ = [

   ("m", c_void_p),
   ]

ALLEGRO_USER_EVENT._fields_ = [

   ("type", c_uint),
   ("source", c_void_p),
   ("timestamp", c_double),
   ("__internal__descr", c_void_p),
   ("data1", c_void_p),
   ("data2", c_void_p),
   ("data3", c_void_p),
   ("data4", c_void_p),
   ]

ALLEGRO_USTR_INFO._fields_ = [

   ("__pad", c_void_p),
   ]

ALLEGRO_VERTEX._fields_ = [

   ("x", c_float),
   ("y", c_float),
   ("color", ALLEGRO_PRIM_COLOR),
   ("u", c_float),
   ("v", c_float),
   ]

ALLEGRO_VERTEX_ELEMENT._fields_ = [

   ("attribute", c_int),
   ("storage", c_int),
   ("offset", c_int),
   ]

class ALLEGRO_EVENT(Union): pass ALLEGRO_EVENT._fields_ = [

   ("type", c_uint),
   ("any", ALLEGRO_ANY_EVENT),
   ("display", ALLEGRO_DISPLAY_EVENT),
   ("joystick", ALLEGRO_JOYSTICK_EVENT),
   ("keyboard", ALLEGRO_KEYBOARD_EVENT),
   ("mouse", ALLEGRO_MOUSE_EVENT),
   ("timer", ALLEGRO_TIMER_EVENT),
   ("user", ALLEGRO_USER_EVENT),
   ]

al_acknowledge_resize = liballegro_audio["al_acknowledge_resize"] al_acknowledge_resize.restype = c_bool al_acknowledge_resize.argtypes = [c_void_p] al_add_config_comment = liballegro_audio["al_add_config_comment"] al_add_config_comment.restype = c_int al_add_config_comment.argtypes = [c_void_p, c_void_p, c_void_p] al_add_config_section = liballegro_audio["al_add_config_section"] al_add_config_section.restype = c_int al_add_config_section.argtypes = [c_void_p, c_void_p] al_append_path_component = liballegro_audio["al_append_path_component"] al_append_path_component.restype = c_int al_append_path_component.argtypes = [c_void_p, c_void_p] al_attach_audio_stream_to_mixer = liballegro_audio["al_attach_audio_stream_to_mixer"] al_attach_audio_stream_to_mixer.restype = c_bool al_attach_audio_stream_to_mixer.argtypes = [c_void_p, c_void_p] al_attach_audio_stream_to_voice = liballegro_audio["al_attach_audio_stream_to_voice"] al_attach_audio_stream_to_voice.restype = c_bool al_attach_audio_stream_to_voice.argtypes = [c_void_p, c_void_p] al_attach_mixer_to_mixer = liballegro_audio["al_attach_mixer_to_mixer"] al_attach_mixer_to_mixer.restype = c_bool al_attach_mixer_to_mixer.argtypes = [c_void_p, c_void_p] al_attach_mixer_to_voice = liballegro_audio["al_attach_mixer_to_voice"] al_attach_mixer_to_voice.restype = c_bool al_attach_mixer_to_voice.argtypes = [c_void_p, c_void_p] al_attach_sample_to_mixer = liballegro_audio["al_attach_sample_to_mixer"] al_attach_sample_to_mixer.restype = c_bool al_attach_sample_to_mixer.argtypes = [c_void_p, c_void_p] al_attach_sample_to_voice = liballegro_audio["al_attach_sample_to_voice"] al_attach_sample_to_voice.restype = c_bool al_attach_sample_to_voice.argtypes = [c_void_p, c_void_p] al_broadcast_cond = liballegro_audio["al_broadcast_cond"] al_broadcast_cond.restype = c_int al_broadcast_cond.argtypes = [c_void_p] al_build_transform = liballegro_primitives["al_build_transform"] al_build_transform.restype = c_int al_build_transform.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_float] al_calculate_arc = liballegro_primitives["al_calculate_arc"] al_calculate_arc.restype = c_int al_calculate_arc.argtypes = [c_void_p, c_int, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_int] al_calculate_ribbon = liballegro_primitives["al_calculate_ribbon"] al_calculate_ribbon.restype = c_int al_calculate_ribbon.argtypes = [c_void_p, c_int, c_void_p, c_int, c_float, c_int] al_calculate_spline = liballegro_primitives["al_calculate_spline"] al_calculate_spline.restype = c_int al_calculate_spline.argtypes = [c_void_p, c_int, c_void_p, c_float, c_int] al_change_directory = liballegro_audio["al_change_directory"] al_change_directory.restype = c_bool al_change_directory.argtypes = [c_void_p] al_check_inverse = liballegro_primitives["al_check_inverse"] al_check_inverse.restype = c_int al_check_inverse.argtypes = [c_void_p, c_float] al_clear_to_color = liballegro_audio["al_clear_to_color"] al_clear_to_color.restype = c_int al_clear_to_color.argtypes = [ALLEGRO_COLOR] al_clone_bitmap = liballegro_audio["al_clone_bitmap"] al_clone_bitmap.restype = c_void_p al_clone_bitmap.argtypes = [c_void_p] al_clone_path = liballegro_audio["al_clone_path"] al_clone_path.restype = c_void_p al_clone_path.argtypes = [c_void_p] al_close_directory = liballegro_audio["al_close_directory"] al_close_directory.restype = c_bool al_close_directory.argtypes = [c_void_p] al_color_cmyk = liballegro_color["al_color_cmyk"] al_color_cmyk.restype = ALLEGRO_COLOR al_color_cmyk.argtypes = [c_float, c_float, c_float, c_float] al_color_cmyk_to_rgb = liballegro_color["al_color_cmyk_to_rgb"] al_color_cmyk_to_rgb.restype = c_int al_color_cmyk_to_rgb.argtypes = [c_float, c_float, c_float, c_float, c_void_p, c_void_p, c_void_p] al_color_hsl = liballegro_color["al_color_hsl"] al_color_hsl.restype = ALLEGRO_COLOR al_color_hsl.argtypes = [c_float, c_float, c_float] al_color_hsl_to_rgb = liballegro_color["al_color_hsl_to_rgb"] al_color_hsl_to_rgb.restype = c_int al_color_hsl_to_rgb.argtypes = [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p] al_color_hsv = liballegro_color["al_color_hsv"] al_color_hsv.restype = ALLEGRO_COLOR al_color_hsv.argtypes = [c_float, c_float, c_float] al_color_hsv_to_rgb = liballegro_color["al_color_hsv_to_rgb"] al_color_hsv_to_rgb.restype = c_int al_color_hsv_to_rgb.argtypes = [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p] al_color_html = liballegro_color["al_color_html"] al_color_html.restype = ALLEGRO_COLOR al_color_html.argtypes = [c_void_p] al_color_html_to_rgb = liballegro_color["al_color_html_to_rgb"] al_color_html_to_rgb.restype = c_int al_color_html_to_rgb.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p] al_color_name = liballegro_color["al_color_name"] al_color_name.restype = ALLEGRO_COLOR al_color_name.argtypes = [c_void_p] al_color_name_to_rgb = liballegro_color["al_color_name_to_rgb"] al_color_name_to_rgb.restype = c_int al_color_name_to_rgb.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p] al_color_rgb_to_cmyk = liballegro_color["al_color_rgb_to_cmyk"] al_color_rgb_to_cmyk.restype = c_int al_color_rgb_to_cmyk.argtypes = [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p, c_void_p] al_color_rgb_to_hsl = liballegro_color["al_color_rgb_to_hsl"] al_color_rgb_to_hsl.restype = c_int al_color_rgb_to_hsl.argtypes = [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p] al_color_rgb_to_hsv = liballegro_color["al_color_rgb_to_hsv"] al_color_rgb_to_hsv.restype = c_int al_color_rgb_to_hsv.argtypes = [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p] al_color_rgb_to_html = liballegro_color["al_color_rgb_to_html"] al_color_rgb_to_html.restype = c_int al_color_rgb_to_html.argtypes = [c_float, c_float, c_float, c_void_p] al_color_rgb_to_name = liballegro_color["al_color_rgb_to_name"] al_color_rgb_to_name.restype = c_void_p al_color_rgb_to_name.argtypes = [c_float, c_float, c_float] al_color_rgb_to_yuv = liballegro_color["al_color_rgb_to_yuv"] al_color_rgb_to_yuv.restype = c_int al_color_rgb_to_yuv.argtypes = [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p] al_color_yuv = liballegro_color["al_color_yuv"] al_color_yuv.restype = ALLEGRO_COLOR al_color_yuv.argtypes = [c_float, c_float, c_float] al_color_yuv_to_rgb = liballegro_color["al_color_yuv_to_rgb"] al_color_yuv_to_rgb.restype = c_int al_color_yuv_to_rgb.argtypes = [c_float, c_float, c_float, c_void_p, c_void_p, c_void_p] al_convert_mask_to_alpha = liballegro_audio["al_convert_mask_to_alpha"] al_convert_mask_to_alpha.restype = c_int al_convert_mask_to_alpha.argtypes = [c_void_p, ALLEGRO_COLOR] al_copy_transform = liballegro_primitives["al_copy_transform"] al_copy_transform.restype = c_int al_copy_transform.argtypes = [c_void_p, c_void_p] al_create_audio_stream = liballegro_audio["al_create_audio_stream"] al_create_audio_stream.restype = c_void_p al_create_audio_stream.argtypes = [c_ulong, c_ulong, c_ulong, c_int, c_int] al_create_bitmap = liballegro_audio["al_create_bitmap"] al_create_bitmap.restype = c_void_p al_create_bitmap.argtypes = [c_int, c_int] al_create_cond = liballegro_audio["al_create_cond"] al_create_cond.restype = c_void_p al_create_cond.argtypes = [] al_create_config = liballegro_audio["al_create_config"] al_create_config.restype = c_void_p al_create_config.argtypes = [] al_create_display = liballegro_audio["al_create_display"] al_create_display.restype = c_void_p al_create_display.argtypes = [c_int, c_int] al_create_event_queue = liballegro_audio["al_create_event_queue"] al_create_event_queue.restype = c_void_p al_create_event_queue.argtypes = [] al_create_fs_entry = liballegro_audio["al_create_fs_entry"] al_create_fs_entry.restype = c_void_p al_create_fs_entry.argtypes = [c_void_p] al_create_mixer = liballegro_audio["al_create_mixer"] al_create_mixer.restype = c_void_p al_create_mixer.argtypes = [c_ulong, c_int, c_int] al_create_mouse_cursor = liballegro_audio["al_create_mouse_cursor"] al_create_mouse_cursor.restype = c_void_p al_create_mouse_cursor.argtypes = [c_void_p, c_int, c_int] al_create_mutex = liballegro_audio["al_create_mutex"] al_create_mutex.restype = c_void_p al_create_mutex.argtypes = [] al_create_mutex_recursive = liballegro_audio["al_create_mutex_recursive"] al_create_mutex_recursive.restype = c_void_p al_create_mutex_recursive.argtypes = [] al_create_native_file_dialog = liballegro_dialog["al_create_native_file_dialog"] al_create_native_file_dialog.restype = c_void_p al_create_native_file_dialog.argtypes = [c_void_p, c_void_p, c_void_p, c_int] al_create_path = liballegro_audio["al_create_path"] al_create_path.restype = c_void_p al_create_path.argtypes = [c_void_p] al_create_path_for_directory = liballegro_audio["al_create_path_for_directory"] al_create_path_for_directory.restype = c_void_p al_create_path_for_directory.argtypes = [c_void_p] al_create_sample = liballegro_audio["al_create_sample"] al_create_sample.restype = c_void_p al_create_sample.argtypes = [c_void_p, c_ulong, c_ulong, c_int, c_int, c_bool] al_create_sample_instance = liballegro_audio["al_create_sample_instance"] al_create_sample_instance.restype = c_void_p al_create_sample_instance.argtypes = [c_void_p] al_create_sub_bitmap = liballegro_audio["al_create_sub_bitmap"] al_create_sub_bitmap.restype = c_void_p al_create_sub_bitmap.argtypes = [c_void_p, c_int, c_int, c_int, c_int] al_create_thread = liballegro_audio["al_create_thread"] al_create_thread.restype = c_void_p al_create_thread.argtypes = [c_void_p, c_void_p] al_create_vertex_decl = liballegro_primitives["al_create_vertex_decl"] al_create_vertex_decl.restype = c_void_p al_create_vertex_decl.argtypes = [c_void_p, c_int] al_create_voice = liballegro_audio["al_create_voice"] al_create_voice.restype = c_void_p al_create_voice.argtypes = [c_ulong, c_int, c_int] al_cstr = liballegro_audio["al_cstr"] al_cstr.restype = c_void_p al_cstr.argtypes = [c_void_p] al_cstr_dup = liballegro_audio["al_cstr_dup"] al_cstr_dup.restype = c_void_p al_cstr_dup.argtypes = [c_void_p] al_current_time = liballegro_audio["al_current_time"] al_current_time.restype = c_double al_current_time.argtypes = [] al_destroy_audio_stream = liballegro_audio["al_destroy_audio_stream"] al_destroy_audio_stream.restype = c_int al_destroy_audio_stream.argtypes = [c_void_p] al_destroy_bitmap = liballegro_audio["al_destroy_bitmap"] al_destroy_bitmap.restype = c_int al_destroy_bitmap.argtypes = [c_void_p] al_destroy_cond = liballegro_audio["al_destroy_cond"] al_destroy_cond.restype = c_int al_destroy_cond.argtypes = [c_void_p] al_destroy_config = liballegro_audio["al_destroy_config"] al_destroy_config.restype = c_int al_destroy_config.argtypes = [c_void_p] al_destroy_display = liballegro_audio["al_destroy_display"] al_destroy_display.restype = c_int al_destroy_display.argtypes = [c_void_p] al_destroy_event_queue = liballegro_audio["al_destroy_event_queue"] al_destroy_event_queue.restype = c_int al_destroy_event_queue.argtypes = [c_void_p] al_destroy_font = liballegro_font["al_destroy_font"] al_destroy_font.restype = c_int al_destroy_font.argtypes = [c_void_p] al_destroy_fs_entry = liballegro_audio["al_destroy_fs_entry"] al_destroy_fs_entry.restype = c_int al_destroy_fs_entry.argtypes = [c_void_p] al_destroy_mixer = liballegro_audio["al_destroy_mixer"] al_destroy_mixer.restype = c_int al_destroy_mixer.argtypes = [c_void_p] al_destroy_mouse_cursor = liballegro_audio["al_destroy_mouse_cursor"] al_destroy_mouse_cursor.restype = c_int al_destroy_mouse_cursor.argtypes = [c_void_p] al_destroy_mutex = liballegro_audio["al_destroy_mutex"] al_destroy_mutex.restype = c_int al_destroy_mutex.argtypes = [c_void_p] al_destroy_native_dialog = liballegro_dialog["al_destroy_native_dialog"] al_destroy_native_dialog.restype = c_int al_destroy_native_dialog.argtypes = [c_void_p] al_destroy_sample = liballegro_audio["al_destroy_sample"] al_destroy_sample.restype = c_int al_destroy_sample.argtypes = [c_void_p] al_destroy_sample_instance = liballegro_audio["al_destroy_sample_instance"] al_destroy_sample_instance.restype = c_int al_destroy_sample_instance.argtypes = [c_void_p] al_destroy_thread = liballegro_audio["al_destroy_thread"] al_destroy_thread.restype = c_int al_destroy_thread.argtypes = [c_void_p] al_destroy_user_event_source = liballegro_audio["al_destroy_user_event_source"] al_destroy_user_event_source.restype = c_int al_destroy_user_event_source.argtypes = [c_void_p] al_destroy_vertex_decl = liballegro_primitives["al_destroy_vertex_decl"] al_destroy_vertex_decl.restype = c_int al_destroy_vertex_decl.argtypes = [c_void_p] al_destroy_voice = liballegro_audio["al_destroy_voice"] al_destroy_voice.restype = c_int al_destroy_voice.argtypes = [c_void_p] al_detach_audio_stream = liballegro_audio["al_detach_audio_stream"] al_detach_audio_stream.restype = c_bool al_detach_audio_stream.argtypes = [c_void_p] al_detach_mixer = liballegro_audio["al_detach_mixer"] al_detach_mixer.restype = c_bool al_detach_mixer.argtypes = [c_void_p] al_detach_sample_instance = liballegro_audio["al_detach_sample_instance"] al_detach_sample_instance.restype = c_bool al_detach_sample_instance.argtypes = [c_void_p] al_detach_voice = liballegro_audio["al_detach_voice"] al_detach_voice.restype = c_int al_detach_voice.argtypes = [c_void_p] al_drain_audio_stream = liballegro_audio["al_drain_audio_stream"] al_drain_audio_stream.restype = c_int al_drain_audio_stream.argtypes = [c_void_p] al_draw_arc = liballegro_primitives["al_draw_arc"] al_draw_arc.restype = c_int al_draw_arc.argtypes = [c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float] al_draw_bitmap = liballegro_audio["al_draw_bitmap"] al_draw_bitmap.restype = c_int al_draw_bitmap.argtypes = [c_void_p, c_float, c_float, c_int] al_draw_bitmap_region = liballegro_audio["al_draw_bitmap_region"] al_draw_bitmap_region.restype = c_int al_draw_bitmap_region.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_float, c_float, c_int] al_draw_circle = liballegro_primitives["al_draw_circle"] al_draw_circle.restype = c_int al_draw_circle.argtypes = [c_float, c_float, c_float, ALLEGRO_COLOR, c_float] al_draw_ellipse = liballegro_primitives["al_draw_ellipse"] al_draw_ellipse.restype = c_int al_draw_ellipse.argtypes = [c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float] al_draw_filled_circle = liballegro_primitives["al_draw_filled_circle"] al_draw_filled_circle.restype = c_int al_draw_filled_circle.argtypes = [c_float, c_float, c_float, ALLEGRO_COLOR] al_draw_filled_ellipse = liballegro_primitives["al_draw_filled_ellipse"] al_draw_filled_ellipse.restype = c_int al_draw_filled_ellipse.argtypes = [c_float, c_float, c_float, c_float, ALLEGRO_COLOR] al_draw_filled_rectangle = liballegro_primitives["al_draw_filled_rectangle"] al_draw_filled_rectangle.restype = c_int al_draw_filled_rectangle.argtypes = [c_float, c_float, c_float, c_float, ALLEGRO_COLOR] al_draw_filled_rounded_rectangle = liballegro_primitives["al_draw_filled_rounded_rectangle"] al_draw_filled_rounded_rectangle.restype = c_int al_draw_filled_rounded_rectangle.argtypes = [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR] al_draw_filled_triangle = liballegro_primitives["al_draw_filled_triangle"] al_draw_filled_triangle.restype = c_int al_draw_filled_triangle.argtypes = [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR] al_draw_indexed_prim = liballegro_primitives["al_draw_indexed_prim"] al_draw_indexed_prim.restype = c_int al_draw_indexed_prim.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_int, c_int] al_draw_justified_text = liballegro_font["al_draw_justified_text"] al_draw_justified_text.restype = c_int al_draw_justified_text.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_int, c_void_p] al_draw_justified_textf = liballegro_font["al_draw_justified_textf"] al_draw_justified_textf.restype = c_int al_draw_justified_textf.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_int, c_void_p] al_draw_justified_ustr = liballegro_font["al_draw_justified_ustr"] al_draw_justified_ustr.restype = c_int al_draw_justified_ustr.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_int, c_void_p] al_draw_line = liballegro_primitives["al_draw_line"] al_draw_line.restype = c_int al_draw_line.argtypes = [c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float] al_draw_pixel = liballegro_audio["al_draw_pixel"] al_draw_pixel.restype = c_int al_draw_pixel.argtypes = [c_float, c_float, ALLEGRO_COLOR] al_draw_prim = liballegro_primitives["al_draw_prim"] al_draw_prim.restype = c_int al_draw_prim.argtypes = [c_void_p, c_void_p, c_void_p, c_int, c_int, c_int] al_draw_rectangle = liballegro_primitives["al_draw_rectangle"] al_draw_rectangle.restype = c_int al_draw_rectangle.argtypes = [c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float] al_draw_ribbon = liballegro_primitives["al_draw_ribbon"] al_draw_ribbon.restype = c_int al_draw_ribbon.argtypes = [c_void_p, c_int, ALLEGRO_COLOR, c_float, c_int] al_draw_rotated_bitmap = liballegro_audio["al_draw_rotated_bitmap"] al_draw_rotated_bitmap.restype = c_int al_draw_rotated_bitmap.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_float, c_int] al_draw_rotated_scaled_bitmap = liballegro_audio["al_draw_rotated_scaled_bitmap"] al_draw_rotated_scaled_bitmap.restype = c_int al_draw_rotated_scaled_bitmap.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_int] al_draw_rounded_rectangle = liballegro_primitives["al_draw_rounded_rectangle"] al_draw_rounded_rectangle.restype = c_int al_draw_rounded_rectangle.argtypes = [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float] al_draw_scaled_bitmap = liballegro_audio["al_draw_scaled_bitmap"] al_draw_scaled_bitmap.restype = c_int al_draw_scaled_bitmap.argtypes = [c_void_p, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_float, c_int] al_draw_soft_line = liballegro_primitives["al_draw_soft_line"] al_draw_soft_line.restype = c_int al_draw_soft_line.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p] al_draw_soft_triangle = liballegro_primitives["al_draw_soft_triangle"] al_draw_soft_triangle.restype = c_int al_draw_soft_triangle.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p] al_draw_spline = liballegro_primitives["al_draw_spline"] al_draw_spline.restype = c_int al_draw_spline.argtypes = [c_void_p, ALLEGRO_COLOR, c_float] al_draw_text = liballegro_font["al_draw_text"] al_draw_text.restype = c_int al_draw_text.argtypes = [c_void_p, c_float, c_float, c_int, c_void_p] al_draw_textf = liballegro_font["al_draw_textf"] al_draw_textf.restype = c_int al_draw_textf.argtypes = [c_void_p, c_float, c_float, c_int, c_void_p] al_draw_triangle = liballegro_primitives["al_draw_triangle"] al_draw_triangle.restype = c_int al_draw_triangle.argtypes = [c_float, c_float, c_float, c_float, c_float, c_float, ALLEGRO_COLOR, c_float] al_draw_ustr = liballegro_font["al_draw_ustr"] al_draw_ustr.restype = c_int al_draw_ustr.argtypes = [c_void_p, c_float, c_float, c_int, c_void_p] al_drop_next_event = liballegro_audio["al_drop_next_event"] al_drop_next_event.restype = c_bool al_drop_next_event.argtypes = [c_void_p] al_drop_path_tail = liballegro_audio["al_drop_path_tail"] al_drop_path_tail.restype = c_int al_drop_path_tail.argtypes = [c_void_p] al_emit_user_event = liballegro_audio["al_emit_user_event"] al_emit_user_event.restype = c_bool al_emit_user_event.argtypes = [c_void_p, c_void_p, c_void_p] al_event_queue_is_empty = liballegro_audio["al_event_queue_is_empty"] al_event_queue_is_empty.restype = c_bool al_event_queue_is_empty.argtypes = [c_void_p] al_fclose = liballegro_audio["al_fclose"] al_fclose.restype = c_int al_fclose.argtypes = [c_void_p] al_feof = liballegro_audio["al_feof"] al_feof.restype = c_bool al_feof.argtypes = [c_void_p] al_ferror = liballegro_audio["al_ferror"] al_ferror.restype = c_bool al_ferror.argtypes = [c_void_p] al_fflush = liballegro_audio["al_fflush"] al_fflush.restype = c_bool al_fflush.argtypes = [c_void_p] al_fget_ustr = liballegro_audio["al_fget_ustr"] al_fget_ustr.restype = c_void_p al_fget_ustr.argtypes = [c_void_p] al_fgetc = liballegro_audio["al_fgetc"] al_fgetc.restype = c_int al_fgetc.argtypes = [c_void_p] al_fgets = liballegro_audio["al_fgets"] al_fgets.restype = c_void_p al_fgets.argtypes = [c_void_p, c_void_p, c_ulong] al_filename_exists = liballegro_audio["al_filename_exists"] al_filename_exists.restype = c_bool al_filename_exists.argtypes = [c_void_p] al_fixacos = liballegro_audio["al_fixacos"] al_fixacos.restype = c_int al_fixacos.argtypes = [c_int] al_fixadd = liballegro_audio["al_fixadd"] al_fixadd.restype = c_int al_fixadd.argtypes = [c_int, c_int] al_fixasin = liballegro_audio["al_fixasin"] al_fixasin.restype = c_int al_fixasin.argtypes = [c_int] al_fixatan = liballegro_audio["al_fixatan"] al_fixatan.restype = c_int al_fixatan.argtypes = [c_int] al_fixatan2 = liballegro_audio["al_fixatan2"] al_fixatan2.restype = c_int al_fixatan2.argtypes = [c_int, c_int] al_fixceil = liballegro_audio["al_fixceil"] al_fixceil.restype = c_int al_fixceil.argtypes = [c_int] al_fixcos = liballegro_audio["al_fixcos"] al_fixcos.restype = c_int al_fixcos.argtypes = [c_int] al_fixdiv = liballegro_audio["al_fixdiv"] al_fixdiv.restype = c_int al_fixdiv.argtypes = [c_int, c_int] al_fixfloor = liballegro_audio["al_fixfloor"] al_fixfloor.restype = c_int al_fixfloor.argtypes = [c_int] al_fixhypot = liballegro_audio["al_fixhypot"] al_fixhypot.restype = c_int al_fixhypot.argtypes = [c_int, c_int] al_fixmul = liballegro_audio["al_fixmul"] al_fixmul.restype = c_int al_fixmul.argtypes = [c_int, c_int] al_fixsin = liballegro_audio["al_fixsin"] al_fixsin.restype = c_int al_fixsin.argtypes = [c_int] al_fixsqrt = liballegro_audio["al_fixsqrt"] al_fixsqrt.restype = c_int al_fixsqrt.argtypes = [c_int] al_fixsub = liballegro_audio["al_fixsub"] al_fixsub.restype = c_int al_fixsub.argtypes = [c_int, c_int] al_fixtan = liballegro_audio["al_fixtan"] al_fixtan.restype = c_int al_fixtan.argtypes = [c_int] al_fixtof = liballegro_audio["al_fixtof"] al_fixtof.restype = c_double al_fixtof.argtypes = [c_int] al_fixtoi = liballegro_audio["al_fixtoi"] al_fixtoi.restype = c_int al_fixtoi.argtypes = [c_int] al_flip_display = liballegro_audio["al_flip_display"] al_flip_display.restype = c_int al_flip_display.argtypes = [] al_flush_event_queue = liballegro_audio["al_flush_event_queue"] al_flush_event_queue.restype = c_int al_flush_event_queue.argtypes = [c_void_p] al_fopen = liballegro_audio["al_fopen"] al_fopen.restype = c_void_p al_fopen.argtypes = [c_void_p, c_void_p] al_fopen_fd = liballegro_audio["al_fopen_fd"] al_fopen_fd.restype = c_void_p al_fopen_fd.argtypes = [c_int, c_void_p] al_fputc = liballegro_audio["al_fputc"] al_fputc.restype = c_int al_fputc.argtypes = [c_void_p, c_int] al_fputs = liballegro_audio["al_fputs"] al_fputs.restype = c_int al_fputs.argtypes = [c_void_p, c_void_p] al_fread = liballegro_audio["al_fread"] al_fread.restype = c_ulong al_fread.argtypes = [c_void_p, c_void_p, c_ulong] al_fread16be = liballegro_audio["al_fread16be"] al_fread16be.restype = c_short al_fread16be.argtypes = [c_void_p] al_fread16le = liballegro_audio["al_fread16le"] al_fread16le.restype = c_short al_fread16le.argtypes = [c_void_p] al_fread32be = liballegro_audio["al_fread32be"] al_fread32be.restype = c_int al_fread32be.argtypes = [c_void_p, c_void_p] al_fread32le = liballegro_audio["al_fread32le"] al_fread32le.restype = c_int al_fread32le.argtypes = [c_void_p, c_void_p] al_free_path = liballegro_audio["al_free_path"] al_free_path.restype = c_int al_free_path.argtypes = [c_void_p] al_fs_entry_exists = liballegro_audio["al_fs_entry_exists"] al_fs_entry_exists.restype = c_bool al_fs_entry_exists.argtypes = [c_void_p] al_fs_entry_is_directory = liballegro_audio["al_fs_entry_is_directory"] al_fs_entry_is_directory.restype = c_bool al_fs_entry_is_directory.argtypes = [c_void_p] al_fs_entry_is_file = liballegro_audio["al_fs_entry_is_file"] al_fs_entry_is_file.restype = c_bool al_fs_entry_is_file.argtypes = [c_void_p] al_fseek = liballegro_audio["al_fseek"] al_fseek.restype = c_bool al_fseek.argtypes = [c_void_p, c_long, c_int] al_fsize = liballegro_audio["al_fsize"] al_fsize.restype = c_long al_fsize.argtypes = [c_void_p] al_ftell = liballegro_audio["al_ftell"] al_ftell.restype = c_long al_ftell.argtypes = [c_void_p] al_ftofix = liballegro_audio["al_ftofix"] al_ftofix.restype = c_int al_ftofix.argtypes = [c_double] al_fungetc = liballegro_audio["al_fungetc"] al_fungetc.restype = c_int al_fungetc.argtypes = [c_void_p, c_int] al_fwrite = liballegro_audio["al_fwrite"] al_fwrite.restype = c_ulong al_fwrite.argtypes = [c_void_p, c_void_p, c_ulong] al_fwrite16be = liballegro_audio["al_fwrite16be"] al_fwrite16be.restype = c_ulong al_fwrite16be.argtypes = [c_void_p, c_short] al_fwrite16le = liballegro_audio["al_fwrite16le"] al_fwrite16le.restype = c_ulong al_fwrite16le.argtypes = [c_void_p, c_short] al_fwrite32be = liballegro_audio["al_fwrite32be"] al_fwrite32be.restype = c_ulong al_fwrite32be.argtypes = [c_void_p, c_int] al_fwrite32le = liballegro_audio["al_fwrite32le"] al_fwrite32le.restype = c_ulong al_fwrite32le.argtypes = [c_void_p, c_int] al_get_allegro_audio_version = liballegro_audio["al_get_allegro_audio_version"] al_get_allegro_audio_version.restype = c_uint al_get_allegro_audio_version.argtypes = [] al_get_allegro_color = liballegro_primitives["al_get_allegro_color"] al_get_allegro_color.restype = ALLEGRO_COLOR al_get_allegro_color.argtypes = [ALLEGRO_PRIM_COLOR] al_get_allegro_color_version = liballegro_color["al_get_allegro_color_version"] al_get_allegro_color_version.restype = c_uint al_get_allegro_color_version.argtypes = [] al_get_allegro_flac_version = liballegro_flac["al_get_allegro_flac_version"] al_get_allegro_flac_version.restype = c_uint al_get_allegro_flac_version.argtypes = [] al_get_allegro_font_version = liballegro_font["al_get_allegro_font_version"] al_get_allegro_font_version.restype = c_uint al_get_allegro_font_version.argtypes = [] al_get_allegro_image_version = liballegro_font["al_get_allegro_image_version"] al_get_allegro_image_version.restype = c_uint al_get_allegro_image_version.argtypes = [] al_get_allegro_memfile_version = liballegro_memfile["al_get_allegro_memfile_version"] al_get_allegro_memfile_version.restype = c_uint al_get_allegro_memfile_version.argtypes = [] al_get_allegro_native_dialog_version = liballegro_dialog["al_get_allegro_native_dialog_version"] al_get_allegro_native_dialog_version.restype = c_uint al_get_allegro_native_dialog_version.argtypes = [] al_get_allegro_ogg_vorbis_version = liballegro_vorbis["al_get_allegro_ogg_vorbis_version"] al_get_allegro_ogg_vorbis_version.restype = c_uint al_get_allegro_ogg_vorbis_version.argtypes = [] al_get_allegro_primitives_version = liballegro_primitives["al_get_allegro_primitives_version"] al_get_allegro_primitives_version.restype = c_uint al_get_allegro_primitives_version.argtypes = [] al_get_allegro_ttf_version = liballegro_ttf["al_get_allegro_ttf_version"] al_get_allegro_ttf_version.restype = c_uint al_get_allegro_ttf_version.argtypes = [] al_get_allegro_version = liballegro_audio["al_get_allegro_version"] al_get_allegro_version.restype = c_uint al_get_allegro_version.argtypes = [] al_get_appname = liballegro_audio["al_get_appname"] al_get_appname.restype = c_void_p al_get_appname.argtypes = [] al_get_audio_stream_attached = liballegro_audio["al_get_audio_stream_attached"] al_get_audio_stream_attached.restype = c_bool al_get_audio_stream_attached.argtypes = [c_void_p] al_get_audio_stream_channels = liballegro_audio["al_get_audio_stream_channels"] al_get_audio_stream_channels.restype = c_int al_get_audio_stream_channels.argtypes = [c_void_p] al_get_audio_stream_depth = liballegro_audio["al_get_audio_stream_depth"] al_get_audio_stream_depth.restype = c_int al_get_audio_stream_depth.argtypes = [c_void_p] al_get_audio_stream_event_source = liballegro_audio["al_get_audio_stream_event_source"] al_get_audio_stream_event_source.restype = c_void_p al_get_audio_stream_event_source.argtypes = [c_void_p] al_get_audio_stream_fragment = liballegro_audio["al_get_audio_stream_fragment"] al_get_audio_stream_fragment.restype = c_void_p al_get_audio_stream_fragment.argtypes = [c_void_p] al_get_audio_stream_fragments = liballegro_audio["al_get_audio_stream_fragments"] al_get_audio_stream_fragments.restype = c_uint al_get_audio_stream_fragments.argtypes = [c_void_p] al_get_audio_stream_frequency = liballegro_audio["al_get_audio_stream_frequency"] al_get_audio_stream_frequency.restype = c_uint al_get_audio_stream_frequency.argtypes = [c_void_p] al_get_audio_stream_gain = liballegro_audio["al_get_audio_stream_gain"] al_get_audio_stream_gain.restype = c_float al_get_audio_stream_gain.argtypes = [c_void_p] al_get_audio_stream_length = liballegro_audio["al_get_audio_stream_length"] al_get_audio_stream_length.restype = c_ulong al_get_audio_stream_length.argtypes = [c_void_p] al_get_audio_stream_length_secs = liballegro_audio["al_get_audio_stream_length_secs"] al_get_audio_stream_length_secs.restype = c_double al_get_audio_stream_length_secs.argtypes = [c_void_p] al_get_audio_stream_pan = liballegro_audio["al_get_audio_stream_pan"] al_get_audio_stream_pan.restype = c_float al_get_audio_stream_pan.argtypes = [c_void_p] al_get_audio_stream_playing = liballegro_audio["al_get_audio_stream_playing"] al_get_audio_stream_playing.restype = c_bool al_get_audio_stream_playing.argtypes = [c_void_p] al_get_audio_stream_playmode = liballegro_audio["al_get_audio_stream_playmode"] al_get_audio_stream_playmode.restype = c_int al_get_audio_stream_playmode.argtypes = [c_void_p] al_get_audio_stream_position_secs = liballegro_audio["al_get_audio_stream_position_secs"] al_get_audio_stream_position_secs.restype = c_double al_get_audio_stream_position_secs.argtypes = [c_void_p] al_get_audio_stream_speed = liballegro_audio["al_get_audio_stream_speed"] al_get_audio_stream_speed.restype = c_float al_get_audio_stream_speed.argtypes = [c_void_p] al_get_available_audio_stream_fragments = liballegro_audio["al_get_available_audio_stream_fragments"] al_get_available_audio_stream_fragments.restype = c_uint al_get_available_audio_stream_fragments.argtypes = [c_void_p] al_get_backbuffer = liballegro_audio["al_get_backbuffer"] al_get_backbuffer.restype = c_void_p al_get_backbuffer.argtypes = [] al_get_bitmap_flags = liballegro_audio["al_get_bitmap_flags"] al_get_bitmap_flags.restype = c_int al_get_bitmap_flags.argtypes = [c_void_p] al_get_bitmap_format = liballegro_audio["al_get_bitmap_format"] al_get_bitmap_format.restype = c_int al_get_bitmap_format.argtypes = [c_void_p] al_get_bitmap_height = liballegro_audio["al_get_bitmap_height"] al_get_bitmap_height.restype = c_int al_get_bitmap_height.argtypes = [c_void_p] al_get_bitmap_width = liballegro_audio["al_get_bitmap_width"] al_get_bitmap_width.restype = c_int al_get_bitmap_width.argtypes = [c_void_p] al_get_blender = liballegro_audio["al_get_blender"] al_get_blender.restype = c_int al_get_blender.argtypes = [c_void_p, c_void_p, c_void_p] al_get_clipping_rectangle = liballegro_audio["al_get_clipping_rectangle"] al_get_clipping_rectangle.restype = c_int al_get_clipping_rectangle.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p] al_get_config_value = liballegro_audio["al_get_config_value"] al_get_config_value.restype = c_void_p al_get_config_value.argtypes = [c_void_p, c_void_p, c_void_p] al_get_current_directory = liballegro_audio["al_get_current_directory"] al_get_current_directory.restype = c_void_p al_get_current_directory.argtypes = [] al_get_current_display = liballegro_audio["al_get_current_display"] al_get_current_display.restype = c_void_p al_get_current_display.argtypes = [] al_get_current_transform = liballegro_primitives["al_get_current_transform"] al_get_current_transform.restype = c_void_p al_get_current_transform.argtypes = [] al_get_current_video_adapter = liballegro_audio["al_get_current_video_adapter"] al_get_current_video_adapter.restype = c_int al_get_current_video_adapter.argtypes = [] al_get_default_mixer = liballegro_audio["al_get_default_mixer"] al_get_default_mixer.restype = c_void_p al_get_default_mixer.argtypes = [] al_get_display_event_source = liballegro_audio["al_get_display_event_source"] al_get_display_event_source.restype = c_void_p al_get_display_event_source.argtypes = [c_void_p] al_get_display_flags = liballegro_audio["al_get_display_flags"] al_get_display_flags.restype = c_int al_get_display_flags.argtypes = [] al_get_display_format = liballegro_audio["al_get_display_format"] al_get_display_format.restype = c_int al_get_display_format.argtypes = [] al_get_display_format_option = liballegro_audio["al_get_display_format_option"] al_get_display_format_option.restype = c_int al_get_display_format_option.argtypes = [c_int, c_int] al_get_display_height = liballegro_audio["al_get_display_height"] al_get_display_height.restype = c_int al_get_display_height.argtypes = [] al_get_display_mode = liballegro_audio["al_get_display_mode"] al_get_display_mode.restype = c_void_p al_get_display_mode.argtypes = [c_int, c_void_p] al_get_display_option = liballegro_audio["al_get_display_option"] al_get_display_option.restype = c_int al_get_display_option.argtypes = [c_int] al_get_display_refresh_rate = liballegro_audio["al_get_display_refresh_rate"] al_get_display_refresh_rate.restype = c_int al_get_display_refresh_rate.argtypes = [] al_get_display_width = liballegro_audio["al_get_display_width"] al_get_display_width.restype = c_int al_get_display_width.argtypes = [] al_get_errno = liballegro_audio["al_get_errno"] al_get_errno.restype = c_int al_get_errno.argtypes = [] al_get_first_config_entry = liballegro_audio["al_get_first_config_entry"] al_get_first_config_entry.restype = c_void_p al_get_first_config_entry.argtypes = [c_void_p, c_void_p, c_void_p] al_get_first_config_section = liballegro_audio["al_get_first_config_section"] al_get_first_config_section.restype = c_void_p al_get_first_config_section.argtypes = [c_void_p, c_void_p] al_get_font_line_height = liballegro_font["al_get_font_line_height"] al_get_font_line_height.restype = c_int al_get_font_line_height.argtypes = [c_void_p] al_get_frontbuffer = liballegro_audio["al_get_frontbuffer"] al_get_frontbuffer.restype = c_void_p al_get_frontbuffer.argtypes = [] al_get_fs_entry_atime = liballegro_audio["al_get_fs_entry_atime"] al_get_fs_entry_atime.restype = c_long al_get_fs_entry_atime.argtypes = [c_void_p] al_get_fs_entry_ctime = liballegro_audio["al_get_fs_entry_ctime"] al_get_fs_entry_ctime.restype = c_long al_get_fs_entry_ctime.argtypes = [c_void_p] al_get_fs_entry_mode = liballegro_audio["al_get_fs_entry_mode"] al_get_fs_entry_mode.restype = c_uint al_get_fs_entry_mode.argtypes = [c_void_p] al_get_fs_entry_mtime = liballegro_audio["al_get_fs_entry_mtime"] al_get_fs_entry_mtime.restype = c_long al_get_fs_entry_mtime.argtypes = [c_void_p] al_get_fs_entry_name = liballegro_audio["al_get_fs_entry_name"] al_get_fs_entry_name.restype = c_void_p al_get_fs_entry_name.argtypes = [c_void_p] al_get_fs_entry_size = liballegro_audio["al_get_fs_entry_size"] al_get_fs_entry_size.restype = c_long al_get_fs_entry_size.argtypes = [c_void_p] al_get_fs_interface = liballegro_audio["al_get_fs_interface"] al_get_fs_interface.restype = c_void_p al_get_fs_interface.argtypes = [] al_get_joystick = liballegro_audio["al_get_joystick"] al_get_joystick.restype = c_void_p al_get_joystick.argtypes = [c_int] al_get_joystick_axis_name = liballegro_audio["al_get_joystick_axis_name"] al_get_joystick_axis_name.restype = c_void_p al_get_joystick_axis_name.argtypes = [c_void_p, c_int, c_int] al_get_joystick_button_name = liballegro_audio["al_get_joystick_button_name"] al_get_joystick_button_name.restype = c_void_p al_get_joystick_button_name.argtypes = [c_void_p, c_int] al_get_joystick_event_source = liballegro_audio["al_get_joystick_event_source"] al_get_joystick_event_source.restype = c_void_p al_get_joystick_event_source.argtypes = [c_void_p] al_get_joystick_name = liballegro_audio["al_get_joystick_name"] al_get_joystick_name.restype = c_void_p al_get_joystick_name.argtypes = [c_void_p] al_get_joystick_num_axes = liballegro_audio["al_get_joystick_num_axes"] al_get_joystick_num_axes.restype = c_int al_get_joystick_num_axes.argtypes = [c_void_p, c_int] al_get_joystick_num_buttons = liballegro_audio["al_get_joystick_num_buttons"] al_get_joystick_num_buttons.restype = c_int al_get_joystick_num_buttons.argtypes = [c_void_p] al_get_joystick_num_sticks = liballegro_audio["al_get_joystick_num_sticks"] al_get_joystick_num_sticks.restype = c_int al_get_joystick_num_sticks.argtypes = [c_void_p] al_get_joystick_number = liballegro_audio["al_get_joystick_number"] al_get_joystick_number.restype = c_int al_get_joystick_number.argtypes = [c_void_p] al_get_joystick_state = liballegro_audio["al_get_joystick_state"] al_get_joystick_state.restype = c_int al_get_joystick_state.argtypes = [c_void_p, c_void_p] al_get_joystick_stick_flags = liballegro_audio["al_get_joystick_stick_flags"] al_get_joystick_stick_flags.restype = c_int al_get_joystick_stick_flags.argtypes = [c_void_p, c_int] al_get_joystick_stick_name = liballegro_audio["al_get_joystick_stick_name"] al_get_joystick_stick_name.restype = c_void_p al_get_joystick_stick_name.argtypes = [c_void_p, c_int] al_get_keyboard_event_source = liballegro_audio["al_get_keyboard_event_source"] al_get_keyboard_event_source.restype = c_void_p al_get_keyboard_event_source.argtypes = [] al_get_keyboard_state = liballegro_audio["al_get_keyboard_state"] al_get_keyboard_state.restype = c_int al_get_keyboard_state.argtypes = [c_void_p] al_get_mixer_attached = liballegro_audio["al_get_mixer_attached"] al_get_mixer_attached.restype = c_bool al_get_mixer_attached.argtypes = [c_void_p] al_get_mixer_channels = liballegro_audio["al_get_mixer_channels"] al_get_mixer_channels.restype = c_int al_get_mixer_channels.argtypes = [c_void_p] al_get_mixer_depth = liballegro_audio["al_get_mixer_depth"] al_get_mixer_depth.restype = c_int al_get_mixer_depth.argtypes = [c_void_p] al_get_mixer_frequency = liballegro_audio["al_get_mixer_frequency"] al_get_mixer_frequency.restype = c_uint al_get_mixer_frequency.argtypes = [c_void_p] al_get_mixer_playing = liballegro_audio["al_get_mixer_playing"] al_get_mixer_playing.restype = c_bool al_get_mixer_playing.argtypes = [c_void_p] al_get_mixer_quality = liballegro_audio["al_get_mixer_quality"] al_get_mixer_quality.restype = c_int al_get_mixer_quality.argtypes = [c_void_p] al_get_monitor_info = liballegro_audio["al_get_monitor_info"] al_get_monitor_info.restype = c_int al_get_monitor_info.argtypes = [c_int, c_void_p] al_get_mouse_cursor_position = liballegro_audio["al_get_mouse_cursor_position"] al_get_mouse_cursor_position.restype = c_bool al_get_mouse_cursor_position.argtypes = [c_void_p, c_void_p] al_get_mouse_event_source = liballegro_audio["al_get_mouse_event_source"] al_get_mouse_event_source.restype = c_void_p al_get_mouse_event_source.argtypes = [] al_get_mouse_num_axes = liballegro_audio["al_get_mouse_num_axes"] al_get_mouse_num_axes.restype = c_uint al_get_mouse_num_axes.argtypes = [] al_get_mouse_num_buttons = liballegro_audio["al_get_mouse_num_buttons"] al_get_mouse_num_buttons.restype = c_uint al_get_mouse_num_buttons.argtypes = [] al_get_mouse_state = liballegro_audio["al_get_mouse_state"] al_get_mouse_state.restype = c_int al_get_mouse_state.argtypes = [c_void_p] al_get_mouse_state_axis = liballegro_audio["al_get_mouse_state_axis"] al_get_mouse_state_axis.restype = c_int al_get_mouse_state_axis.argtypes = [c_void_p, c_int] al_get_native_file_dialog_count = liballegro_dialog["al_get_native_file_dialog_count"] al_get_native_file_dialog_count.restype = c_int al_get_native_file_dialog_count.argtypes = [c_void_p] al_get_native_file_dialog_path = liballegro_dialog["al_get_native_file_dialog_path"] al_get_native_file_dialog_path.restype = c_void_p al_get_native_file_dialog_path.argtypes = [c_void_p, c_ulong] al_get_new_bitmap_flags = liballegro_audio["al_get_new_bitmap_flags"] al_get_new_bitmap_flags.restype = c_int al_get_new_bitmap_flags.argtypes = [] al_get_new_bitmap_format = liballegro_audio["al_get_new_bitmap_format"] al_get_new_bitmap_format.restype = c_int al_get_new_bitmap_format.argtypes = [] al_get_new_display_flags = liballegro_audio["al_get_new_display_flags"] al_get_new_display_flags.restype = c_int al_get_new_display_flags.argtypes = [] al_get_new_display_option = liballegro_audio["al_get_new_display_option"] al_get_new_display_option.restype = c_int al_get_new_display_option.argtypes = [c_int, c_void_p] al_get_new_display_refresh_rate = liballegro_audio["al_get_new_display_refresh_rate"] al_get_new_display_refresh_rate.restype = c_int al_get_new_display_refresh_rate.argtypes = [] al_get_new_file_interface = liballegro_audio["al_get_new_file_interface"] al_get_new_file_interface.restype = c_void_p al_get_new_file_interface.argtypes = [] al_get_new_window_position = liballegro_audio["al_get_new_window_position"] al_get_new_window_position.restype = c_int al_get_new_window_position.argtypes = [c_void_p, c_void_p] al_get_next_config_entry = liballegro_audio["al_get_next_config_entry"] al_get_next_config_entry.restype = c_void_p al_get_next_config_entry.argtypes = [c_void_p] al_get_next_config_section = liballegro_audio["al_get_next_config_section"] al_get_next_config_section.restype = c_void_p al_get_next_config_section.argtypes = [c_void_p] al_get_next_event = liballegro_audio["al_get_next_event"] al_get_next_event.restype = c_bool al_get_next_event.argtypes = [c_void_p, c_void_p] al_get_num_display_formats = liballegro_audio["al_get_num_display_formats"] al_get_num_display_formats.restype = c_int al_get_num_display_formats.argtypes = [] al_get_num_display_modes = liballegro_audio["al_get_num_display_modes"] al_get_num_display_modes.restype = c_int al_get_num_display_modes.argtypes = [] al_get_num_joysticks = liballegro_audio["al_get_num_joysticks"] al_get_num_joysticks.restype = c_int al_get_num_joysticks.argtypes = [] al_get_num_video_adapters = liballegro_audio["al_get_num_video_adapters"] al_get_num_video_adapters.restype = c_int al_get_num_video_adapters.argtypes = [] al_get_opengl_extension_list = liballegro_audio["al_get_opengl_extension_list"] al_get_opengl_extension_list.restype = c_void_p al_get_opengl_extension_list.argtypes = [] al_get_opengl_fbo = liballegro_audio["al_get_opengl_fbo"] al_get_opengl_fbo.restype = c_uint al_get_opengl_fbo.argtypes = [c_void_p] al_get_opengl_proc_address = liballegro_audio["al_get_opengl_proc_address"] al_get_opengl_proc_address.restype = c_void_p al_get_opengl_proc_address.argtypes = [c_void_p] al_get_opengl_texture = liballegro_audio["al_get_opengl_texture"] al_get_opengl_texture.restype = c_uint al_get_opengl_texture.argtypes = [c_void_p] al_get_opengl_texture_position = liballegro_audio["al_get_opengl_texture_position"] al_get_opengl_texture_position.restype = c_int al_get_opengl_texture_position.argtypes = [c_void_p, c_void_p, c_void_p] al_get_opengl_texture_size = liballegro_audio["al_get_opengl_texture_size"] al_get_opengl_texture_size.restype = c_int al_get_opengl_texture_size.argtypes = [c_void_p, c_void_p, c_void_p] al_get_opengl_version = liballegro_audio["al_get_opengl_version"] al_get_opengl_version.restype = c_float al_get_opengl_version.argtypes = [] al_get_orgname = liballegro_audio["al_get_orgname"] al_get_orgname.restype = c_void_p al_get_orgname.argtypes = [] al_get_path_basename = liballegro_audio["al_get_path_basename"] al_get_path_basename.restype = c_void_p al_get_path_basename.argtypes = [c_void_p] al_get_path_component = liballegro_audio["al_get_path_component"] al_get_path_component.restype = c_void_p al_get_path_component.argtypes = [c_void_p, c_int] al_get_path_drive = liballegro_audio["al_get_path_drive"] al_get_path_drive.restype = c_void_p al_get_path_drive.argtypes = [c_void_p] al_get_path_extension = liballegro_audio["al_get_path_extension"] al_get_path_extension.restype = c_void_p al_get_path_extension.argtypes = [c_void_p] al_get_path_filename = liballegro_audio["al_get_path_filename"] al_get_path_filename.restype = c_void_p al_get_path_filename.argtypes = [c_void_p] al_get_path_num_components = liballegro_audio["al_get_path_num_components"] al_get_path_num_components.restype = c_int al_get_path_num_components.argtypes = [c_void_p] al_get_path_tail = liballegro_audio["al_get_path_tail"] al_get_path_tail.restype = c_void_p al_get_path_tail.argtypes = [c_void_p] al_get_pixel = liballegro_audio["al_get_pixel"] al_get_pixel.restype = ALLEGRO_COLOR al_get_pixel.argtypes = [c_void_p, c_int, c_int] al_get_pixel_format_bits = liballegro_audio["al_get_pixel_format_bits"] al_get_pixel_format_bits.restype = c_int al_get_pixel_format_bits.argtypes = [c_int] al_get_pixel_size = liballegro_audio["al_get_pixel_size"] al_get_pixel_size.restype = c_int al_get_pixel_size.argtypes = [c_int] al_get_prim_color = liballegro_primitives["al_get_prim_color"] al_get_prim_color.restype = ALLEGRO_PRIM_COLOR al_get_prim_color.argtypes = [ALLEGRO_COLOR] al_get_sample = liballegro_audio["al_get_sample"] al_get_sample.restype = c_void_p al_get_sample.argtypes = [c_void_p] al_get_sample_channels = liballegro_audio["al_get_sample_channels"] al_get_sample_channels.restype = c_int al_get_sample_channels.argtypes = [c_void_p] al_get_sample_data = liballegro_audio["al_get_sample_data"] al_get_sample_data.restype = c_void_p al_get_sample_data.argtypes = [c_void_p] al_get_sample_depth = liballegro_audio["al_get_sample_depth"] al_get_sample_depth.restype = c_int al_get_sample_depth.argtypes = [c_void_p] al_get_sample_frequency = liballegro_audio["al_get_sample_frequency"] al_get_sample_frequency.restype = c_uint al_get_sample_frequency.argtypes = [c_void_p] al_get_sample_instance_attached = liballegro_audio["al_get_sample_instance_attached"] al_get_sample_instance_attached.restype = c_bool al_get_sample_instance_attached.argtypes = [c_void_p] al_get_sample_instance_channels = liballegro_audio["al_get_sample_instance_channels"] al_get_sample_instance_channels.restype = c_int al_get_sample_instance_channels.argtypes = [c_void_p] al_get_sample_instance_depth = liballegro_audio["al_get_sample_instance_depth"] al_get_sample_instance_depth.restype = c_int al_get_sample_instance_depth.argtypes = [c_void_p] al_get_sample_instance_frequency = liballegro_audio["al_get_sample_instance_frequency"] al_get_sample_instance_frequency.restype = c_uint al_get_sample_instance_frequency.argtypes = [c_void_p] al_get_sample_instance_gain = liballegro_audio["al_get_sample_instance_gain"] al_get_sample_instance_gain.restype = c_float al_get_sample_instance_gain.argtypes = [c_void_p] al_get_sample_instance_length = liballegro_audio["al_get_sample_instance_length"] al_get_sample_instance_length.restype = c_ulong al_get_sample_instance_length.argtypes = [c_void_p] al_get_sample_instance_pan = liballegro_audio["al_get_sample_instance_pan"] al_get_sample_instance_pan.restype = c_float al_get_sample_instance_pan.argtypes = [c_void_p] al_get_sample_instance_playing = liballegro_audio["al_get_sample_instance_playing"] al_get_sample_instance_playing.restype = c_bool al_get_sample_instance_playing.argtypes = [c_void_p] al_get_sample_instance_playmode = liballegro_audio["al_get_sample_instance_playmode"] al_get_sample_instance_playmode.restype = c_int al_get_sample_instance_playmode.argtypes = [c_void_p] al_get_sample_instance_position = liballegro_audio["al_get_sample_instance_position"] al_get_sample_instance_position.restype = c_ulong al_get_sample_instance_position.argtypes = [c_void_p] al_get_sample_instance_speed = liballegro_audio["al_get_sample_instance_speed"] al_get_sample_instance_speed.restype = c_float al_get_sample_instance_speed.argtypes = [c_void_p] al_get_sample_instance_time = liballegro_audio["al_get_sample_instance_time"] al_get_sample_instance_time.restype = c_float al_get_sample_instance_time.argtypes = [c_void_p] al_get_sample_length = liballegro_audio["al_get_sample_length"] al_get_sample_length.restype = c_ulong al_get_sample_length.argtypes = [c_void_p] al_get_separate_blender = liballegro_audio["al_get_separate_blender"] al_get_separate_blender.restype = c_int al_get_separate_blender.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p] al_get_standard_path = liballegro_audio["al_get_standard_path"] al_get_standard_path.restype = c_void_p al_get_standard_path.argtypes = [c_int] al_get_system_config = liballegro_audio["al_get_system_config"] al_get_system_config.restype = c_void_p al_get_system_config.argtypes = [] al_get_system_driver = liballegro_audio["al_get_system_driver"] al_get_system_driver.restype = c_void_p al_get_system_driver.argtypes = [] al_get_target_bitmap = liballegro_audio["al_get_target_bitmap"] al_get_target_bitmap.restype = c_void_p al_get_target_bitmap.argtypes = [] al_get_text_dimensions = liballegro_font["al_get_text_dimensions"] al_get_text_dimensions.restype = c_int al_get_text_dimensions.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p] al_get_text_width = liballegro_font["al_get_text_width"] al_get_text_width.restype = c_int al_get_text_width.argtypes = [c_void_p, c_void_p] al_get_thread_should_stop = liballegro_audio["al_get_thread_should_stop"] al_get_thread_should_stop.restype = c_bool al_get_thread_should_stop.argtypes = [c_void_p] al_get_timer_count = liballegro_audio["al_get_timer_count"] al_get_timer_count.restype = c_long al_get_timer_count.argtypes = [c_void_p] al_get_timer_event_source = liballegro_audio["al_get_timer_event_source"] al_get_timer_event_source.restype = c_void_p al_get_timer_event_source.argtypes = [c_void_p] al_get_timer_speed = liballegro_audio["al_get_timer_speed"] al_get_timer_speed.restype = c_double al_get_timer_speed.argtypes = [c_void_p] al_get_ustr_dimensions = liballegro_font["al_get_ustr_dimensions"] al_get_ustr_dimensions.restype = c_int al_get_ustr_dimensions.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p] al_get_ustr_width = liballegro_font["al_get_ustr_width"] al_get_ustr_width.restype = c_int al_get_ustr_width.argtypes = [c_void_p, c_void_p] al_get_voice_channels = liballegro_audio["al_get_voice_channels"] al_get_voice_channels.restype = c_int al_get_voice_channels.argtypes = [c_void_p] al_get_voice_depth = liballegro_audio["al_get_voice_depth"] al_get_voice_depth.restype = c_int al_get_voice_depth.argtypes = [c_void_p] al_get_voice_frequency = liballegro_audio["al_get_voice_frequency"] al_get_voice_frequency.restype = c_uint al_get_voice_frequency.argtypes = [c_void_p] al_get_voice_playing = liballegro_audio["al_get_voice_playing"] al_get_voice_playing.restype = c_bool al_get_voice_playing.argtypes = [c_void_p] al_get_voice_position = liballegro_audio["al_get_voice_position"] al_get_voice_position.restype = c_ulong al_get_voice_position.argtypes = [c_void_p] al_get_window_position = liballegro_audio["al_get_window_position"] al_get_window_position.restype = c_int al_get_window_position.argtypes = [c_void_p, c_void_p, c_void_p] al_grab_font_from_bitmap = liballegro_font["al_grab_font_from_bitmap"] al_grab_font_from_bitmap.restype = c_void_p al_grab_font_from_bitmap.argtypes = [c_void_p, c_int, c_void_p] al_hide_mouse_cursor = liballegro_audio["al_hide_mouse_cursor"] al_hide_mouse_cursor.restype = c_bool al_hide_mouse_cursor.argtypes = [] al_identity_transform = liballegro_primitives["al_identity_transform"] al_identity_transform.restype = c_int al_identity_transform.argtypes = [c_void_p] al_inhibit_screensaver = liballegro_audio["al_inhibit_screensaver"] al_inhibit_screensaver.restype = c_bool al_inhibit_screensaver.argtypes = [c_bool] al_init_flac_addon = liballegro_flac["al_init_flac_addon"] al_init_flac_addon.restype = c_bool al_init_flac_addon.argtypes = [] al_init_font_addon = liballegro_font["al_init_font_addon"] al_init_font_addon.restype = c_int al_init_font_addon.argtypes = [] al_init_image_addon = liballegro_font["al_init_image_addon"] al_init_image_addon.restype = c_bool al_init_image_addon.argtypes = [] al_init_ogg_vorbis_addon = liballegro_vorbis["al_init_ogg_vorbis_addon"] al_init_ogg_vorbis_addon.restype = c_bool al_init_ogg_vorbis_addon.argtypes = [] al_init_timeout = liballegro_audio["al_init_timeout"] al_init_timeout.restype = c_int al_init_timeout.argtypes = [c_void_p, c_double] al_init_ttf_addon = liballegro_ttf["al_init_ttf_addon"] al_init_ttf_addon.restype = c_bool al_init_ttf_addon.argtypes = [] al_init_user_event_source = liballegro_audio["al_init_user_event_source"] al_init_user_event_source.restype = c_int al_init_user_event_source.argtypes = [c_void_p] al_insert_path_component = liballegro_audio["al_insert_path_component"] al_insert_path_component.restype = c_int al_insert_path_component.argtypes = [c_void_p, c_int, c_void_p] al_install_audio = liballegro_audio["al_install_audio"] al_install_audio.restype = c_bool al_install_audio.argtypes = [c_int] al_install_joystick = liballegro_audio["al_install_joystick"] al_install_joystick.restype = c_bool al_install_joystick.argtypes = [] al_install_keyboard = liballegro_audio["al_install_keyboard"] al_install_keyboard.restype = c_bool al_install_keyboard.argtypes = [] al_install_mouse = liballegro_audio["al_install_mouse"] al_install_mouse.restype = c_bool al_install_mouse.argtypes = [] al_install_system = liballegro_audio["al_install_system"] al_install_system.restype = c_bool al_install_system.argtypes = [c_void_p] al_install_timer = liballegro_audio["al_install_timer"] al_install_timer.restype = c_void_p al_install_timer.argtypes = [c_double] al_invert_transform = liballegro_primitives["al_invert_transform"] al_invert_transform.restype = c_int al_invert_transform.argtypes = [c_void_p] al_is_bitmap_locked = liballegro_audio["al_is_bitmap_locked"] al_is_bitmap_locked.restype = c_bool al_is_bitmap_locked.argtypes = [c_void_p] al_is_compatible_bitmap = liballegro_audio["al_is_compatible_bitmap"] al_is_compatible_bitmap.restype = c_bool al_is_compatible_bitmap.argtypes = [c_void_p] al_is_keyboard_installed = liballegro_audio["al_is_keyboard_installed"] al_is_keyboard_installed.restype = c_bool al_is_keyboard_installed.argtypes = [] al_is_mouse_installed = liballegro_audio["al_is_mouse_installed"] al_is_mouse_installed.restype = c_bool al_is_mouse_installed.argtypes = [] al_is_opengl_extension_supported = liballegro_audio["al_is_opengl_extension_supported"] al_is_opengl_extension_supported.restype = c_int al_is_opengl_extension_supported.argtypes = [c_void_p] al_is_path_present = liballegro_audio["al_is_path_present"] al_is_path_present.restype = c_bool al_is_path_present.argtypes = [c_void_p] al_is_sub_bitmap = liballegro_audio["al_is_sub_bitmap"] al_is_sub_bitmap.restype = c_bool al_is_sub_bitmap.argtypes = [c_void_p] al_itofix = liballegro_audio["al_itofix"] al_itofix.restype = c_int al_itofix.argtypes = [c_int] al_join_paths = liballegro_audio["al_join_paths"] al_join_paths.restype = c_bool al_join_paths.argtypes = [c_void_p, c_void_p] al_join_thread = liballegro_audio["al_join_thread"] al_join_thread.restype = c_int al_join_thread.argtypes = [c_void_p, c_void_p] al_key_down = liballegro_audio["al_key_down"] al_key_down.restype = c_bool al_key_down.argtypes = [c_void_p, c_int] al_keycode_to_name = liballegro_audio["al_keycode_to_name"] al_keycode_to_name.restype = c_void_p al_keycode_to_name.argtypes = [c_int] al_load_audio_stream = liballegro_audio["al_load_audio_stream"] al_load_audio_stream.restype = c_void_p al_load_audio_stream.argtypes = [c_void_p, c_ulong, c_uint] al_load_audio_stream_flac = liballegro_flac["al_load_audio_stream_flac"] al_load_audio_stream_flac.restype = c_void_p al_load_audio_stream_flac.argtypes = [c_void_p, c_ulong, c_uint] al_load_audio_stream_ogg_vorbis = liballegro_vorbis["al_load_audio_stream_ogg_vorbis"] al_load_audio_stream_ogg_vorbis.restype = c_void_p al_load_audio_stream_ogg_vorbis.argtypes = [c_void_p, c_ulong, c_uint] al_load_audio_stream_wav = liballegro_audio["al_load_audio_stream_wav"] al_load_audio_stream_wav.restype = c_void_p al_load_audio_stream_wav.argtypes = [c_void_p, c_ulong, c_uint] al_load_bitmap = liballegro_font["al_load_bitmap"] al_load_bitmap.restype = c_void_p al_load_bitmap.argtypes = [c_void_p] al_load_bitmap_font = liballegro_font["al_load_bitmap_font"] al_load_bitmap_font.restype = c_void_p al_load_bitmap_font.argtypes = [c_void_p] al_load_bitmap_stream = liballegro_font["al_load_bitmap_stream"] al_load_bitmap_stream.restype = c_void_p al_load_bitmap_stream.argtypes = [c_void_p, c_void_p] al_load_bmp = liballegro_font["al_load_bmp"] al_load_bmp.restype = c_void_p al_load_bmp.argtypes = [c_void_p] al_load_config_file = liballegro_audio["al_load_config_file"] al_load_config_file.restype = c_void_p al_load_config_file.argtypes = [c_void_p] al_load_font = liballegro_font["al_load_font"] al_load_font.restype = c_void_p al_load_font.argtypes = [c_void_p, c_int, c_int] al_load_jpg = liballegro_font["al_load_jpg"] al_load_jpg.restype = c_void_p al_load_jpg.argtypes = [c_void_p] al_load_pcx = liballegro_font["al_load_pcx"] al_load_pcx.restype = c_void_p al_load_pcx.argtypes = [c_void_p] al_load_png = liballegro_font["al_load_png"] al_load_png.restype = c_void_p al_load_png.argtypes = [c_void_p] al_load_sample = liballegro_audio["al_load_sample"] al_load_sample.restype = c_void_p al_load_sample.argtypes = [c_void_p] al_load_sample_flac = liballegro_flac["al_load_sample_flac"] al_load_sample_flac.restype = c_void_p al_load_sample_flac.argtypes = [c_void_p] al_load_sample_ogg_vorbis = liballegro_vorbis["al_load_sample_ogg_vorbis"] al_load_sample_ogg_vorbis.restype = c_void_p al_load_sample_ogg_vorbis.argtypes = [c_void_p] al_load_sample_wav = liballegro_audio["al_load_sample_wav"] al_load_sample_wav.restype = c_void_p al_load_sample_wav.argtypes = [c_void_p] al_load_tga = liballegro_font["al_load_tga"] al_load_tga.restype = c_void_p al_load_tga.argtypes = [c_void_p] al_load_ttf_font = liballegro_ttf["al_load_ttf_font"] al_load_ttf_font.restype = c_void_p al_load_ttf_font.argtypes = [c_void_p, c_int, c_int] al_load_ttf_font_entry = liballegro_ttf["al_load_ttf_font_entry"] al_load_ttf_font_entry.restype = c_void_p al_load_ttf_font_entry.argtypes = [c_void_p, c_void_p, c_int, c_int] al_lock_bitmap = liballegro_audio["al_lock_bitmap"] al_lock_bitmap.restype = c_void_p al_lock_bitmap.argtypes = [c_void_p, c_int, c_int] al_lock_bitmap_region = liballegro_audio["al_lock_bitmap_region"] al_lock_bitmap_region.restype = c_void_p al_lock_bitmap_region.argtypes = [c_void_p, c_int, c_int, c_int, c_int, c_int, c_int] al_lock_mutex = liballegro_audio["al_lock_mutex"] al_lock_mutex.restype = c_int al_lock_mutex.argtypes = [c_void_p] al_make_directory = liballegro_audio["al_make_directory"] al_make_directory.restype = c_bool al_make_directory.argtypes = [c_void_p] al_make_path_absolute = liballegro_audio["al_make_path_absolute"] al_make_path_absolute.restype = c_bool al_make_path_absolute.argtypes = [c_void_p] al_make_path_canonical = liballegro_audio["al_make_path_canonical"] al_make_path_canonical.restype = c_bool al_make_path_canonical.argtypes = [c_void_p] al_make_temp_file = liballegro_audio["al_make_temp_file"] al_make_temp_file.restype = c_void_p al_make_temp_file.argtypes = [c_void_p, c_void_p] al_map_rgb = liballegro_audio["al_map_rgb"] al_map_rgb.restype = ALLEGRO_COLOR al_map_rgb.argtypes = [c_ubyte, c_ubyte, c_ubyte] al_map_rgb_f = liballegro_audio["al_map_rgb_f"] al_map_rgb_f.restype = ALLEGRO_COLOR al_map_rgb_f.argtypes = [c_float, c_float, c_float] al_map_rgba = liballegro_audio["al_map_rgba"] al_map_rgba.restype = ALLEGRO_COLOR al_map_rgba.argtypes = [c_ubyte, c_ubyte, c_ubyte, c_ubyte] al_map_rgba_f = liballegro_audio["al_map_rgba_f"] al_map_rgba_f.restype = ALLEGRO_COLOR al_map_rgba_f.argtypes = [c_float, c_float, c_float, c_float] al_merge_config = liballegro_audio["al_merge_config"] al_merge_config.restype = c_void_p al_merge_config.argtypes = [c_void_p, c_void_p] al_merge_config_into = liballegro_audio["al_merge_config_into"] al_merge_config_into.restype = c_int al_merge_config_into.argtypes = [c_void_p, c_void_p] al_mouse_button_down = liballegro_audio["al_mouse_button_down"] al_mouse_button_down.restype = c_bool al_mouse_button_down.argtypes = [c_void_p, c_int] al_open_directory = liballegro_audio["al_open_directory"] al_open_directory.restype = c_bool al_open_directory.argtypes = [c_void_p] al_path_cstr = liballegro_audio["al_path_cstr"] al_path_cstr.restype = c_void_p al_path_cstr.argtypes = [c_void_p, c_byte] al_peek_next_event = liballegro_audio["al_peek_next_event"] al_peek_next_event.restype = c_bool al_peek_next_event.argtypes = [c_void_p, c_void_p] al_play_sample = liballegro_audio["al_play_sample"] al_play_sample.restype = c_bool al_play_sample.argtypes = [c_void_p, c_float, c_float, c_float, c_int, c_void_p] al_play_sample_instance = liballegro_audio["al_play_sample_instance"] al_play_sample_instance.restype = c_bool al_play_sample_instance.argtypes = [c_void_p] al_put_pixel = liballegro_audio["al_put_pixel"] al_put_pixel.restype = c_int al_put_pixel.argtypes = [c_int, c_int, ALLEGRO_COLOR] al_read_directory = liballegro_audio["al_read_directory"] al_read_directory.restype = c_void_p al_read_directory.argtypes = [c_void_p] al_ref_buffer = liballegro_audio["al_ref_buffer"] al_ref_buffer.restype = c_void_p al_ref_buffer.argtypes = [c_void_p, c_void_p, c_ulong] al_ref_cstr = liballegro_audio["al_ref_cstr"] al_ref_cstr.restype = c_void_p al_ref_cstr.argtypes = [c_void_p, c_void_p] al_ref_ustr = liballegro_audio["al_ref_ustr"] al_ref_ustr.restype = c_void_p al_ref_ustr.argtypes = [c_void_p, c_void_p, c_int, c_int] al_register_audio_stream_loader = liballegro_audio["al_register_audio_stream_loader"] al_register_audio_stream_loader.restype = c_bool al_register_audio_stream_loader.argtypes = [c_void_p, c_void_p] al_register_bitmap_loader = liballegro_font["al_register_bitmap_loader"] al_register_bitmap_loader.restype = c_bool al_register_bitmap_loader.argtypes = [c_void_p, c_void_p] al_register_bitmap_loader_stream = liballegro_font["al_register_bitmap_loader_stream"] al_register_bitmap_loader_stream.restype = c_bool al_register_bitmap_loader_stream.argtypes = [c_void_p, c_void_p] al_register_bitmap_saver = liballegro_font["al_register_bitmap_saver"] al_register_bitmap_saver.restype = c_bool al_register_bitmap_saver.argtypes = [c_void_p, c_void_p] al_register_bitmap_saver_stream = liballegro_font["al_register_bitmap_saver_stream"] al_register_bitmap_saver_stream.restype = c_bool al_register_bitmap_saver_stream.argtypes = [c_void_p, c_void_p] al_register_event_source = liballegro_audio["al_register_event_source"] al_register_event_source.restype = c_int al_register_event_source.argtypes = [c_void_p, c_void_p] al_register_font_loader = liballegro_font["al_register_font_loader"] al_register_font_loader.restype = c_bool al_register_font_loader.argtypes = [c_void_p, c_void_p] al_register_sample_loader = liballegro_audio["al_register_sample_loader"] al_register_sample_loader.restype = c_bool al_register_sample_loader.argtypes = [c_void_p, c_void_p] al_register_sample_saver = liballegro_audio["al_register_sample_saver"] al_register_sample_saver.restype = c_bool al_register_sample_saver.argtypes = [c_void_p, c_void_p] al_release_joystick = liballegro_audio["al_release_joystick"] al_release_joystick.restype = c_int al_release_joystick.argtypes = [c_void_p] al_remove_filename = liballegro_audio["al_remove_filename"] al_remove_filename.restype = c_bool al_remove_filename.argtypes = [c_void_p] al_remove_fs_entry = liballegro_audio["al_remove_fs_entry"] al_remove_fs_entry.restype = c_bool al_remove_fs_entry.argtypes = [c_void_p] al_remove_opengl_fbo = liballegro_audio["al_remove_opengl_fbo"] al_remove_opengl_fbo.restype = c_int al_remove_opengl_fbo.argtypes = [c_void_p] al_remove_path_component = liballegro_audio["al_remove_path_component"] al_remove_path_component.restype = c_int al_remove_path_component.argtypes = [c_void_p, c_int] al_replace_path_component = liballegro_audio["al_replace_path_component"] al_replace_path_component.restype = c_int al_replace_path_component.argtypes = [c_void_p, c_int, c_void_p] al_reserve_samples = liballegro_audio["al_reserve_samples"] al_reserve_samples.restype = c_bool al_reserve_samples.argtypes = [c_int] al_reset_new_display_options = liballegro_audio["al_reset_new_display_options"] al_reset_new_display_options.restype = c_int al_reset_new_display_options.argtypes = [] al_resize_display = liballegro_audio["al_resize_display"] al_resize_display.restype = c_bool al_resize_display.argtypes = [c_int, c_int] al_rest = liballegro_audio["al_rest"] al_rest.restype = c_int al_rest.argtypes = [c_double] al_restore_default_mixer = liballegro_audio["al_restore_default_mixer"] al_restore_default_mixer.restype = c_bool al_restore_default_mixer.argtypes = [] al_restore_state = liballegro_audio["al_restore_state"] al_restore_state.restype = c_int al_restore_state.argtypes = [c_void_p] al_rewind_audio_stream = liballegro_audio["al_rewind_audio_stream"] al_rewind_audio_stream.restype = c_bool al_rewind_audio_stream.argtypes = [c_void_p] al_rotate_transform = liballegro_primitives["al_rotate_transform"] al_rotate_transform.restype = c_int al_rotate_transform.argtypes = [c_void_p, c_float] al_run_detached_thread = liballegro_audio["al_run_detached_thread"] al_run_detached_thread.restype = c_int al_run_detached_thread.argtypes = [c_void_p, c_void_p] al_save_bitmap = liballegro_font["al_save_bitmap"] al_save_bitmap.restype = c_bool al_save_bitmap.argtypes = [c_void_p, c_void_p] al_save_bitmap_stream = liballegro_font["al_save_bitmap_stream"] al_save_bitmap_stream.restype = c_bool al_save_bitmap_stream.argtypes = [c_void_p, c_void_p, c_void_p] al_save_bmp = liballegro_font["al_save_bmp"] al_save_bmp.restype = c_bool al_save_bmp.argtypes = [c_void_p, c_void_p] al_save_config_file = liballegro_audio["al_save_config_file"] al_save_config_file.restype = c_bool al_save_config_file.argtypes = [c_void_p, c_void_p] al_save_jpg = liballegro_font["al_save_jpg"] al_save_jpg.restype = c_bool al_save_jpg.argtypes = [c_void_p, c_void_p] al_save_pcx = liballegro_font["al_save_pcx"] al_save_pcx.restype = c_bool al_save_pcx.argtypes = [c_void_p, c_void_p] al_save_png = liballegro_font["al_save_png"] al_save_png.restype = c_bool al_save_png.argtypes = [c_void_p, c_void_p] al_save_sample = liballegro_audio["al_save_sample"] al_save_sample.restype = c_bool al_save_sample.argtypes = [c_void_p, c_void_p] al_save_sample_wav = liballegro_audio["al_save_sample_wav"] al_save_sample_wav.restype = c_bool al_save_sample_wav.argtypes = [c_void_p, c_void_p] al_save_sample_wav_pf = liballegro_audio["al_save_sample_wav_pf"] al_save_sample_wav_pf.restype = c_bool al_save_sample_wav_pf.argtypes = [c_void_p, c_void_p] al_save_tga = liballegro_font["al_save_tga"] al_save_tga.restype = c_bool al_save_tga.argtypes = [c_void_p, c_void_p] al_scale_transform = liballegro_primitives["al_scale_transform"] al_scale_transform.restype = c_int al_scale_transform.argtypes = [c_void_p, c_float, c_float] al_seek_audio_stream_secs = liballegro_audio["al_seek_audio_stream_secs"] al_seek_audio_stream_secs.restype = c_bool al_seek_audio_stream_secs.argtypes = [c_void_p, c_double] al_set_appname = liballegro_audio["al_set_appname"] al_set_appname.restype = c_int al_set_appname.argtypes = [c_void_p] al_set_audio_stream_fragment = liballegro_audio["al_set_audio_stream_fragment"] al_set_audio_stream_fragment.restype = c_bool al_set_audio_stream_fragment.argtypes = [c_void_p, c_void_p] al_set_audio_stream_gain = liballegro_audio["al_set_audio_stream_gain"] al_set_audio_stream_gain.restype = c_bool al_set_audio_stream_gain.argtypes = [c_void_p, c_float] al_set_audio_stream_loop_secs = liballegro_audio["al_set_audio_stream_loop_secs"] al_set_audio_stream_loop_secs.restype = c_bool al_set_audio_stream_loop_secs.argtypes = [c_void_p, c_double, c_double] al_set_audio_stream_pan = liballegro_audio["al_set_audio_stream_pan"] al_set_audio_stream_pan.restype = c_bool al_set_audio_stream_pan.argtypes = [c_void_p, c_float] al_set_audio_stream_playing = liballegro_audio["al_set_audio_stream_playing"] al_set_audio_stream_playing.restype = c_bool al_set_audio_stream_playing.argtypes = [c_void_p, c_bool] al_set_audio_stream_playmode = liballegro_audio["al_set_audio_stream_playmode"] al_set_audio_stream_playmode.restype = c_bool al_set_audio_stream_playmode.argtypes = [c_void_p, c_int] al_set_audio_stream_speed = liballegro_audio["al_set_audio_stream_speed"] al_set_audio_stream_speed.restype = c_bool al_set_audio_stream_speed.argtypes = [c_void_p, c_float] al_set_blender = liballegro_audio["al_set_blender"] al_set_blender.restype = c_int al_set_blender.argtypes = [c_int, c_int, ALLEGRO_COLOR] al_set_clipping_rectangle = liballegro_audio["al_set_clipping_rectangle"] al_set_clipping_rectangle.restype = c_int al_set_clipping_rectangle.argtypes = [c_int, c_int, c_int, c_int] al_set_config_value = liballegro_audio["al_set_config_value"] al_set_config_value.restype = c_int al_set_config_value.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p] al_set_current_display = liballegro_audio["al_set_current_display"] al_set_current_display.restype = c_bool al_set_current_display.argtypes = [c_void_p] al_set_current_video_adapter = liballegro_audio["al_set_current_video_adapter"] al_set_current_video_adapter.restype = c_int al_set_current_video_adapter.argtypes = [c_int] al_set_default_mixer = liballegro_audio["al_set_default_mixer"] al_set_default_mixer.restype = c_bool al_set_default_mixer.argtypes = [c_void_p] al_set_display_icon = liballegro_audio["al_set_display_icon"] al_set_display_icon.restype = c_int al_set_display_icon.argtypes = [c_void_p] al_set_errno = liballegro_audio["al_set_errno"] al_set_errno.restype = c_int al_set_errno.argtypes = [c_int] al_set_fs_interface = liballegro_audio["al_set_fs_interface"] al_set_fs_interface.restype = c_int al_set_fs_interface.argtypes = [c_void_p] al_set_keyboard_leds = liballegro_audio["al_set_keyboard_leds"] al_set_keyboard_leds.restype = c_bool al_set_keyboard_leds.argtypes = [c_int] al_set_memory_management_functions = liballegro_audio["al_set_memory_management_functions"] al_set_memory_management_functions.restype = c_int al_set_memory_management_functions.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p, c_void_p] al_set_mixer_frequency = liballegro_audio["al_set_mixer_frequency"] al_set_mixer_frequency.restype = c_bool al_set_mixer_frequency.argtypes = [c_void_p, c_ulong] al_set_mixer_playing = liballegro_audio["al_set_mixer_playing"] al_set_mixer_playing.restype = c_bool al_set_mixer_playing.argtypes = [c_void_p, c_bool] al_set_mixer_postprocess_callback = liballegro_audio["al_set_mixer_postprocess_callback"] al_set_mixer_postprocess_callback.restype = c_bool al_set_mixer_postprocess_callback.argtypes = [c_void_p, c_void_p, c_void_p] al_set_mixer_quality = liballegro_audio["al_set_mixer_quality"] al_set_mixer_quality.restype = c_bool al_set_mixer_quality.argtypes = [c_void_p, c_int] al_set_mouse_axis = liballegro_audio["al_set_mouse_axis"] al_set_mouse_axis.restype = c_bool al_set_mouse_axis.argtypes = [c_int, c_int] al_set_mouse_cursor = liballegro_audio["al_set_mouse_cursor"] al_set_mouse_cursor.restype = c_bool al_set_mouse_cursor.argtypes = [c_void_p] al_set_mouse_range = liballegro_audio["al_set_mouse_range"] al_set_mouse_range.restype = c_bool al_set_mouse_range.argtypes = [c_int, c_int, c_int, c_int] al_set_mouse_w = liballegro_audio["al_set_mouse_w"] al_set_mouse_w.restype = c_bool al_set_mouse_w.argtypes = [c_int] al_set_mouse_xy = liballegro_audio["al_set_mouse_xy"] al_set_mouse_xy.restype = c_bool al_set_mouse_xy.argtypes = [c_int, c_int] al_set_mouse_z = liballegro_audio["al_set_mouse_z"] al_set_mouse_z.restype = c_bool al_set_mouse_z.argtypes = [c_int] al_set_new_bitmap_flags = liballegro_audio["al_set_new_bitmap_flags"] al_set_new_bitmap_flags.restype = c_int al_set_new_bitmap_flags.argtypes = [c_int] al_set_new_bitmap_format = liballegro_audio["al_set_new_bitmap_format"] al_set_new_bitmap_format.restype = c_int al_set_new_bitmap_format.argtypes = [c_int] al_set_new_display_flags = liballegro_audio["al_set_new_display_flags"] al_set_new_display_flags.restype = c_int al_set_new_display_flags.argtypes = [c_int] al_set_new_display_format = liballegro_audio["al_set_new_display_format"] al_set_new_display_format.restype = c_int al_set_new_display_format.argtypes = [c_int] al_set_new_display_option = liballegro_audio["al_set_new_display_option"] al_set_new_display_option.restype = c_int al_set_new_display_option.argtypes = [c_int, c_int, c_int] al_set_new_display_refresh_rate = liballegro_audio["al_set_new_display_refresh_rate"] al_set_new_display_refresh_rate.restype = c_int al_set_new_display_refresh_rate.argtypes = [c_int] al_set_new_file_interface = liballegro_audio["al_set_new_file_interface"] al_set_new_file_interface.restype = c_int al_set_new_file_interface.argtypes = [c_void_p] al_set_new_window_position = liballegro_audio["al_set_new_window_position"] al_set_new_window_position.restype = c_int al_set_new_window_position.argtypes = [c_int, c_int] al_set_orgname = liballegro_audio["al_set_orgname"] al_set_orgname.restype = c_int al_set_orgname.argtypes = [c_void_p] al_set_path_drive = liballegro_audio["al_set_path_drive"] al_set_path_drive.restype = c_int al_set_path_drive.argtypes = [c_void_p, c_void_p] al_set_path_extension = liballegro_audio["al_set_path_extension"] al_set_path_extension.restype = c_bool al_set_path_extension.argtypes = [c_void_p, c_void_p] al_set_path_filename = liballegro_audio["al_set_path_filename"] al_set_path_filename.restype = c_int al_set_path_filename.argtypes = [c_void_p, c_void_p] al_set_sample = liballegro_audio["al_set_sample"] al_set_sample.restype = c_bool al_set_sample.argtypes = [c_void_p, c_void_p] al_set_sample_instance_gain = liballegro_audio["al_set_sample_instance_gain"] al_set_sample_instance_gain.restype = c_bool al_set_sample_instance_gain.argtypes = [c_void_p, c_float] al_set_sample_instance_length = liballegro_audio["al_set_sample_instance_length"] al_set_sample_instance_length.restype = c_bool al_set_sample_instance_length.argtypes = [c_void_p, c_ulong] al_set_sample_instance_pan = liballegro_audio["al_set_sample_instance_pan"] al_set_sample_instance_pan.restype = c_bool al_set_sample_instance_pan.argtypes = [c_void_p, c_float] al_set_sample_instance_playing = liballegro_audio["al_set_sample_instance_playing"] al_set_sample_instance_playing.restype = c_bool al_set_sample_instance_playing.argtypes = [c_void_p, c_bool] al_set_sample_instance_playmode = liballegro_audio["al_set_sample_instance_playmode"] al_set_sample_instance_playmode.restype = c_bool al_set_sample_instance_playmode.argtypes = [c_void_p, c_int] al_set_sample_instance_position = liballegro_audio["al_set_sample_instance_position"] al_set_sample_instance_position.restype = c_bool al_set_sample_instance_position.argtypes = [c_void_p, c_ulong] al_set_sample_instance_speed = liballegro_audio["al_set_sample_instance_speed"] al_set_sample_instance_speed.restype = c_bool al_set_sample_instance_speed.argtypes = [c_void_p, c_float] al_set_separate_blender = liballegro_audio["al_set_separate_blender"] al_set_separate_blender.restype = c_int al_set_separate_blender.argtypes = [c_int, c_int, c_int, c_int, ALLEGRO_COLOR] al_set_standard_file_interface = liballegro_audio["al_set_standard_file_interface"] al_set_standard_file_interface.restype = c_int al_set_standard_file_interface.argtypes = [] al_set_standard_fs_interface = liballegro_audio["al_set_standard_fs_interface"] al_set_standard_fs_interface.restype = c_int al_set_standard_fs_interface.argtypes = [] al_set_system_mouse_cursor = liballegro_audio["al_set_system_mouse_cursor"] al_set_system_mouse_cursor.restype = c_bool al_set_system_mouse_cursor.argtypes = [c_int] al_set_target_bitmap = liballegro_audio["al_set_target_bitmap"] al_set_target_bitmap.restype = c_int al_set_target_bitmap.argtypes = [c_void_p] al_set_thread_should_stop = liballegro_audio["al_set_thread_should_stop"] al_set_thread_should_stop.restype = c_int al_set_thread_should_stop.argtypes = [c_void_p] al_set_timer_count = liballegro_audio["al_set_timer_count"] al_set_timer_count.restype = c_int al_set_timer_count.argtypes = [c_void_p, c_long] al_set_timer_speed = liballegro_audio["al_set_timer_speed"] al_set_timer_speed.restype = c_int al_set_timer_speed.argtypes = [c_void_p, c_double] al_set_voice_playing = liballegro_audio["al_set_voice_playing"] al_set_voice_playing.restype = c_bool al_set_voice_playing.argtypes = [c_void_p, c_bool] al_set_voice_position = liballegro_audio["al_set_voice_position"] al_set_voice_position.restype = c_bool al_set_voice_position.argtypes = [c_void_p, c_ulong] al_set_window_position = liballegro_audio["al_set_window_position"] al_set_window_position.restype = c_int al_set_window_position.argtypes = [c_void_p, c_int, c_int] al_set_window_title = liballegro_audio["al_set_window_title"] al_set_window_title.restype = c_int al_set_window_title.argtypes = [c_void_p] al_show_mouse_cursor = liballegro_audio["al_show_mouse_cursor"] al_show_mouse_cursor.restype = c_bool al_show_mouse_cursor.argtypes = [] al_show_native_file_dialog = liballegro_dialog["al_show_native_file_dialog"] al_show_native_file_dialog.restype = c_int al_show_native_file_dialog.argtypes = [c_void_p] al_show_native_message_box = liballegro_dialog["al_show_native_message_box"] al_show_native_message_box.restype = c_int al_show_native_message_box.argtypes = [c_void_p, c_void_p, c_void_p, c_void_p, c_int] al_shutdown_font_addon = liballegro_font["al_shutdown_font_addon"] al_shutdown_font_addon.restype = c_int al_shutdown_font_addon.argtypes = [] al_shutdown_image_addon = liballegro_font["al_shutdown_image_addon"] al_shutdown_image_addon.restype = c_int al_shutdown_image_addon.argtypes = [] al_signal_cond = liballegro_audio["al_signal_cond"] al_signal_cond.restype = c_int al_signal_cond.argtypes = [c_void_p] al_start_thread = liballegro_audio["al_start_thread"] al_start_thread.restype = c_int al_start_thread.argtypes = [c_void_p] al_start_timer = liballegro_audio["al_start_timer"] al_start_timer.restype = c_int al_start_timer.argtypes = [c_void_p] al_stop_sample = liballegro_audio["al_stop_sample"] al_stop_sample.restype = c_int al_stop_sample.argtypes = [c_void_p] al_stop_sample_instance = liballegro_audio["al_stop_sample_instance"] al_stop_sample_instance.restype = c_bool al_stop_sample_instance.argtypes = [c_void_p] al_stop_samples = liballegro_audio["al_stop_samples"] al_stop_samples.restype = c_int al_stop_samples.argtypes = [] al_stop_timer = liballegro_audio["al_stop_timer"] al_stop_timer.restype = c_int al_stop_timer.argtypes = [c_void_p] al_store_state = liballegro_audio["al_store_state"] al_store_state.restype = c_int al_store_state.argtypes = [c_void_p, c_int] al_timer_is_started = liballegro_audio["al_timer_is_started"] al_timer_is_started.restype = c_bool al_timer_is_started.argtypes = [c_void_p] al_toggle_window_frame = liballegro_audio["al_toggle_window_frame"] al_toggle_window_frame.restype = c_int al_toggle_window_frame.argtypes = [c_void_p, c_bool] al_transform_transform = liballegro_primitives["al_transform_transform"] al_transform_transform.restype = c_int al_transform_transform.argtypes = [c_void_p, c_void_p] al_transform_vertex = liballegro_primitives["al_transform_vertex"] al_transform_vertex.restype = c_int al_transform_vertex.argtypes = [c_void_p, c_void_p] al_translate_transform = liballegro_primitives["al_translate_transform"] al_translate_transform.restype = c_int al_translate_transform.argtypes = [c_void_p, c_float, c_float] al_uninstall_audio = liballegro_audio["al_uninstall_audio"] al_uninstall_audio.restype = c_int al_uninstall_audio.argtypes = [] al_uninstall_joystick = liballegro_audio["al_uninstall_joystick"] al_uninstall_joystick.restype = c_int al_uninstall_joystick.argtypes = [] al_uninstall_keyboard = liballegro_audio["al_uninstall_keyboard"] al_uninstall_keyboard.restype = c_int al_uninstall_keyboard.argtypes = [] al_uninstall_mouse = liballegro_audio["al_uninstall_mouse"] al_uninstall_mouse.restype = c_int al_uninstall_mouse.argtypes = [] al_uninstall_system = liballegro_audio["al_uninstall_system"] al_uninstall_system.restype = c_int al_uninstall_system.argtypes = [] al_uninstall_timer = liballegro_audio["al_uninstall_timer"] al_uninstall_timer.restype = c_int al_uninstall_timer.argtypes = [c_void_p] al_unlock_bitmap = liballegro_audio["al_unlock_bitmap"] al_unlock_bitmap.restype = c_int al_unlock_bitmap.argtypes = [c_void_p] al_unlock_mutex = liballegro_audio["al_unlock_mutex"] al_unlock_mutex.restype = c_int al_unlock_mutex.argtypes = [c_void_p] al_unmap_rgb = liballegro_audio["al_unmap_rgb"] al_unmap_rgb.restype = c_int al_unmap_rgb.argtypes = [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p] al_unmap_rgb_f = liballegro_audio["al_unmap_rgb_f"] al_unmap_rgb_f.restype = c_int al_unmap_rgb_f.argtypes = [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p] al_unmap_rgba = liballegro_audio["al_unmap_rgba"] al_unmap_rgba.restype = c_int al_unmap_rgba.argtypes = [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p, c_void_p] al_unmap_rgba_f = liballegro_audio["al_unmap_rgba_f"] al_unmap_rgba_f.restype = c_int al_unmap_rgba_f.argtypes = [ALLEGRO_COLOR, c_void_p, c_void_p, c_void_p, c_void_p] al_unref_user_event = liballegro_audio["al_unref_user_event"] al_unref_user_event.restype = c_int al_unref_user_event.argtypes = [c_void_p] al_unregister_event_source = liballegro_audio["al_unregister_event_source"] al_unregister_event_source.restype = c_int al_unregister_event_source.argtypes = [c_void_p, c_void_p] al_update_display_region = liballegro_audio["al_update_display_region"] al_update_display_region.restype = c_int al_update_display_region.argtypes = [c_int, c_int, c_int, c_int] al_update_fs_entry = liballegro_audio["al_update_fs_entry"] al_update_fs_entry.restype = c_bool al_update_fs_entry.argtypes = [c_void_p] al_use_transform = liballegro_primitives["al_use_transform"] al_use_transform.restype = c_int al_use_transform.argtypes = [c_void_p] al_ustr_append = liballegro_audio["al_ustr_append"] al_ustr_append.restype = c_bool al_ustr_append.argtypes = [c_void_p, c_void_p] al_ustr_append_chr = liballegro_audio["al_ustr_append_chr"] al_ustr_append_chr.restype = c_ulong al_ustr_append_chr.argtypes = [c_void_p, c_int] al_ustr_append_cstr = liballegro_audio["al_ustr_append_cstr"] al_ustr_append_cstr.restype = c_bool al_ustr_append_cstr.argtypes = [c_void_p, c_void_p] al_ustr_appendf = liballegro_audio["al_ustr_appendf"] al_ustr_appendf.restype = c_bool al_ustr_appendf.argtypes = [c_void_p, c_void_p] al_ustr_assign = liballegro_audio["al_ustr_assign"] al_ustr_assign.restype = c_bool al_ustr_assign.argtypes = [c_void_p, c_void_p] al_ustr_assign_cstr = liballegro_audio["al_ustr_assign_cstr"] al_ustr_assign_cstr.restype = c_bool al_ustr_assign_cstr.argtypes = [c_void_p, c_void_p] al_ustr_assign_substr = liballegro_audio["al_ustr_assign_substr"] al_ustr_assign_substr.restype = c_bool al_ustr_assign_substr.argtypes = [c_void_p, c_void_p, c_int, c_int] al_ustr_compare = liballegro_audio["al_ustr_compare"] al_ustr_compare.restype = c_int al_ustr_compare.argtypes = [c_void_p, c_void_p] al_ustr_dup = liballegro_audio["al_ustr_dup"] al_ustr_dup.restype = c_void_p al_ustr_dup.argtypes = [c_void_p] al_ustr_dup_substr = liballegro_audio["al_ustr_dup_substr"] al_ustr_dup_substr.restype = c_void_p al_ustr_dup_substr.argtypes = [c_void_p, c_int, c_int] al_ustr_empty_string = liballegro_audio["al_ustr_empty_string"] al_ustr_empty_string.restype = c_void_p al_ustr_empty_string.argtypes = [] al_ustr_encode_utf16 = liballegro_audio["al_ustr_encode_utf16"] al_ustr_encode_utf16.restype = c_ulong al_ustr_encode_utf16.argtypes = [c_void_p, c_void_p, c_ulong] al_ustr_equal = liballegro_audio["al_ustr_equal"] al_ustr_equal.restype = c_bool al_ustr_equal.argtypes = [c_void_p, c_void_p] al_ustr_find_chr = liballegro_audio["al_ustr_find_chr"] al_ustr_find_chr.restype = c_int al_ustr_find_chr.argtypes = [c_void_p, c_int, c_int] al_ustr_find_cset = liballegro_audio["al_ustr_find_cset"] al_ustr_find_cset.restype = c_int al_ustr_find_cset.argtypes = [c_void_p, c_int, c_void_p] al_ustr_find_cset_cstr = liballegro_audio["al_ustr_find_cset_cstr"] al_ustr_find_cset_cstr.restype = c_int al_ustr_find_cset_cstr.argtypes = [c_void_p, c_int, c_void_p] al_ustr_find_cstr = liballegro_audio["al_ustr_find_cstr"] al_ustr_find_cstr.restype = c_int al_ustr_find_cstr.argtypes = [c_void_p, c_int, c_void_p] al_ustr_find_replace = liballegro_audio["al_ustr_find_replace"] al_ustr_find_replace.restype = c_bool al_ustr_find_replace.argtypes = [c_void_p, c_int, c_void_p, c_void_p] al_ustr_find_replace_cstr = liballegro_audio["al_ustr_find_replace_cstr"] al_ustr_find_replace_cstr.restype = c_bool al_ustr_find_replace_cstr.argtypes = [c_void_p, c_int, c_void_p, c_void_p] al_ustr_find_set = liballegro_audio["al_ustr_find_set"] al_ustr_find_set.restype = c_int al_ustr_find_set.argtypes = [c_void_p, c_int, c_void_p] al_ustr_find_set_cstr = liballegro_audio["al_ustr_find_set_cstr"] al_ustr_find_set_cstr.restype = c_int al_ustr_find_set_cstr.argtypes = [c_void_p, c_int, c_void_p] al_ustr_find_str = liballegro_audio["al_ustr_find_str"] al_ustr_find_str.restype = c_int al_ustr_find_str.argtypes = [c_void_p, c_int, c_void_p] al_ustr_free = liballegro_audio["al_ustr_free"] al_ustr_free.restype = c_int al_ustr_free.argtypes = [c_void_p] al_ustr_get = liballegro_audio["al_ustr_get"] al_ustr_get.restype = c_int al_ustr_get.argtypes = [c_void_p, c_int] al_ustr_get_next = liballegro_audio["al_ustr_get_next"] al_ustr_get_next.restype = c_int al_ustr_get_next.argtypes = [c_void_p, c_void_p] al_ustr_has_prefix = liballegro_audio["al_ustr_has_prefix"] al_ustr_has_prefix.restype = c_bool al_ustr_has_prefix.argtypes = [c_void_p, c_void_p] al_ustr_has_prefix_cstr = liballegro_audio["al_ustr_has_prefix_cstr"] al_ustr_has_prefix_cstr.restype = c_bool al_ustr_has_prefix_cstr.argtypes = [c_void_p, c_void_p] al_ustr_has_suffix = liballegro_audio["al_ustr_has_suffix"] al_ustr_has_suffix.restype = c_bool al_ustr_has_suffix.argtypes = [c_void_p, c_void_p] al_ustr_has_suffix_cstr = liballegro_audio["al_ustr_has_suffix_cstr"] al_ustr_has_suffix_cstr.restype = c_bool al_ustr_has_suffix_cstr.argtypes = [c_void_p, c_void_p] al_ustr_insert = liballegro_audio["al_ustr_insert"] al_ustr_insert.restype = c_bool al_ustr_insert.argtypes = [c_void_p, c_int, c_void_p] al_ustr_insert_chr = liballegro_audio["al_ustr_insert_chr"] al_ustr_insert_chr.restype = c_ulong al_ustr_insert_chr.argtypes = [c_void_p, c_int, c_int] al_ustr_insert_cstr = liballegro_audio["al_ustr_insert_cstr"] al_ustr_insert_cstr.restype = c_bool al_ustr_insert_cstr.argtypes = [c_void_p, c_int, c_void_p] al_ustr_length = liballegro_audio["al_ustr_length"] al_ustr_length.restype = c_ulong al_ustr_length.argtypes = [c_void_p] al_ustr_ltrim_ws = liballegro_audio["al_ustr_ltrim_ws"] al_ustr_ltrim_ws.restype = c_bool al_ustr_ltrim_ws.argtypes = [c_void_p] al_ustr_ncompare = liballegro_audio["al_ustr_ncompare"] al_ustr_ncompare.restype = c_int al_ustr_ncompare.argtypes = [c_void_p, c_void_p, c_int] al_ustr_new = liballegro_audio["al_ustr_new"] al_ustr_new.restype = c_void_p al_ustr_new.argtypes = [c_void_p] al_ustr_new_from_buffer = liballegro_audio["al_ustr_new_from_buffer"] al_ustr_new_from_buffer.restype = c_void_p al_ustr_new_from_buffer.argtypes = [c_void_p, c_ulong] al_ustr_new_from_utf16 = liballegro_audio["al_ustr_new_from_utf16"] al_ustr_new_from_utf16.restype = c_void_p al_ustr_new_from_utf16.argtypes = [c_void_p] al_ustr_newf = liballegro_audio["al_ustr_newf"] al_ustr_newf.restype = c_void_p al_ustr_newf.argtypes = [c_void_p] al_ustr_next = liballegro_audio["al_ustr_next"] al_ustr_next.restype = c_bool al_ustr_next.argtypes = [c_void_p, c_void_p] al_ustr_offset = liballegro_audio["al_ustr_offset"] al_ustr_offset.restype = c_int al_ustr_offset.argtypes = [c_void_p, c_int] al_ustr_prev = liballegro_audio["al_ustr_prev"] al_ustr_prev.restype = c_bool al_ustr_prev.argtypes = [c_void_p, c_void_p] al_ustr_prev_get = liballegro_audio["al_ustr_prev_get"] al_ustr_prev_get.restype = c_int al_ustr_prev_get.argtypes = [c_void_p, c_void_p] al_ustr_remove_chr = liballegro_audio["al_ustr_remove_chr"] al_ustr_remove_chr.restype = c_bool al_ustr_remove_chr.argtypes = [c_void_p, c_int] al_ustr_remove_range = liballegro_audio["al_ustr_remove_range"] al_ustr_remove_range.restype = c_bool al_ustr_remove_range.argtypes = [c_void_p, c_int, c_int] al_ustr_replace_range = liballegro_audio["al_ustr_replace_range"] al_ustr_replace_range.restype = c_bool al_ustr_replace_range.argtypes = [c_void_p, c_int, c_int, c_void_p] al_ustr_rfind_chr = liballegro_audio["al_ustr_rfind_chr"] al_ustr_rfind_chr.restype = c_int al_ustr_rfind_chr.argtypes = [c_void_p, c_int, c_int] al_ustr_rfind_cstr = liballegro_audio["al_ustr_rfind_cstr"] al_ustr_rfind_cstr.restype = c_int al_ustr_rfind_cstr.argtypes = [c_void_p, c_int, c_void_p] al_ustr_rfind_str = liballegro_audio["al_ustr_rfind_str"] al_ustr_rfind_str.restype = c_int al_ustr_rfind_str.argtypes = [c_void_p, c_int, c_void_p] al_ustr_rtrim_ws = liballegro_audio["al_ustr_rtrim_ws"] al_ustr_rtrim_ws.restype = c_bool al_ustr_rtrim_ws.argtypes = [c_void_p] al_ustr_set_chr = liballegro_audio["al_ustr_set_chr"] al_ustr_set_chr.restype = c_ulong al_ustr_set_chr.argtypes = [c_void_p, c_int, c_int] al_ustr_size = liballegro_audio["al_ustr_size"] al_ustr_size.restype = c_ulong al_ustr_size.argtypes = [c_void_p] al_ustr_size_utf16 = liballegro_audio["al_ustr_size_utf16"] al_ustr_size_utf16.restype = c_ulong al_ustr_size_utf16.argtypes = [c_void_p] al_ustr_to_buffer = liballegro_audio["al_ustr_to_buffer"] al_ustr_to_buffer.restype = c_int al_ustr_to_buffer.argtypes = [c_void_p, c_void_p, c_int] al_ustr_trim_ws = liballegro_audio["al_ustr_trim_ws"] al_ustr_trim_ws.restype = c_bool al_ustr_trim_ws.argtypes = [c_void_p] al_ustr_truncate = liballegro_audio["al_ustr_truncate"] al_ustr_truncate.restype = c_bool al_ustr_truncate.argtypes = [c_void_p, c_int] al_ustr_vappendf = liballegro_audio["al_ustr_vappendf"] al_ustr_vappendf.restype = c_bool al_ustr_vappendf.argtypes = [c_void_p, c_void_p, c_void_p] al_utf16_encode = liballegro_audio["al_utf16_encode"] al_utf16_encode.restype = c_ulong al_utf16_encode.argtypes = [c_void_p, c_int] al_utf16_width = liballegro_audio["al_utf16_width"] al_utf16_width.restype = c_ulong al_utf16_width.argtypes = [c_int] al_utf8_encode = liballegro_audio["al_utf8_encode"] al_utf8_encode.restype = c_ulong al_utf8_encode.argtypes = [c_void_p, c_int] al_utf8_width = liballegro_audio["al_utf8_width"] al_utf8_width.restype = c_ulong al_utf8_width.argtypes = [c_int] al_wait_cond = liballegro_audio["al_wait_cond"] al_wait_cond.restype = c_int al_wait_cond.argtypes = [c_void_p, c_void_p] al_wait_cond_timed = liballegro_audio["al_wait_cond_timed"] al_wait_cond_timed.restype = c_int al_wait_cond_timed.argtypes = [c_void_p, c_void_p, c_void_p] al_wait_for_event = liballegro_audio["al_wait_for_event"] al_wait_for_event.restype = c_int al_wait_for_event.argtypes = [c_void_p, c_void_p] al_wait_for_event_timed = liballegro_audio["al_wait_for_event_timed"] al_wait_for_event_timed.restype = c_bool al_wait_for_event_timed.argtypes = [c_void_p, c_void_p, c_float] al_wait_for_event_until = liballegro_audio["al_wait_for_event_until"] al_wait_for_event_until.restype = c_bool al_wait_for_event_until.argtypes = [c_void_p, c_void_p, c_void_p] al_wait_for_vsync = liballegro_audio["al_wait_for_vsync"] al_wait_for_vsync.restype = c_bool al_wait_for_vsync.argtypes = [] ALLEGRO_ACC_ALPHA_SIZE = 11 ALLEGRO_ACC_BLUE_SIZE = 10 ALLEGRO_ACC_GREEN_SIZE = 9 ALLEGRO_ACC_RED_SIZE = 8 ALLEGRO_ALIGN_CENTRE = 1 ALLEGRO_ALIGN_LEFT = 0 ALLEGRO_ALIGN_RIGHT = 2 ALLEGRO_ALPHA = 2 ALLEGRO_ALPHA_SHIFT = 7 ALLEGRO_ALPHA_SIZE = 3 ALLEGRO_AUDIO_DEPTH_FLOAT32 = 3 ALLEGRO_AUDIO_DEPTH_INT16 = 1 ALLEGRO_AUDIO_DEPTH_INT24 = 2 ALLEGRO_AUDIO_DEPTH_INT8 = 0 ALLEGRO_AUDIO_DEPTH_UINT16 = 9 ALLEGRO_AUDIO_DEPTH_UINT24 = 10 ALLEGRO_AUDIO_DEPTH_UINT8 = 8 ALLEGRO_AUDIO_DEPTH_UNSIGNED = 8 ALLEGRO_AUDIO_DRIVER_ALSA = 131074 ALLEGRO_AUDIO_DRIVER_AQUEUE = 131077 ALLEGRO_AUDIO_DRIVER_AUTODETECT = 131072 ALLEGRO_AUDIO_DRIVER_DSOUND = 131075 ALLEGRO_AUDIO_DRIVER_OPENAL = 131073 ALLEGRO_AUDIO_DRIVER_OSS = 131076 ALLEGRO_AUX_BUFFERS = 13 ALLEGRO_BLUE_SHIFT = 6 ALLEGRO_BLUE_SIZE = 2 ALLEGRO_CHANNEL_CONF_1 = 16 ALLEGRO_CHANNEL_CONF_2 = 32 ALLEGRO_CHANNEL_CONF_3 = 48 ALLEGRO_CHANNEL_CONF_4 = 64 ALLEGRO_CHANNEL_CONF_5_1 = 81 ALLEGRO_CHANNEL_CONF_6_1 = 97 ALLEGRO_CHANNEL_CONF_7_1 = 113 ALLEGRO_COLOR_SIZE = 14 ALLEGRO_COMPATIBLE_DISPLAY = 24 ALLEGRO_DEPTH_SIZE = 15 ALLEGRO_DISPLAY_OPTIONS_COUNT = 27 ALLEGRO_DONTCARE = 0 ALLEGRO_EVENT_DISPLAY_CLOSE = 42 ALLEGRO_EVENT_DISPLAY_EXPOSE = 40 ALLEGRO_EVENT_DISPLAY_FOUND = 44 ALLEGRO_EVENT_DISPLAY_LOST = 43 ALLEGRO_EVENT_DISPLAY_RESIZE = 41 ALLEGRO_EVENT_DISPLAY_SWITCH_IN = 45 ALLEGRO_EVENT_DISPLAY_SWITCH_OUT = 46 ALLEGRO_EVENT_JOYSTICK_AXIS = 1 ALLEGRO_EVENT_JOYSTICK_BUTTON_DOWN = 2 ALLEGRO_EVENT_JOYSTICK_BUTTON_UP = 3 ALLEGRO_EVENT_KEY_DOWN = 10 ALLEGRO_EVENT_KEY_REPEAT = 11 ALLEGRO_EVENT_KEY_UP = 12 ALLEGRO_EVENT_MOUSE_AXES = 20 ALLEGRO_EVENT_MOUSE_BUTTON_DOWN = 21 ALLEGRO_EVENT_MOUSE_BUTTON_UP = 22 ALLEGRO_EVENT_MOUSE_ENTER_DISPLAY = 23 ALLEGRO_EVENT_MOUSE_LEAVE_DISPLAY = 24 ALLEGRO_EVENT_MOUSE_WARPED = 25 ALLEGRO_EVENT_TIMER = 30 ALLEGRO_EXENAME_PATH = 7 ALLEGRO_FILEMODE_EXECUTE = 4 ALLEGRO_FILEMODE_HIDDEN = 8 ALLEGRO_FILEMODE_ISDIR = 32 ALLEGRO_FILEMODE_ISFILE = 16 ALLEGRO_FILEMODE_READ = 1 ALLEGRO_FILEMODE_WRITE = 2 ALLEGRO_FLOAT_COLOR = 20 ALLEGRO_FLOAT_DEPTH = 21 ALLEGRO_GREEN_SHIFT = 5 ALLEGRO_GREEN_SIZE = 1 ALLEGRO_INVERSE_ALPHA = 3 ALLEGRO_JOYFLAG_ANALOGUE = 2 ALLEGRO_JOYFLAG_DIGITAL = 1 ALLEGRO_KEYMOD_ACCENT1 = 4096 ALLEGRO_KEYMOD_ACCENT2 = 8192 ALLEGRO_KEYMOD_ACCENT3 = 16384 ALLEGRO_KEYMOD_ACCENT4 = 32768 ALLEGRO_KEYMOD_ALT = 4 ALLEGRO_KEYMOD_ALTGR = 64 ALLEGRO_KEYMOD_CAPSLOCK = 1024 ALLEGRO_KEYMOD_COMMAND = 128 ALLEGRO_KEYMOD_CTRL = 2 ALLEGRO_KEYMOD_INALTSEQ = 2048 ALLEGRO_KEYMOD_LWIN = 8 ALLEGRO_KEYMOD_MENU = 32 ALLEGRO_KEYMOD_NUMLOCK = 512 ALLEGRO_KEYMOD_RWIN = 16 ALLEGRO_KEYMOD_SCROLLLOCK = 256 ALLEGRO_KEYMOD_SHIFT = 1 ALLEGRO_KEY_0 = 27 ALLEGRO_KEY_1 = 28 ALLEGRO_KEY_2 = 29 ALLEGRO_KEY_3 = 30 ALLEGRO_KEY_4 = 31 ALLEGRO_KEY_5 = 32 ALLEGRO_KEY_6 = 33 ALLEGRO_KEY_7 = 34 ALLEGRO_KEY_8 = 35 ALLEGRO_KEY_9 = 36 ALLEGRO_KEY_A = 1 ALLEGRO_KEY_ABNT_C1 = 94 ALLEGRO_KEY_ALT = 219 ALLEGRO_KEY_ALTGR = 220 ALLEGRO_KEY_AT = 99 ALLEGRO_KEY_B = 2 ALLEGRO_KEY_BACKQUOTE = 104 ALLEGRO_KEY_BACKSLASH = 70 ALLEGRO_KEY_BACKSLASH2 = 71 ALLEGRO_KEY_BACKSPACE = 63 ALLEGRO_KEY_C = 3 ALLEGRO_KEY_CAPSLOCK = 226 ALLEGRO_KEY_CIRCUMFLEX = 100 ALLEGRO_KEY_CLOSEBRACE = 66 ALLEGRO_KEY_COLON2 = 101 ALLEGRO_KEY_COMMA = 72 ALLEGRO_KEY_COMMAND = 106 ALLEGRO_KEY_CONVERT = 97 ALLEGRO_KEY_D = 4 ALLEGRO_KEY_DELETE = 77 ALLEGRO_KEY_DOWN = 85 ALLEGRO_KEY_E = 5 ALLEGRO_KEY_END = 79 ALLEGRO_KEY_ENTER = 67 ALLEGRO_KEY_EQUALS = 62 ALLEGRO_KEY_EQUALS_PAD = 103 ALLEGRO_KEY_ESCAPE = 59 ALLEGRO_KEY_F = 6 ALLEGRO_KEY_F1 = 47 ALLEGRO_KEY_F10 = 56 ALLEGRO_KEY_F11 = 57 ALLEGRO_KEY_F12 = 58 ALLEGRO_KEY_F2 = 48 ALLEGRO_KEY_F3 = 49 ALLEGRO_KEY_F4 = 50 ALLEGRO_KEY_F5 = 51 ALLEGRO_KEY_F6 = 52 ALLEGRO_KEY_F7 = 53 ALLEGRO_KEY_F8 = 54 ALLEGRO_KEY_F9 = 55 ALLEGRO_KEY_FULLSTOP = 73 ALLEGRO_KEY_G = 7 ALLEGRO_KEY_H = 8 ALLEGRO_KEY_HOME = 78 ALLEGRO_KEY_I = 9 ALLEGRO_KEY_INSERT = 76 ALLEGRO_KEY_J = 10 ALLEGRO_KEY_K = 11 ALLEGRO_KEY_KANA = 96 ALLEGRO_KEY_KANJI = 102 ALLEGRO_KEY_L = 12 ALLEGRO_KEY_LCTRL = 217 ALLEGRO_KEY_LEFT = 82 ALLEGRO_KEY_LSHIFT = 215 ALLEGRO_KEY_LWIN = 221 ALLEGRO_KEY_M = 13 ALLEGRO_KEY_MAX = 227 ALLEGRO_KEY_MENU = 223 ALLEGRO_KEY_MINUS = 61 ALLEGRO_KEY_MODIFIERS = 215 ALLEGRO_KEY_N = 14 ALLEGRO_KEY_NOCONVERT = 98 ALLEGRO_KEY_NUMLOCK = 225 ALLEGRO_KEY_O = 15 ALLEGRO_KEY_OPENBRACE = 65 ALLEGRO_KEY_P = 16 ALLEGRO_KEY_PAD_0 = 37 ALLEGRO_KEY_PAD_1 = 38 ALLEGRO_KEY_PAD_2 = 39 ALLEGRO_KEY_PAD_3 = 40 ALLEGRO_KEY_PAD_4 = 41 ALLEGRO_KEY_PAD_5 = 42 ALLEGRO_KEY_PAD_6 = 43 ALLEGRO_KEY_PAD_7 = 44 ALLEGRO_KEY_PAD_8 = 45 ALLEGRO_KEY_PAD_9 = 46 ALLEGRO_KEY_PAD_ASTERISK = 87 ALLEGRO_KEY_PAD_DELETE = 90 ALLEGRO_KEY_PAD_ENTER = 91 ALLEGRO_KEY_PAD_MINUS = 88 ALLEGRO_KEY_PAD_PLUS = 89 ALLEGRO_KEY_PAD_SLASH = 86 ALLEGRO_KEY_PAUSE = 93 ALLEGRO_KEY_PGDN = 81 ALLEGRO_KEY_PGUP = 80 ALLEGRO_KEY_PRINTSCREEN = 92 ALLEGRO_KEY_Q = 17 ALLEGRO_KEY_QUOTE = 69 ALLEGRO_KEY_R = 18 ALLEGRO_KEY_RCTRL = 218 ALLEGRO_KEY_RIGHT = 83 ALLEGRO_KEY_RSHIFT = 216 ALLEGRO_KEY_RWIN = 222 ALLEGRO_KEY_S = 19 ALLEGRO_KEY_SCROLLLOCK = 224 ALLEGRO_KEY_SEMICOLON = 68 ALLEGRO_KEY_SEMICOLON2 = 105 ALLEGRO_KEY_SLASH = 74 ALLEGRO_KEY_SPACE = 75 ALLEGRO_KEY_T = 20 ALLEGRO_KEY_TAB = 64 ALLEGRO_KEY_TILDE = 60 ALLEGRO_KEY_U = 21 ALLEGRO_KEY_UNKNOWN = 107 ALLEGRO_KEY_UP = 84 ALLEGRO_KEY_V = 22 ALLEGRO_KEY_W = 23 ALLEGRO_KEY_X = 24 ALLEGRO_KEY_Y = 25 ALLEGRO_KEY_YEN = 95 ALLEGRO_KEY_Z = 26 ALLEGRO_LAST_PATH = 8 ALLEGRO_MIXER_QUALITY_LINEAR = 273 ALLEGRO_MIXER_QUALITY_POINT = 272 ALLEGRO_NUM_PIXEL_FORMATS = 27 ALLEGRO_NUM_SYSTEM_MOUSE_CURSORS = 20 ALLEGRO_ONE = 1 ALLEGRO_PIXEL_FORMAT_ABGR_8888 = 17 ALLEGRO_PIXEL_FORMAT_ABGR_8888_LE = 25 ALLEGRO_PIXEL_FORMAT_ABGR_F32 = 24 ALLEGRO_PIXEL_FORMAT_ANY = 0 ALLEGRO_PIXEL_FORMAT_ANY_15_NO_ALPHA = 3 ALLEGRO_PIXEL_FORMAT_ANY_16_NO_ALPHA = 4 ALLEGRO_PIXEL_FORMAT_ANY_16_WITH_ALPHA = 5 ALLEGRO_PIXEL_FORMAT_ANY_24_NO_ALPHA = 6 ALLEGRO_PIXEL_FORMAT_ANY_32_NO_ALPHA = 7 ALLEGRO_PIXEL_FORMAT_ANY_32_WITH_ALPHA = 8 ALLEGRO_PIXEL_FORMAT_ANY_NO_ALPHA = 1 ALLEGRO_PIXEL_FORMAT_ANY_WITH_ALPHA = 2 ALLEGRO_PIXEL_FORMAT_ARGB_1555 = 16 ALLEGRO_PIXEL_FORMAT_ARGB_4444 = 11 ALLEGRO_PIXEL_FORMAT_ARGB_8888 = 9 ALLEGRO_PIXEL_FORMAT_BGR_555 = 21 ALLEGRO_PIXEL_FORMAT_BGR_565 = 20 ALLEGRO_PIXEL_FORMAT_BGR_888 = 19 ALLEGRO_PIXEL_FORMAT_RGBA_4444 = 26 ALLEGRO_PIXEL_FORMAT_RGBA_5551 = 15 ALLEGRO_PIXEL_FORMAT_RGBA_8888 = 10 ALLEGRO_PIXEL_FORMAT_RGBX_8888 = 22 ALLEGRO_PIXEL_FORMAT_RGB_555 = 14 ALLEGRO_PIXEL_FORMAT_RGB_565 = 13 ALLEGRO_PIXEL_FORMAT_RGB_888 = 12 ALLEGRO_PIXEL_FORMAT_XBGR_8888 = 18 ALLEGRO_PIXEL_FORMAT_XRGB_8888 = 23 ALLEGRO_PLAYMODE_BIDIR = 258 ALLEGRO_PLAYMODE_LOOP = 257 ALLEGRO_PLAYMODE_ONCE = 256 ALLEGRO_PRIM_ATTR_NUM = 5 ALLEGRO_PRIM_COLOR_ATTR = 2 ALLEGRO_PRIM_FLOAT_2 = 0 ALLEGRO_PRIM_FLOAT_3 = 1 ALLEGRO_PRIM_LINE_LIST = 0 ALLEGRO_PRIM_LINE_LOOP = 2 ALLEGRO_PRIM_LINE_STRIP = 1 ALLEGRO_PRIM_NUM_TYPES = 6 ALLEGRO_PRIM_POSITION = 1 ALLEGRO_PRIM_SHORT_2 = 2 ALLEGRO_PRIM_TEX_COORD = 3 ALLEGRO_PRIM_TEX_COORD_PIXEL = 4 ALLEGRO_PRIM_TRIANGLE_FAN = 5 ALLEGRO_PRIM_TRIANGLE_LIST = 3 ALLEGRO_PRIM_TRIANGLE_STRIP = 4 ALLEGRO_PROGRAM_PATH = 0 ALLEGRO_RED_SHIFT = 4 ALLEGRO_RED_SIZE = 0 ALLEGRO_RENDER_METHOD = 19 ALLEGRO_REQUIRE = 1 ALLEGRO_SAMPLES = 18 ALLEGRO_SAMPLE_BUFFERS = 17 ALLEGRO_SEEK_CUR = 1 ALLEGRO_SEEK_END = 2 ALLEGRO_SEEK_SET = 0 ALLEGRO_SINGLE_BUFFER = 22 ALLEGRO_STATE_ALL = 65535 ALLEGRO_STATE_BITMAP = 10 ALLEGRO_STATE_BLENDER = 16 ALLEGRO_STATE_DISPLAY = 4 ALLEGRO_STATE_NEW_BITMAP_PARAMETERS = 2 ALLEGRO_STATE_NEW_DISPLAY_PARAMETERS = 1 ALLEGRO_STATE_NEW_FILE_INTERFACE = 32 ALLEGRO_STATE_TARGET_BITMAP = 8 ALLEGRO_STENCIL_SIZE = 16 ALLEGRO_STEREO = 12 ALLEGRO_SUGGEST = 2 ALLEGRO_SWAP_METHOD = 23 ALLEGRO_SYSTEM_DATA_PATH = 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_ALT_SELECT = 18 ALLEGRO_SYSTEM_MOUSE_CURSOR_ARROW = 2 ALLEGRO_SYSTEM_MOUSE_CURSOR_BUSY = 3 ALLEGRO_SYSTEM_MOUSE_CURSOR_DEFAULT = 1 ALLEGRO_SYSTEM_MOUSE_CURSOR_EDIT = 5 ALLEGRO_SYSTEM_MOUSE_CURSOR_LINK = 17 ALLEGRO_SYSTEM_MOUSE_CURSOR_MOVE = 6 ALLEGRO_SYSTEM_MOUSE_CURSOR_NONE = 0 ALLEGRO_SYSTEM_MOUSE_CURSOR_PRECISION = 16 ALLEGRO_SYSTEM_MOUSE_CURSOR_PROGRESS = 15 ALLEGRO_SYSTEM_MOUSE_CURSOR_QUESTION = 4 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_E = 10 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_N = 7 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NE = 14 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_NW = 11 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_S = 9 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SE = 13 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_SW = 12 ALLEGRO_SYSTEM_MOUSE_CURSOR_RESIZE_W = 8 ALLEGRO_SYSTEM_MOUSE_CURSOR_UNAVAILABLE = 19 ALLEGRO_SYSTEM_SETTINGS_PATH = 6 ALLEGRO_TEMP_PATH = 1 ALLEGRO_UPDATE_DISPLAY_REGION = 25 ALLEGRO_USER_DATA_PATH = 3 ALLEGRO_USER_HOME_PATH = 4 ALLEGRO_USER_SETTINGS_PATH = 5 ALLEGRO_VSYNC = 26 ALLEGRO_ZERO = 0 _ALLEGRO_PLAYMODE_STREAM_ONCE = 259 _ALLEGRO_PLAYMODE_STREAM_ONEDIR = 260

</highlightSyntax>