OpenUT99-Plus
Unreal Engine 1, rebuilt from scratch
Loading...
Searching...
No Matches
ut::Vm::Frame Struct Reference

Classes

struct  Iter

Public Member Functions

 Frame (const Function &fn, Obj *s)
void need (size_t n) const
uint8_t peek () const
uint8_t u8 ()
uint16_t u16 ()
int32_t i32 ()
float f32 ()
std::string name ()
void jump (size_t to)
std::vector< Value > & local (int32_t ref)

Public Attributes

const Function & f
Obj * self
std::vector< std::vector< Value > > vars
size_t pc = 0
bool done = false
std::vector< Iter > iters

Constructor & Destructor Documentation

◆ Frame()

ut::Vm::Frame::Frame ( const Function & fn,
Obj * s )
inline

Member Function Documentation

◆ f32()

float ut::Vm::Frame::f32 ( )
inline

◆ i32()

int32_t ut::Vm::Frame::i32 ( )
inline

◆ jump()

void ut::Vm::Frame::jump ( size_t to)
inline

◆ local()

std::vector< Value > & ut::Vm::Frame::local ( int32_t ref)
inline

◆ name()

std::string ut::Vm::Frame::name ( )
inline

◆ need()

void ut::Vm::Frame::need ( size_t n) const
inline

◆ peek()

uint8_t ut::Vm::Frame::peek ( ) const
inline

◆ u16()

uint16_t ut::Vm::Frame::u16 ( )
inline

◆ u8()

uint8_t ut::Vm::Frame::u8 ( )
inline

Member Data Documentation

◆ done

bool ut::Vm::Frame::done = false

◆ f

const Function& ut::Vm::Frame::f

◆ iters

std::vector<Iter> ut::Vm::Frame::iters

◆ pc

size_t ut::Vm::Frame::pc = 0

◆ self

Obj* ut::Vm::Frame::self

◆ vars

std::vector<std::vector<Value> > ut::Vm::Frame::vars

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