Modified all cookbook example code to prevent ISO C90 compliance warnings occurring during compilation.
Added example showing how to move an actor in one of the three axes (x,y,z) in response to a button event on the actor.