cpp dx9 game