Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro 5.1.0 released!

This thread is locked; no one can reply to it. rss feed Print
 1   2 
Allegro 5.1.0 released!
Peter Wang
Member #23
April 2000

{"name":"605120","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/7\/b7aef74c52c1cc43cb23bc7a5aa445b7.png","w":640,"h":351,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/b\/7\/b7aef74c52c1cc43cb23bc7a5aa445b7"}605120

http://sourceforge.net/projects/alleg/files/allegro-unstable/5.1.0/

Quote:

Changes from 5.0.x to 5.1.0 (November 2011)
===========================================

The main developers were: Michał Cichoń, Trent Gamblin, Matthew Leverton,
Elias Pschernig, Paul Suntsov, Peter Wang.

Core:

- Added al_register_assert_handler.

- Added API for registering callbacks to intercept window messages on Windows.

Graphics:

- Added bitmap conversion API: al_convert_bitmap, al_convert_bitmaps, with
bitmap flag ALLEGRO_CONVERT_BITMAP and display option
ALLEGRO_AUTO_CONVERT_BITMAPS. Automatic bitmap conversion is enabled by
default.

- Added al_draw_tinted_scaled_rotated_bitmap_region.

- Added new ALLEGRO_PIXEL_FORMAT_LUMINANCE_8 format.

- Added a new bitmap flag ALLEGRO_KEEP_INDEX.

- Separate bitmap loader flags from bitmap flags. This adds three functions:
al_load_bitmap_flags, al_load_bitmap_flags_f and al_load_bitmap_font_flags.

- Add ALLEGRO_SRC_COLOR, ALLEGRO_DST_COLOR blending modes (Jon Rafkind).

- Add ALLEGRO_INVERSE_SRC_COLOR and ALLEGRO_INVERSE_DST_COLOR blending modes.

- Made al_compose_transform do a full 3d multiply.

- Added al_get_current_inverse_transform, al_ortho_transform,
al_get_projection_transform, al_set_projection_transform.

- Added al_reset_clipping_rectangle convenience function.

- Added al_get_d3d_texture_size.

- Added al_d3d_set_release_callback and al_d3d_set_restore_callback for
release/restoring user d3d objects.

Displays:

- Added al_get_display_orientation.

- Added a new display option ALLEGRO_SUPPORTED_ORIENTATIONS to specify the
supported orientations (default is just portrait as before).

- Added al_change_display_option function, initially only for
ALLEGRO_SUPPORTED_ORIENTATIONS.

- Add two new display events (only implemented on iOS right now).
ALLEGRO_EVENT_DISPLAY_HALT_DRAWING tells the app to stop all drawing and
ALLEGRO_EVENT_DISPLAY_RESUME_DRAWING tells it it can start drawing again.
SWITCH_OUT/IN on iOS were redefined from "going into/out of background" to
"going active/inactive".

- Added the function al_acknowledge_drawing_halt.

- Added window size constraint functions (jmasterx).

Input:

- Add API related to touch input. The implementation covers iDevices and
Windows 7 drivers for touch input. A number of mouse emulation modes
are provided.

Events:

- Add al_pause_event_queue, al_is_event_queue_paused.

Filesystem:

- Added al_fopen_slice.

- Added al_set_exe_name which allows overriding Allegro's idea of the path
to the current executable.

Audio addon:

- Add mixer gain property and functions.

- Add a 'global' audio event source, generating some audio events from the
Audio Queues driver: AUDIO_ROUTE_CHANGE, AUDIO_INTERRUPTION,
AUDIO_END_INTERRUPTION.

Native dialogs addon:

- Add menus to native dialogs (Windows and GTK).

Primitives addon:

- Add simple polygon triangulator and polygon drawing routines.

- Added al_draw_polyline and al_draw_polyline_ex.

- Added al_draw_filled_pieslice and al_draw_pieslice.

- Added al_draw_elliptical_arc.

TTF addon:

- Added al_load_ttf_font_stretch functions (tobing).

Shader addon:

- Added a shader addon and programmable pipeline support.

Video addon:

- Added a video player addon, currently using ffmpeg.

iOS port:

- Added al_iphone_override_screen_scale, al_iphone_get_screen_scale,
al_iphone_set_statusbar_orientation, al_iphone_get_last_shake_time,
al_iphone_get_battery_level, al_iphone_get_window, al_iphone_get_view.

Examples:

- Added new example programs: ex_audio_chain, ex_loading_thread, ex_menu,
ex_palette, ex_polygon, ex_shader, ex_window_constraints, ex_video.

- Added skater demo ported from Allegro 4.4.

MD5SUMS:
5c4dc39e6f64e4ccc33acc58615399f1  allegro-5.1.0.7z
908776157b355acaa9b6bcf112692a87  allegro-5.1.0.tar.gz
c5d97f63d794150867cab7a47c53c85f  allegro-5.1.0.zip

P.S. if you like, please send doodles to accompany future releases to me.

Matthew Leverton
Supreme Loser
January 1999
avatar

To quote from the Allegro website:

Quote:

It contains provisional new features which are subject to change at any time.

We encourage users to test 5.1 releases and report bugs, but remember that they do not provide the stability of 5.0 releases.

Mark Oates
Member #1,146
March 2001
avatar

Beautiful stuff...

favorites include:

  • ALLEGRO_SRC_COLOR, ALLEGRO_DST_COLOR

  • ALLEGRO_INVERSE_SRC_COLOR and ALLEGRO_INVERSE_DST_COLOR

  • Added API for registering callbacks to intercept window messages on Windows

  • polygon triangulator

  • Added a shader addon

and ALLEGRO_VIDEO. That's tight.

Elias
Member #358
May 2000

Did you draw the WIP logo? I love it.

--
"Either help out or stop whining" - Evert

AMCerasoli
Member #11,955
May 2010
avatar

My favorites are:

  • al_convert_bitmap

  • API related to touch input

  • video player addon

I didn't know you can release an unstable version, though, I mean, wasn't already there? :-/

if you like, please send doodles to accompany future releases to me.

May be a 3D doodle? and should make reference to W.I.P API isn't?

Thomas Fjellstrom
Member #476
June 2000
avatar

I didn't know you can release an unstable version, though, I mean, wasn't already there?

We release unstable snapshots at semi-regular intervals to keep things moving along, and to get more testing.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

kenmasters1976
Member #8,794
July 2007

Thanks. Downloading.

I'm looking forward to test the video addon.

Peter Wang
Member #23
April 2000

May be a 3D doodle? and should make reference to W.I.P API isn't?

Sure, anything you like. I can't promise when the next release will be, it depends how much activity there is.

Mark Oates
Member #1,146
March 2001
avatar

Do we have names for the releases?

Peter Wang
Member #23
April 2000

No code names!

torhu
Member #2,727
September 2002
avatar

Allegro 5.1.0 "Weeping Alligator"

605099

Arthur Kalliokoski
Second in Command
February 2005
avatar

Crocodile tears?

“Throughout history, poverty is the normal condition of man. Advances which permit this norm to be exceeded — here and there, now and then — are the work of an extremely small minority, frequently despised, often condemned, and almost always opposed by all right-thinking people. Whenever this tiny minority is kept from creating, or (as sometimes happens) is driven out of a society, the people then slip back into abject poverty. This is known as "bad luck.”

― Robert A. Heinlein

jmasterx
Member #11,410
October 2009

Will there be Windows binaries available for those without the (ever growing) list of dependencies and CMAKE as 4.9.x had? I'm sure it would encourage more people to try and test it.

Elias
Member #358
May 2000

I think the only new dependencies are for the video addon - which probably should be left out of the Windows binaries anyway. Building the non-GPL version of ffmpeg can be quite an undertaking after all.

--
"Either help out or stop whining" - Evert

Peter Wang
Member #23
April 2000

The ffmpeg backend didn't work that well when I tested it, at least on higher resolution files. I didn't put any effort into fixing it because I'm hoping we can replace it with a Theora backend, with much simpler code.

AMCerasoli
Member #11,955
May 2010
avatar

I'm hoping we can replace it with a Theora backend, with much simpler code.

Amen.
------
FFmpeg it's cool too, but I think is too big, obviously you can compile it with the formats that you want (Theora included). I think it has it disadvantages and advantages, if someone wants to create a video editing tool, supporting only theora is not a good idea (working with just Ogg files?) , but I think if someone would like to create a video editing tool would have to go deeper than just ffmpeg anyway (I think :-/ ).

At the other hand, Theora is really cool for: streaming or HD, I have test it and it's really awesome, very competitive, and if you use it right, you can have a lot of video in a few Mb's. Allegro 5 is already using the ogg container for audio, so I think there would be a cleaner code (and lighter binaries).

Well... At leas that is what I think... :P

Neil Walker
Member #210
April 2000
avatar

Quote:

al_draw_tinted_scaled_rotated_bitmap_region

Just about covers every permutation I can think of, and who needs the decorator pattern when you have C ;)

Neil.
MAME Cabinet Blog / AXL LIBRARY (a games framework) / AXL Documentation and Tutorial

wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie

miran
Member #2,407
June 2002

jmasterx said:

encourage more people

Yes, but then they'll see things like this:

Quote:

al_draw_tinted_scaled_rotated_bitmap_region

And all the effort will be for nothing.

:P

--
sig used to be here

Mark Oates
Member #1,146
March 2001
avatar

miran said:

And all the effort will be for nothing.

{"name":"605129","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/c\/dcf1ef3cbe7d88b2dcb0223345dc984e.png","w":302,"h":240,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/d\/c\/dcf1ef3cbe7d88b2dcb0223345dc984e"}605129

Elias
Member #358
May 2000

very competitive

It will take roughly twice as many bits. For a game it probably doesn't matter, but I wouldn't call it competitive in any way - it's about at the level of mpeg2 (which is ancient). However there's also webm which seems to be rather competitive, except supposedly it's just a massive patent infringing copy&paste job from H264 :P

Still, personally, I'd use theora for all video right now since as I said for a game it shouldn't matter all that much.

--
"Either help out or stop whining" - Evert

AMCerasoli
Member #11,955
May 2010
avatar

Well, when I said competitive, I meant that it's free, and it's almost like a patented video codec. It's not better than other non-free codecs like h.264, but I think comparing it with h.263 is too cruel(depends), besides if I try to sell a game with the h.264 codec I may get into trouble. So for that reson I said it was competitive, I guess I should have used other words, though. HoHoHo!! ;D

But I don't know... As far as I can use Theora, I don't care whatever you use guys.

Thanks for all the work anyway!.

Arthur Kalliokoski
Second in Command
February 2005
avatar

Mark Oates, I demand you clean all the Pepsi(TM) off my keyboard. I'm waiting! >:(

“Throughout history, poverty is the normal condition of man. Advances which permit this norm to be exceeded — here and there, now and then — are the work of an extremely small minority, frequently despised, often condemned, and almost always opposed by all right-thinking people. Whenever this tiny minority is kept from creating, or (as sometimes happens) is driven out of a society, the people then slip back into abject poverty. This is known as "bad luck.”

― Robert A. Heinlein

Michał Cichoń
Member #11,736
March 2010

jmasterx said:

Will there be Windows binaries available for those without the (ever growing) list of dependencies and CMAKE as 4.9.x had? I'm sure it would encourage more people to try and test it.

There will be binaries for Windows once I figure out how to weak link some new dependencies (Cg.dll and D3DX mostly).

"God starts from scratch too"
Windows Allegro Build Repo: http://targonski.nazwa.pl/thedmd/allegro/

AMCerasoli
Member #11,955
May 2010
avatar

once I figure out how to weak link some new dependencies

Hey there, just in case you have the time... What do you mean with "weak link"?, I have never heard that term. :P

Michał Cichoń
Member #11,736
March 2010

In this very case I mean dynamic linking.

"God starts from scratch too"
Windows Allegro Build Repo: http://targonski.nazwa.pl/thedmd/allegro/

 1   2 


Go to: