You are free to take a look at the example code as well as download the entire Code::Blocks project.
You'll need the following in order to compile this code:
Allegro 5 working binaries.
See it here: http://www.BuildAndGun.com
Create an account with GameDev.net and join the game development conversation on our forums, blogs, articles, and more!Sign me up!