al_init
#define al_init() (al_install_system(ALLEGRO_VERSION_INT, atexit))
Introduced in 5.0.0
Like al_install_system, but automatically passes in the version and uses the atexit function visible in the current compilation unit.
See also: al_install_system
Examples: ex_acodec, ex_acodec_multi, ex_audio_props, ex_audio_simple, ex_bitmap, ex_bitmap_flip, ex_bitmap_target, ex_blend, ex_blend2, ex_blend_bench, ex_blend_test, ex_blit, ex_clip, ex_color, ex_config, ex_convert, ex_curl, ex_d3d, ex_dir, ex_disable_screensaver, ex_display_options, ex_draw, ex_drawpixels, ex_draw_bitmap, ex_dualies, ex_expose, ex_filter, ex_font, ex_font_justify, ex_fs_resize, ex_fs_window, ex_get_path, ex_gldepth, ex_glext, ex_gp2xwiz, ex_haiku, ex_icon, ex_iphone, ex_joystick_events, ex_joystick_hotplugging, ex_kcm_direct, ex_keyboard_events, ex_keyboard_focus, ex_lines, ex_lockbitmap, ex_logo, ex_membmp, ex_memfile, ex_mixer_chain, ex_mixer_pp, ex_monitorinfo, ex_mouse, ex_mouse_cursor, ex_mouse_events, ex_mouse_focus, ex_multisample, ex_multiwin, ex_native_filechooser, ex_nodisplay, ex_noframe, ex_ogre3d, ex_opengl, ex_opengl_pixel_shader, ex_path, ex_path_test, ex_physfs, ex_pixelformat, ex_premulalpha, ex_prim, ex_resize, ex_resize2, ex_rotate, ex_saw, ex_scale, ex_stream_file, ex_stream_seek, ex_subbitmap, ex_synth, ex_threads, ex_threads2, ex_timedwait, ex_timer, ex_transform, ex_ttf, ex_user_events, ex_utf8, ex_vsync, ex_warp_mouse, ex_windows, ex_winfull
Most helpful discussions:
- C++/CLI wrapper (1)
- new forum noob (1)
- Problem with function 'al_draw_text'
- Section of Code Lagging the Program
- Using Sine And Cosine For Rotation
- Time Intervals
- Shooting Ball From Rotating Bitmap
- Saving Bitmaps
- Problem with al_creat_bitmap
- A5 : timer issue
Other recent discussions:
- Mouse Click Inside Timer Function
- A5 Fullscreen Vs Windowed
- Convert *bitmap to char buffer
- al_load_bitmap question
- MOUSE question
- Mouse Activity Question
- Is using TTFs really that complicated?
- Having Trouble with exit(1) - Stalling Program
- My second game, space invader simplified
- Vivace extra points. Its there a better way of doing this one.