directx (9) 3d game engine (just for study)