21 #ifndef ULTIMA8_USECODE_UCPROCESS_H 22 #define ULTIMA8_USECODE_UCPROCESS_H 24 #include "ultima/ultima8/kernel/process.h" 25 #include "ultima/ultima8/usecode/uc_stack.h" 38 UCProcess(uint16 classid, uint16 offset, uint32 this_ptr = 0,
39 int thissize = 0,
const uint8 *args = 0,
int argsize = 0);
42 ENABLE_RUNTIME_CLASSTYPE()
48 void freeOnTerminate(uint16 index,
int type);
50 void setReturnValue(uint32 retval) {
54 uint16 getClassId()
const {
64 void load(uint16 classid, uint16 offset, uint32 this_ptr = 0,
65 int thissize = 0,
const uint8 *args = 0,
int argsize = 0);
66 void call(uint16 classid, uint16 offset);
Definition: uc_process.h:33
Definition: uc_stack.h:182
Common::String dumpInfo() const override
dump some info about this process to a string
Definition: detection.h:27
Definition: uc_machine.h:42
void terminate() override
terminate the process. This wakes up all processes waiting for it.
void saveData(Common::WriteStream *ws) override
save Process data