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

Wintermute::AdItem Class Reference

#include <ad_item.h>

Inheritance diagram for Wintermute::AdItem:
Collaboration diagram for Wintermute::AdItem:

List of all members.

Public Member Functions

bool update () override
bool display (int x, int y)
bool getExtendedFlag (const char *flagName) override
 AdItem (BaseGame *inGame)
 ~AdItem () override
bool loadFile (const char *filename)
bool loadBuffer (char *buffer, bool complete=true)
ScValuescGetProperty (const Common::String &name) override
bool scSetProperty (const char *name, ScValue *value) override
bool scCallMethod (ScScript *script, ScStack *stack, ScStack *thisStack, const char *name) override
const char * scToString () override

Public Attributes

bool _inInventory
bool _cursorCombined
BaseSprite_spriteHover
BaseSprite_cursorNormal
BaseSprite_cursorHover

Private Attributes

bool _displayAmount
int32 _amount
int32 _amountOffsetX
int32 _amountOffsetY
TTextAlign _amountAlign
char * _amountString

Detailed Description

Definition at line 37 of file ad_item.h.


Constructor & Destructor Documentation

Wintermute::AdItem::AdItem ( BaseGame inGame  ) 

Definition at line 51 of file ad_item.cpp.

Wintermute::AdItem::~AdItem (  )  [override]

Definition at line 72 of file ad_item.cpp.


Member Function Documentation

bool Wintermute::AdItem::display ( int  x,
int  y 
)

Definition at line 413 of file ad_item.cpp.

bool Wintermute::AdItem::getExtendedFlag ( const char *  flagName  )  [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 840 of file ad_item.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::AdItem::loadBuffer ( char *  buffer,
bool  complete = true 
)

Definition at line 137 of file ad_item.cpp.

bool Wintermute::AdItem::loadFile ( const char *  filename  ) 

Definition at line 86 of file ad_item.cpp.

bool Wintermute::AdItem::scCallMethod ( ScScript script,
ScStack stack,
ScStack thisStack,
const char *  name 
) [override, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 460 of file ad_item.cpp.

ScValue * Wintermute::AdItem::scGetProperty ( const Common::String name  )  [override, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 654 of file ad_item.cpp.

bool Wintermute::AdItem::scSetProperty ( const char *  name,
ScValue value 
) [override, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 738 of file ad_item.cpp.

const char * Wintermute::AdItem::scToString (  )  [override, virtual]

Reimplemented from Wintermute::AdTalkHolder.

Definition at line 813 of file ad_item.cpp.

bool Wintermute::AdItem::update (  )  [override, virtual]

Reimplemented from Wintermute::AdObject.

Definition at line 337 of file ad_item.cpp.


Member Data Documentation

Definition at line 62 of file ad_item.h.

Definition at line 65 of file ad_item.h.

Definition at line 63 of file ad_item.h.

Definition at line 64 of file ad_item.h.

Definition at line 66 of file ad_item.h.

Definition at line 46 of file ad_item.h.

Definition at line 61 of file ad_item.h.

Definition at line 45 of file ad_item.h.


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


Generated on Sat Sep 26 2020 05:04:10 for ResidualVM by doxygen 1.7.1
curved edge   curved edge