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

lua.h File Reference

#include "common/str.h"
#include "common/list.h"
#include "engines/grim/color.h"
Include dependency graph for lua.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  Grim::LuaObjects
 A list of arguments to be passed to a Lua function. More...
struct  Grim::LuaObjects::Obj
 The struct wrapping the value and the type of the objects. More...
class  Grim::LuaBase


namespace  Grim


#define DECLARE_LUA_OPCODE(func)
 Declare a Lua opcode in the current class.
#define LUA_OPCODE(class, func)   class::static_##func
 Retrieve the opcode "func" of the class "class".

Define Documentation

#define DECLARE_LUA_OPCODE (   func  ) 
    inline static void static_##func() {\
        static_cast<LuaClass *>(LuaBase::instance())->func();\
    virtual void func()

Declare a Lua opcode in the current class.

Definition at line 49 of file lua.h.

#define LUA_OPCODE (   class,
)    class::static_##func

Retrieve the opcode "func" of the class "class".

Definition at line 59 of file lua.h.

Generated on Sat Aug 15 2020 05:02:54 for ResidualVM by doxygen 1.7.1
curved edge   curved edge