/******************************************\ game.h Designed and Coded by Brett LV \******************************************/ #include "game.h" haBool32 gameWindow::Frame( ) { ha3d::GetSingleton( )->Clear( 0, 255, 0, 255 ); ha3d::GetSingleton( )->StartFrame( ); // render shit here ha3d::GetSingleton( )->EndFrame( ); return haTrue; }; game::game( HINSTANCE hInstance ) { m_Instance = hInstance; }; game::~game( ) { }; haError32 game::Run( ) { m_GameWnd.Create( m_Instance, "Test", 1024, 768 ); ha3d::GetSingleton( )->Init( m_GameWnd.GetHwnd( ) ); ha3d::GetSingleton( )->SetMode( haFalse ); m_GameWnd.Run( ); return haSuccess; };