21 #ifndef ULTIMA8_USECODE_UCPROCESS_H 22 #define ULTIMA8_USECODE_UCPROCESS_H 24 #include "ultima/shared/std/containers.h" 25 #include "ultima/ultima8/kernel/process.h" 26 #include "ultima/ultima8/usecode/uc_stack.h" 39 UCProcess(uint16 classid, uint16 offset, uint32 this_ptr = 0,
40 int thissize = 0,
const uint8 *args = 0,
int argsize = 0);
43 ENABLE_RUNTIME_CLASSTYPE()
49 void freeOnTerminate(uint16 index,
int type);
51 void setReturnValue(uint32 retval) {
55 uint16 getClassId()
const {
65 void load(uint16 classid, uint16 offset, uint32 this_ptr = 0,
66 int thissize = 0,
const uint8 *args = 0,
int argsize = 0);
67 void call(uint16 classid, uint16 offset);
Definition: uc_process.h:34
Definition: uc_stack.h:177
Common::String dumpInfo() const override
dump some info about this process to a string
Definition: detection.h:27
Definition: uc_machine.h:41
void terminate() override
terminate the process. This wakes up all processes waiting for it.
Definition: containers.h:200
void saveData(Common::WriteStream *ws) override
save Process data