arsa  2.7
IQ3LevelMesh.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_Q3_LEVEL_MESH_H_INCLUDED__
6 #define __I_Q3_LEVEL_MESH_H_INCLUDED__
7 
8 #include "IAnimatedMesh.h"
9 #include "IQ3Shader.h"
10 
11 namespace irr
12 {
13 namespace scene
14 {
16 
17  class IQ3LevelMesh : public IAnimatedMesh
18  {
19  public:
20 
22 
24  virtual const quake3::IShader* getShader( const c8* filename, bool fileNameIsValid=true ) = 0;
25 
27  virtual const quake3::IShader* getShader(u32 index) const = 0;
28 
30  virtual quake3::tQ3EntityList& getEntityList() = 0;
31 
33 
36  virtual IMesh* getBrushEntityMesh(s32 num) const = 0;
37 
39  virtual IMesh* getBrushEntityMesh(quake3::IEntity &ent) const = 0;
40  };
41 
42 } // end namespace scene
43 } // end namespace irr
44 
45 #endif
46 
virtual quake3::tQ3EntityList & getEntityList()=0
get's an interface to the entities
virtual IMesh * getBrushEntityMesh(s32 num) const =0
returns the requested brush entity
GLuint num
char c8
8 bit character variable.
Definition: irrTypes.h:35
Everything in the Irrlicht Engine can be found in this namespace.
Definition: CARSADPad.h:6
Class which holds the geometry of an object.
Definition: IMesh.h:71
Interface for a Mesh which can be loaded directly from a Quake3 .bsp-file.
Definition: IQ3LevelMesh.h:17
signed int s32
32 bit signed variable.
Definition: irrTypes.h:70
unsigned int u32
32 bit unsigned variable.
Definition: irrTypes.h:62
GLuint index
virtual const quake3::IShader * getShader(const c8 *filename, bool fileNameIsValid=true)=0
loads the shader definition from file
Self reallocating template array (like stl vector) with additional features.
Definition: irrArray.h:22
A Parsed Shader Holding Variables ordered in Groups.
Definition: IQ3Shader.h:636
Interface for an animated mesh.
Definition: IAnimatedMesh.h:20