ScummVM API documentation
Ultima::Ultima1::U1Gfx::Sprites Class Reference

#include <sprites.h>

Inheritance diagram for Ultima::Ultima1::U1Gfx::Sprites:
Ultima::Shared::Gfx::Sprites Ultima::Shared::TreeItem Ultima::Shared::MessageTarget Ultima::Shared::BaseObject

Public Member Functions

 Sprites (TreeItem *parent)
 
 ~Sprites () override
 
Shared::Gfx::Spriteoperator[] (uint idx) override
 
void load (bool isOverworld)
 
- Public Member Functions inherited from Ultima::Shared::Gfx::Sprites
Point getSpriteSize () const
 
size_t size () const
 
bool empty () const
 
- Public Member Functions inherited from Ultima::Shared::TreeItem
virtual const Common::String getName () const
 
virtual bool isEquals (const Common::String &name, int maxLen=0) const
 
virtual int compareTo (const Common::String &name, int maxLen=0) const
 
virtual void viewChange ()
 
TreeItemgetParent () const
 
GamegetGame ()
 
const GamegetGame () const
 
Gfx::VisualItemgetView ()
 
TreeItemgetNextSibling () const
 
TreeItemgetPriorSibling () const
 
TreeItemgetLastSibling ()
 
TreeItemgetFirstChild () const
 
TreeItemgetLastChild () const
 
TreeItemscan (TreeItem *item) const
 
TreeItemfindChildInstanceOf (const ClassDef &classDef) const
 
TreeItemfindNextInstanceOf (const ClassDef &classDef, TreeItem *startItem) const
 
void addUnder (TreeItem *newParent)
 
void addChild (TreeItem *child)
 
void setParent (TreeItem *newParent)
 
void addSibling (TreeItem *item)
 
void moveUnder (TreeItem *newParent)
 
void destroyAll ()
 
int destroyChildren ()
 
void detach ()
 
void attach (TreeItem *item)
 
NamedItemfindByName (const Common::String &name)
 
- Public Member Functions inherited from Ultima::Shared::BaseObject
virtual ::Ultima::Shared::ClassDef getType () const
 
bool isInstanceOf (const ClassDef &classDef) const
 

Public Attributes

 CLASSDEF
 
- Public Attributes inherited from Ultima::Shared::TreeItem
 CLASSDEF
 
- Public Attributes inherited from Ultima::Shared::MessageTarget
 CLASSDEF
 

Additional Inherited Members

- Static Public Member Functions inherited from Ultima::Shared::BaseObject
::Ultima::Shared::ClassDef type ()
 
- Protected Member Functions inherited from Ultima::Shared::Gfx::Sprites
void load (const Common::Path &name, uint bpp, uint16 w=16, uint16 h=16)
 
- Protected Member Functions inherited from Ultima::Shared::MessageTarget
virtual const Ultima::Shared::MSGMAPgetMessageMap () const
 
- Static Protected Member Functions inherited from Ultima::Shared::MessageTarget
static const Ultima::Shared::MSGMAPgetThisMessageMap ()
 
- Protected Attributes inherited from Ultima::Shared::Gfx::Sprites
Common::Array< Sprite_data
 
Point _spriteSize
 

Detailed Description

Displays the total hits, food, experience, and coins you have

Constructor & Destructor Documentation

◆ Sprites()

Ultima::Ultima1::U1Gfx::Sprites::Sprites ( TreeItem *  parent)
inline

Constructor

◆ ~Sprites()

Ultima::Ultima1::U1Gfx::Sprites::~Sprites ( )
inlineoverridevirtual

Destructor

Reimplemented from Ultima::Shared::Gfx::Sprites.

Member Function Documentation

◆ operator[]()

Shared::Gfx::Sprite& Ultima::Ultima1::U1Gfx::Sprites::operator[] ( uint  idx)
overridevirtual

Return a specific sprite

Reimplemented from Ultima::Shared::Gfx::Sprites.

◆ load()

void Ultima::Ultima1::U1Gfx::Sprites::load ( bool  isOverworld)

Loads the Ultima 1 sprites


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