doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
idDeclManagerLocal Class Reference
Inheritance diagram for idDeclManagerLocal:
idDeclManager

Public Member Functions

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

Static Public Member Functions

static void MakeNameCanonical (const char *name, char *result, int maxLength)
 

Static Private Member Functions

static void ListDecls_f (const idCmdArgs &args)
 
static void ReloadDecls_f (const idCmdArgs &args)
 
static void TouchDecl_f (const idCmdArgs &args)
 

Private Attributes

idList< idDeclType * > declTypes
 
idList< idDeclFolder * > declFolders
 
idList< idDeclFile * > loadedFiles
 
idHashIndex hashTables [DECL_MAX_TYPES]
 
idList< idDeclLocal * > linearLists [DECL_MAX_TYPES]
 
idDeclFile implicitDecls
 
int checksum
 
int indent
 
bool insideLevelLoad
 

Static Private Attributes

static idCVar decl_show
 

Friends

class idDeclLocal
 

Detailed Description

Definition at line 176 of file DeclManager.cpp.

Member Function Documentation

void idDeclManagerLocal::BeginLevelLoad ( )
virtual

Implements idDeclManager.

Definition at line 921 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1344 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1192 of file DeclManager.cpp.

void idDeclManagerLocal::EndLevelLoad ( )
virtual

Implements idDeclManager.

Definition at line 940 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1149 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1524 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1534 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1544 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1114 of file DeclManager.cpp.

idDeclLocal * idDeclManagerLocal::FindTypeWithoutParsing ( declType_t  type,
const char *  name,
bool  makeDefault = true 
)

Definition at line 1692 of file DeclManager.cpp.

int idDeclManagerLocal::GetChecksum ( void  ) const
virtual

Implements idDeclManager.

Definition at line 1029 of file DeclManager.cpp.

const char * idDeclManagerLocal::GetDeclNameFromType ( declType_t  type) const
virtual

Implements idDeclManager.

Definition at line 1082 of file DeclManager.cpp.

idDeclType* idDeclManagerLocal::GetDeclType ( int  type) const
inline

Definition at line 221 of file DeclManager.cpp.

declType_t idDeclManagerLocal::GetDeclTypeFromName ( const char *  typeName) const
virtual

Implements idDeclManager.

Definition at line 1096 of file DeclManager.cpp.

const idDeclFile* idDeclManagerLocal::GetImplicitDeclFile ( void  ) const
inline

Definition at line 222 of file DeclManager.cpp.

int idDeclManagerLocal::GetNumDecls ( declType_t  type)
virtual

Implements idDeclManager.

Definition at line 1178 of file DeclManager.cpp.

int idDeclManagerLocal::GetNumDeclTypes ( void  ) const
virtual

Implements idDeclManager.

Definition at line 1073 of file DeclManager.cpp.

void idDeclManagerLocal::Init ( void  )
virtual

Implements idDeclManager.

Definition at line 791 of file DeclManager.cpp.

void idDeclManagerLocal::ListDecls_f ( const idCmdArgs args)
staticprivate

Definition at line 1584 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1228 of file DeclManager.cpp.

void idDeclManagerLocal::MakeNameCanonical ( const char *  name,
char *  result,
int  maxLength 
)
static

Definition at line 1557 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1528 of file DeclManager.cpp.

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

Reimplemented from idDeclManager.

Definition at line 1475 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1287 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 976 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 952 of file DeclManager.cpp.

void idDeclManagerLocal::Reload ( bool  force)
virtual

Implements idDeclManager.

Definition at line 910 of file DeclManager.cpp.

void idDeclManagerLocal::ReloadDecls_f ( const idCmdArgs args)
staticprivate

Definition at line 1631 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1163 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1425 of file DeclManager.cpp.

void idDeclManagerLocal::Shutdown ( void  )
virtual

Implements idDeclManager.

Definition at line 871 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1538 of file DeclManager.cpp.

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

Implements idDeclManager.

Definition at line 1548 of file DeclManager.cpp.

void idDeclManagerLocal::TouchDecl_f ( const idCmdArgs args)
staticprivate

Definition at line 1654 of file DeclManager.cpp.

void idDeclManagerLocal::WritePrecacheCommands ( idFile f)
virtual

Implements idDeclManager.

Definition at line 1497 of file DeclManager.cpp.

Friends And Related Function Documentation

friend class idDeclLocal
friend

Definition at line 177 of file DeclManager.cpp.

Member Data Documentation

int idDeclManagerLocal::checksum
private

Definition at line 234 of file DeclManager.cpp.

idCVar idDeclManagerLocal::decl_show
staticprivate

Definition at line 238 of file DeclManager.cpp.

idList<idDeclFolder *> idDeclManagerLocal::declFolders
private

Definition at line 226 of file DeclManager.cpp.

idList<idDeclType *> idDeclManagerLocal::declTypes
private

Definition at line 225 of file DeclManager.cpp.

idHashIndex idDeclManagerLocal::hashTables[DECL_MAX_TYPES]
private

Definition at line 229 of file DeclManager.cpp.

idDeclFile idDeclManagerLocal::implicitDecls
private

Definition at line 231 of file DeclManager.cpp.

int idDeclManagerLocal::indent
private

Definition at line 235 of file DeclManager.cpp.

bool idDeclManagerLocal::insideLevelLoad
private

Definition at line 236 of file DeclManager.cpp.

idList<idDeclLocal *> idDeclManagerLocal::linearLists[DECL_MAX_TYPES]
private

Definition at line 230 of file DeclManager.cpp.

idList<idDeclFile *> idDeclManagerLocal::loadedFiles
private

Definition at line 228 of file DeclManager.cpp.


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