Allegro A game programming library
Allegro is a game programming library for C/C++ developers distributed freely, supporting the following platforms: DOS, Unix (Linux, FreeBSD, Irix, Solaris, Darwin), Windows, QNX, BeOS and MacOS X. It provides many functions for graphics, sounds, player input (keyboard, mouse and joystick) and timers. It also provides fixed and floating point mathematical functions, 3d functions, file management functions, compressed datafile and a GUI. Read more details on the introductory page.

News

2007-10-29 - Allegro 4.2.3.1 released!

This is a minor update to allow Allegro 4.2.3 to compile on Mac OS X 10.6. There are no other changes.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-10-12 - Allegro 4.9.15.1 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. See the changes since the last release.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2007-10-04 - Allegro 4.2.3 released!

This is an bug fix release for Allegro 4.2. Here is a list of the principal changes since version 4.2.2:

  • Fix fnstsw compile bug with newer binutils.
  • Trent Gamblin made a small change to the Windows mouse driver to add support for touchscreens (at least 1 of them).
  • Peter De Wachter made the ALSA driver work for hardware which does not support unsigned samples.
  • Matthew Leverton fixed a problem with filename encoding and the SYSTEM_NONE driver. Added set_filename_encoding(), get_filename_encoding().
  • Milan Mimica made the MinGW and MSVC makefiles add the suffix "_c" onto non-asm builds, and clarified that user programs linking against the non-asm libraries must also defined ALLEGRO_USE_C. Mixing calling conventions causes segfaults when functions are inlined.
  • AJ added detection for SSSE3, SSE4.1 and SSE4.2
  • David A. Capello made key_shifts work properly on Windows for Control, Alt, and Shift.
  • Clarified that set_config_file() does not search for the given config file in other locations, as Allegro does with allegro.cfg at initialization.
  • Fixed buffer overflow in exgui.
  • Fixed problems with newer versions of autoconf.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-09-13 - Allegro 4.9.14 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. See the changes since the last release.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-08-09 - Allegro 4.9.13 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. See the changes since the last release.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-07-05 - Allegro 4.9.12 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. See the changes since the last release.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-06-07 - Allegro 4.9.11 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. See the changes since the last release.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-05-04 - Allegro 4.9.10.1 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. See the changes since the last release.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-03-25 - Allegro 4.9.9.1 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. Here is a summary of the changes since version 4.9.9:

  • Made it compile and work with MSVC and MinGW 3.4.5.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-03-23 - Allegro 4.9.9 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. See the changes since version 4.9.8.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2009-02-09 - Allegro 4.9.8 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. Here is a summary of the changes since version 4.9.7.1:

  • Rationalised file system hook functions.
  • Added many path functions.
  • Added a UTF-8 string API.
  • Added an al_get_opengl_texture() convenience function.
  • Added separate alpha blending.
  • Added ALLEGRO_PIXEL_FORMAT_ANY.
  • Support ALLEGRO_EVENT_MOUSE_ENTER/LEAVE_DISPLAY events in Windows.
  • Added a primitives addon.
  • Added a colors addon.
  • Revamped kcm_audio interface.
  • Added native .wav support and save sample routines to acodec addon.
  • Added memory file addon and example.
  • Added al_ttf_get_text_dimensions() function.
  • Allow specifying the font size more precisely in TTF addon.
  • Added a new documentation system with lots of new documentation.
  • Many bug fixes.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2008-12-09 - Allegro 4.9.7.1 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. Here is a summary of the changes since version 4.9.6:

  • Made al_create_display() respect al_set_new_window_position() on OS X.
  • Properly implemented fullscreen resize in WGL.
  • Made the memory blenders work the same as the hardware ones.
  • Added al_inhibit_screensaver() for X and Mac OS X.
  • Made mouse cursor show/hide work with Mac OS X full screen.
  • Preserve comment and empty lines in config files when writing.
  • Add a simple interface layer for kcm_audio.
  • An optimisation for the TTF addon.
  • Many bug fixes.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

2nd of November, 2008 - Allegro 4.9.6 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. Here is a summary of the changes since version 4.9.5:

  • Added filesystem hook (fshook) and path API functions.
  • Added function to inhibit screen saver (currently Windows only).
  • Added support for injecting user-defined events into event queues.
  • Added al_config_create().
  • Added more OpenGL extensions.
  • Many bug fixes.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

1st of October, 2008 - Allegro 4.9.5 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. Here is a summary of the changes since version 4.9.4:

  • Many bug fixes all around.
  • Added fullscreen support on Mac OS X.
  • Added support for resizable windows on Mac OS X.
  • Implemented sprite flipping for OpenGL drivers.
  • Implemented system mouse cursors on MacOS X.
  • Improvements to streaming support in audio addon.
  • Added gain support to ALLEGRO_STREAM and ALLEGRO_SAMPLE objects.
  • Added JPEG support to iio addon, using libjpeg.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

10th of September, 2008 - Allegro 4.9.4 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. Here is a summary of the changes since version 4.9.3:

  • Many bug fixes all around.
  • Multihead support on Windows.
  • Borderless windows, setting window positions and titles.
  • Added EXPOSE, SWITCH_IN and SWITCH_OUT display events.
  • Added a threads API.
  • Added a basic configuration API.
  • Added image loader addons.
  • Added TTF addon.
  • Further work on the audio API.
  • More examples.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

27th of April, 2008 - Allegro 4.9.3 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. Here is a summary of the changes since version 4.9.2:

  • A lot of work on the OpenGL drivers and graphics in general.
  • Added an OpenGL graphics driver for Mac OS X.
  • Improved font loading and drawing.
  • Added text output functions with explicit length arguments.
  • Added the start of a new audio API implementation, as an addon.
  • Changed timestamps throughout the API to doubles expressed in seconds.
  • Improved timer resolution on Windows.
  • Added a few new examples.
  • Some existing functions renamed or changed.
  • Many bug fixes and documentation updates.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

27th of January, 2008 - Allegro 4.9.2 released!

This is a Work-In-Progress (WIP) release for the future 5.0 branch. The previous releases on this branch were 4.3.0 and 4.3.1, but future releases will be 4.9.x. Here is a summary of the changes since version 4.3.1:

  • A lot of work towards a new graphics API.
  • Added a Direct3D driver for Windows.
  • Added an OpenGL driver for X11.
  • Added window resizing support.
  • Added a bitmap font addon.
  • AL_* renamed to ALLEGRO_*.
  • Moved all include files into an allegro5 directory.
  • Added some new examples for new API.
  • Added and updated NaturalDocs documentation for new API.
  • Build system fixes/changes.
  • Bug fixes and other changes.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.

20th of January, 2008 - Allegro 4.3.10 released!

This is a Work-In-Progress (WIP) release for the future 4.4 branch. This is similar to 4.2, except that it is bundled with some common addon libraries that can be built along with Allegro. (Note it is unrelated to the previous 4.3.0 and 4.3.1 releases.) Check the installation instructions for your system for more details! Please download the .zip or .7z archives for use on DOS/Windows and the .tar.gz for Unix-like systems (including Mac OS X).

  • Integrated the following addons into the Allegro build system: AllegroGL, loadpng, JPGalleg, logg.
  • Disabled support for asm mode on all platforms (previously the default for non-x86 architectures).
  • Added a draw_sprite_ex() function.
  • Added a new "skater" demo game.
  • Added detection for SSE3, SSE4.1 and SSE4.2.
  • Fixed a problem with filename encoding and the SYSTEM_NONE driver on Windows.
  • Fixed a bug in arc() function.
  • Fixed a problem on Windows where the NumLock, ScrollLock and CapsLock flags are not registered in the key_shifts flag until at least one key is pressed.
  • Other minor improvements.

Get this new version from the Download section. Please test it and report problems and incompatibilities to the mailing list or the SourceForge tracker.


Do you want to read older news? Then follow this link.