ScummVM API documentation
Made::ScriptStack Class Reference

Public Member Functions

int16 top ()
 
int16 pop ()
 
void push (int16 value=0)
 
void setTop (int16 value)
 
int16 peek (int16 index)
 
void poke (int16 index, int16 value)
 
void alloc (int16 count)
 
void free (int16 count)
 
int16 getStackPos () const
 
void setStackPos (int16 stackPtr)
 
int16 * getStackPtr ()
 

Protected Attributes

int16 _stack [kScriptStackSize]
 
int16 _stackPos
 

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