Allegro

Allegro-4.4.2 on extras-devel for N900.

Allegro 4 and Allegro 5 are cross-platform, libraries mainly aimed at video game and multimedia programming. They handle common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.

http://www.allegro.cc/

TMO Discuss: http://talk.maemo.org/showthread.php?p=1050896

Discuss on Upstream http://www.allegro.cc/forums/thread/607818

[edit] Issues

  • In fullscreen Allegro grabs the keyboard

'Grabs' = system wide shortcuts e.g. ctrl+backspace nor screenshots with ctrl+shift+p are not working. And you can't even answer phone calls! These are working in windowed mode.

  • Sounds use too much processing power

Rename/remove file /usr/lib/allegro/4.4.2/alleg-alsadigi.so to disable sounds.

  • Fullscreen is not fullscreen. Window manager's top-panel is still visible, but not focusable. Check image:

Image:Allegro442maemo5fullscr.png

  • Can't start from menu icon if there are any other application running, because started application stay bottom than 'dashboard' -> nobody has focus. Check image: Vgolf (uses Allegro) is started from menu icon, but there were one running application (X Terminal) and then no application have focus!

Image:Allegro_from_menu.jpg There are couple of ways to survive this:

*ssh server already running on phone
*Open camera shutter and Allegro-app will get focus (if you close shutter, focus is lost again)