Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Private Attributes
AttachmentManager Class Reference

#include <attachment_manager.hpp>

List of all members.

Public Member Functions

 AttachmentManager ()
ssgEntity * getModel (attachmentType type)
void removeTextures ()
void loadModels ()

Private Attributes

ssgEntity * m_attachments [ATTACH_MAX]

Detailed Description

Definition at line 25 of file attachment_manager.hpp.


Constructor & Destructor Documentation

Definition at line 30 of file attachment_manager.hpp.

{};

Member Function Documentation

ssgEntity* AttachmentManager::getModel ( attachmentType  type) [inline]

Definition at line 31 of file attachment_manager.hpp.

{return m_attachments[type];}

Here is the caller graph for this function:

Definition at line 65 of file attachment_manager.cpp.

{
    for(int i=0; iat[i].attachment!=ATTACH_MAX; i++)
    {
        m_attachments[iat[i].attachment]=loader->load(iat[i].file, CB_ATTACHMENT);
        m_attachments[iat[i].attachment]->ref();
    }   // for
}   // reInit

Here is the call graph for this function:

Definition at line 55 of file attachment_manager.cpp.

{
    for(int i=0; iat[i].attachment!=ATTACH_MAX; i++)
    {
        ssgDeRefDelete(m_attachments[iat[i].attachment]);
    }   // for
    callback_manager->clear(CB_ATTACHMENT);
}   // removeTextures

Here is the call graph for this function:


Member Data Documentation

Definition at line 28 of file attachment_manager.hpp.


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