ScummVM API documentation
Ultima::Ultima8::UCMachine Class Reference

Public Member Functions

 UCMachine (const Intrinsic *iset, unsigned int icount)
 
void reset ()
 
void execProcess (UCProcess *proc)
 
const Std::stringgetString (uint16 str) const
 
UCListgetList (uint16 l)
 
void freeString (uint16 s)
 
void freeStringList (uint16 l)
 
void freeList (uint16 l)
 
uint16 duplicateString (uint16 str)
 
void usecodeStats () const
 
bool assignPointer (uint32 ptr, const uint8 *data, uint32 size)
 
bool dereferencePointer (uint32 ptr, uint8 *data, uint32 size)
 
void saveGlobals (Common::WriteStream *ws) const
 
void saveStrings (Common::WriteStream *ws) const
 
void saveLists (Common::WriteStream *ws) const
 
bool loadGlobals (Common::ReadStream *rs, uint32 version)
 
bool loadStrings (Common::ReadStream *rs, uint32 version)
 
bool loadLists (Common::ReadStream *rs, uint32 version)
 
 INTRINSIC (I_true)
 
 INTRINSIC (I_false)
 
 INTRINSIC (I_dummyProcess)
 
 INTRINSIC (I_getName)
 
 INTRINSIC (I_urandom)
 
 INTRINSIC (I_rndRange)
 
 INTRINSIC (I_numToStr)
 

Static Public Member Functions

static UCMachineget_instance ()
 
static uint32 listToPtr (uint16 l)
 
static uint32 stringToPtr (uint16 s)
 
static uint32 stackToPtr (uint16 pid, uint16 offset)
 
static uint32 globalToPtr (uint16 offset)
 
static uint32 objectToPtr (uint16 objID)
 
static uint16 ptrToObject (uint32 ptr)
 

Protected Member Functions

void loadIntrinsics (const Intrinsic *i, unsigned int icount)
 

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