doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
idDeclManager Class Referenceabstract

#include <DeclManager.h>

Inheritance diagram for idDeclManager:
idDeclManagerLocal

Public Member Functions

virtual ~idDeclManager (void)
 
virtual void Init (void)=0
 
virtual void Shutdown (void)=0
 
virtual void Reload (bool force)=0
 
virtual void BeginLevelLoad ()=0
 
virtual void EndLevelLoad ()=0
 
virtual void RegisterDeclType (const char *typeName, declType_t type, idDecl *(*allocator)(void))=0
 
virtual void RegisterDeclFolder (const char *folder, const char *extension, declType_t defaultType)=0
 
virtual int GetChecksum (void) const =0
 
virtual int GetNumDeclTypes (void) const =0
 
virtual const char * GetDeclNameFromType (declType_t type) const =0
 
virtual declType_t GetDeclTypeFromName (const char *typeName) const =0
 
virtual const idDeclFindType (declType_t type, const char *name, bool makeDefault=true)=0
 
virtual const idDeclFindDeclWithoutParsing (declType_t type, const char *name, bool makeDefault=true)=0
 
virtual void ReloadFile (const char *filename, bool force)=0
 
virtual int GetNumDecls (declType_t type)=0
 
virtual const idDeclDeclByIndex (declType_t type, int index, bool forceParse=true)=0
 
virtual void ListType (const idCmdArgs &args, declType_t type)=0
 
virtual void PrintType (const idCmdArgs &args, declType_t type)=0
 
virtual idDeclCreateNewDecl (declType_t type, const char *name, const char *fileName)=0
 
virtual bool RenameDecl (declType_t type, const char *oldName, const char *newName)=0
 
virtual void MediaPrint (const char *fmt,...) id_attribute((format(printf
 
virtual void virtual void WritePrecacheCommands (idFile *f)=0
 
virtual const idMaterialFindMaterial (const char *name, bool makeDefault=true)=0
 
virtual const idDeclSkinFindSkin (const char *name, bool makeDefault=true)=0
 
virtual const idSoundShaderFindSound (const char *name, bool makeDefault=true)=0
 
virtual const idMaterialMaterialByIndex (int index, bool forceParse=true)=0
 
virtual const idDeclSkinSkinByIndex (int index, bool forceParse=true)=0
 
virtual const idSoundShaderSoundByIndex (int index, bool forceParse=true)=0
 

Detailed Description

Definition at line 250 of file DeclManager.h.

Constructor & Destructor Documentation

virtual idDeclManager::~idDeclManager ( void  )
inlinevirtual

Definition at line 252 of file DeclManager.h.

Member Function Documentation

virtual void idDeclManager::BeginLevelLoad ( )
pure virtual

Implemented in idDeclManagerLocal.

virtual idDecl* idDeclManager::CreateNewDecl ( declType_t  type,
const char *  name,
const char *  fileName 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual const idDecl* idDeclManager::DeclByIndex ( declType_t  type,
int  index,
bool  forceParse = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::EndLevelLoad ( )
pure virtual

Implemented in idDeclManagerLocal.

virtual const idDecl* idDeclManager::FindDeclWithoutParsing ( declType_t  type,
const char *  name,
bool  makeDefault = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual const idMaterial* idDeclManager::FindMaterial ( const char *  name,
bool  makeDefault = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual const idDeclSkin* idDeclManager::FindSkin ( const char *  name,
bool  makeDefault = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual const idSoundShader* idDeclManager::FindSound ( const char *  name,
bool  makeDefault = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual const idDecl* idDeclManager::FindType ( declType_t  type,
const char *  name,
bool  makeDefault = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual int idDeclManager::GetChecksum ( void  ) const
pure virtual

Implemented in idDeclManagerLocal.

virtual const char* idDeclManager::GetDeclNameFromType ( declType_t  type) const
pure virtual

Implemented in idDeclManagerLocal.

virtual declType_t idDeclManager::GetDeclTypeFromName ( const char *  typeName) const
pure virtual

Implemented in idDeclManagerLocal.

virtual int idDeclManager::GetNumDecls ( declType_t  type)
pure virtual

Implemented in idDeclManagerLocal.

virtual int idDeclManager::GetNumDeclTypes ( void  ) const
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::Init ( void  )
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::ListType ( const idCmdArgs args,
declType_t  type 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual const idMaterial* idDeclManager::MaterialByIndex ( int  index,
bool  forceParse = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::MediaPrint ( const char *  fmt,
  ... 
)
virtual

Reimplemented in idDeclManagerLocal.

virtual void idDeclManager::PrintType ( const idCmdArgs args,
declType_t  type 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::RegisterDeclFolder ( const char *  folder,
const char *  extension,
declType_t  defaultType 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::RegisterDeclType ( const char *  typeName,
declType_t  type,
idDecl *(*)(void allocator 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::Reload ( bool  force)
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::ReloadFile ( const char *  filename,
bool  force 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual bool idDeclManager::RenameDecl ( declType_t  type,
const char *  oldName,
const char *  newName 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual void idDeclManager::Shutdown ( void  )
pure virtual

Implemented in idDeclManagerLocal.

virtual const idDeclSkin* idDeclManager::SkinByIndex ( int  index,
bool  forceParse = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual const idSoundShader* idDeclManager::SoundByIndex ( int  index,
bool  forceParse = true 
)
pure virtual

Implemented in idDeclManagerLocal.

virtual void virtual void idDeclManager::WritePrecacheCommands ( idFile f)
pure virtual

Implemented in idDeclManagerLocal.


The documentation for this class was generated from the following file: