Split roguelike.(c|h) into main.(c|h) and misc.(c|h).