game: tweening class added

will be used for smooth animations
game: fix build error with recent gcc compilers