Allegro 5 version of the examples in Andre Lamothe's Teach Yourself Game Programming in 21 Days.