21 #ifndef SLUDGE_VARIABLE_H 22 #define SLUDGE_VARIABLE_H 25 class SeekableReadStream;
32 struct PersonaAnimation;
56 Variable *fastArrayGetByIndex(uint theIndex);
65 int getStackSize()
const;
73 const char *theString;
90 void setVariable(VariableType vT,
int value);
102 bool loadStringToVar(
int value);
109 void makeCostumeVariable(
Persona *i);
110 struct Persona *getCostumeFromVar();
113 bool makeFastArrayFromStack(
const StackHandler *stacky);
114 bool makeFastArraySize(
int size);
117 bool copyStack(
const Variable &from);
120 void addVariablesInSecond(
const Variable &other);
121 void compareVariablesInSecond(
const Variable &other);
122 int compareVars(
const Variable &other)
const;
126 bool getBoolean()
const;
127 bool getValueType(
int &toHere, VariableType vT)
const;
137 bool stackSetByIndex(uint,
const Variable &);
156 void clearStackLib();
Definition: variable.h:132
Definition: variable.h:80
Definition: variable.h:60
Definition: variable.h:71
Definition: algorithm.h:29
Definition: variable.h:51