thug/Code/Gfx/XBox/p_nxscene.h

41 lines
1.1 KiB
C
Raw Permalink Normal View History

2016-02-13 21:39:12 +00:00
///////////////////////////////////////////////////////////////////////////////
// p_NxScene.h
#ifndef __GFX_P_NX_SCENE_H__
#define __GFX_P_NX_SCENE_H__
#include "Gfx/Nx.h"
#include "Gfx/xbox/nx/scene.h"
namespace Nx
{
/////////////////////////////////////////////////////////////////////////////////////
// Private classes
//
// Here's a machine specific implementation of the CScene
class CXboxScene : public CScene
{
public:
CXboxScene( int sector_table_size = 10 );
NxXbox::sScene * GetEngineScene() const { return mp_engine_scene; }
void SetEngineScene( NxXbox::sScene *p_scene ) { mp_engine_scene = p_scene; }
void DestroySectorMeshes( void );
private: // It's all private, as it is machine specific
virtual void plat_post_load();
virtual bool plat_load_textures( const char *p_name ); // load textures
virtual bool plat_load_collision( const char *p_name ); // load collision data
virtual bool plat_unload_add_scene( void );
virtual CSector * plat_create_sector(); // empty sector
NxXbox::sScene *mp_engine_scene;
};
} // Namespace Nx
#endif