ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Resources::LevelItemTemplate Class Reference

A level item template. More...

#include <item.h>

Inheritance diagram for Stark::Resources::LevelItemTemplate:
Collaboration diagram for Stark::Resources::LevelItemTemplate:

List of all members.

Public Member Functions

 LevelItemTemplate (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~LevelItemTemplate ()
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void onAllLoaded () override
 Called when the resource sub-tree is entirely loaded.
BonesMeshfindBonesMesh () override
 Obtain the bone mesh to use to render the item.
TextureSetfindTextureSet (uint32 textureType) override
 Obtain the texture to use to render the item.
AnimHierarchyfindStockAnimHierarchy () override
 Obtain the animation hierarchy to fetch animations from.
ItemTemplategetItemTemplate () const
 Get the item's level or global template if any.

Protected Member Functions

void printData () override

Protected Attributes

ResourceReference _reference

Detailed Description

A level item template.

Level item templates are found in levels so that they can be shared between locations.

Definition at line 305 of file item.h.


Constructor & Destructor Documentation

Stark::Resources::LevelItemTemplate::LevelItemTemplate ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 629 of file item.cpp.

Stark::Resources::LevelItemTemplate::~LevelItemTemplate (  )  [virtual]

Definition at line 626 of file item.cpp.


Member Function Documentation

BonesMesh * Stark::Resources::LevelItemTemplate::findBonesMesh (  )  [override, virtual]

Obtain the bone mesh to use to render the item.

Implements Stark::Resources::ItemTemplate.

Definition at line 648 of file item.cpp.

AnimHierarchy * Stark::Resources::LevelItemTemplate::findStockAnimHierarchy (  )  [override, virtual]

Obtain the animation hierarchy to fetch animations from.

Implements Stark::Resources::ItemTemplate.

Definition at line 685 of file item.cpp.

TextureSet * Stark::Resources::LevelItemTemplate::findTextureSet ( uint32  textureType  )  [override, virtual]

Obtain the texture to use to render the item.

Implements Stark::Resources::ItemTemplate.

Definition at line 663 of file item.cpp.

ItemTemplate * Stark::Resources::LevelItemTemplate::getItemTemplate (  )  const

Get the item's level or global template if any.

Definition at line 697 of file item.cpp.

void Stark::Resources::LevelItemTemplate::onAllLoaded (  )  [override, virtual]

Called when the resource sub-tree is entirely loaded.

Allows to load data from other nodes.

Reimplemented from Stark::Resources::ItemTemplate.

Definition at line 639 of file item.cpp.

void Stark::Resources::LevelItemTemplate::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Item.

Definition at line 701 of file item.cpp.

void Stark::Resources::LevelItemTemplate::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Item.

Definition at line 633 of file item.cpp.


Member Data Documentation


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


Generated on Sat Mar 16 2019 05:07:05 for ResidualVM by doxygen 1.7.1
curved edge   curved edge