All pastes #752610 Raw Edit

Stuff

public text v1 · immutable
#752610 ·published 2007-10-28 15:47 UTC
rendered paste body
/******************************************\
                 game.cpp

      Part of the AruaRose game client
       Designed and Coded by Brett LV
\******************************************/

#include "game.h"

haError32 gameWindow::Init( )
{
	ha3d::GetSingleton( )->Init( GetHwnd( ) );
	ha3d::GetSingleton( )->SetMode( haFalse );

	return haSuccess;
};

haBool32 gameWindow::Frame( )
{
	ha3d::GetSingleton( )->Clear( 0, 255, 0, 255 );
	ha3d::GetSingleton( )->StartFrame( );

	// render shit here

	ha3d::GetSingleton( )->EndFrame( );

	return haTrue;
};