compat: Add confine_float() function
keyb: Add function for obtaining pressed key modifiers
ship: Move constants to header file
ship: Add more controlling functions
game: Add simple function for controlling the player ship
ship: Make the ship bounce at the screen borders