ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

ltask.h

Go to the documentation of this file.
00001 #ifndef GRIM_LTASK_H
00002 #define GRIM_LTASK_H
00003 
00004 #include "engines/grim/lua/lua.h"
00005 #include "engines/grim/lua/lstate.h"
00006 
00007 namespace Grim {
00008 
00009 struct lua_Task {
00010     lua_Task *next;
00011     struct Stack *S;
00012     Closure *cl;
00013     TProtoFunc *tf;
00014     StkId base;
00015     byte *pc;
00016     TObject *consts;
00017     int32 aux;
00018     bool some_flag;
00019     StkId some_base;
00020     int32 some_results;
00021 };
00022 
00023 void lua_taskinit(lua_Task *task, lua_Task *next, StkId tbase, int results);
00024 void lua_taskresume(lua_Task *task, Closure *closure, TProtoFunc *protofunc, StkId tbase);
00025 StkId luaV_execute(lua_Task *task);
00026 
00027 void start_script();
00028 void stop_script();
00029 void next_script();
00030 void identify_script();
00031 void pause_script();
00032 void pause_scripts();
00033 void unpause_script();
00034 void unpause_scripts();
00035 void find_script();
00036 void break_here();
00037 void sleep_for();
00038 
00039 void runtasks(LState *const rootState);
00040 
00041 } // end of namespace Grim
00042 
00043 #endif


Generated on Sat Oct 12 2019 05:00:51 for ResidualVM by doxygen 1.7.1
curved edge   curved edge