ScummVM API documentation
Sludge::Variable Struct Reference

Public Member Functions

void unlinkVar ()
 
void setVariable (VariableType vT, int value)
 
bool copyFrom (const Variable &from)
 
bool copyMain (const Variable &from)
 
bool save (Common::WriteStream *stream)
 
bool load (Common::SeekableReadStream *stream)
 
void makeTextVar (const Common::String &txt)
 
bool loadStringToVar (int value)
 
void makeAnimationVariable (PersonaAnimation *i)
 
struct PersonaAnimationgetAnimationFromVar ()
 
void makeCostumeVariable (Persona *i)
 
struct PersonagetCostumeFromVar ()
 
bool makeFastArrayFromStack (const StackHandler *stacky)
 
bool makeFastArraySize (int size)
 
bool copyStack (const Variable &from)
 
void addVariablesInSecond (const Variable &other)
 
void compareVariablesInSecond (const Variable &other)
 
int compareVars (const Variable &other) const
 
Common::String getTextFromAnyVar (bool skipLoad=false) const
 
bool getBoolean () const
 
bool getValueType (int &toHere, VariableType vT) const
 
void debugPrint ()
 

Public Attributes

VariableType varType
 
VariableData varData
 

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