mirror of
https://github.com/thug1src/thug.git
synced 2025-01-21 21:33:46 +00:00
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
///////////////////////////////////////////////////////////////////////////////
|
|
// 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
|