Restyling of roguelike.c, and added prototypes for functions.