#include "LuaManager.h"
#include "RageUtil.h"
#include <lua.h>
#include <lualib.h>
Go to the source code of this file.
Classes | |
struct | LuaFunctionList |
Defines | |
#define | LUA_ASSERT(expr, err) if( !(expr) ) { LUA->Fail( err ); } |
#define | REQ_ARGS(func, need) |
#define | REQ_ARGS_BETWEEN(func, minargs, maxargs) |
#define | REQ_ARG(func, n, type) |
#define | REQ_ARG_NUMBER_RANGE(func, n, minimum, maximum) |
#define | LUA_RETURN(expr) { LUA->PushStack( expr ); return 1; } |
#define | LuaFunction_NoArgs(func, call) |
#define | LuaFunction_Int(func, call) |
#define | LuaFunction_IntInt(func, call) |
#define | LuaFunction_Str(func, call) |
#define | LuaFunction_StrStr(func, call) |
#define | LuaFunction_PlayerNumber(func, call) |
#define | LuaFunction_PlayerNumber_OptInt(func, def, call) |
#define | LuaFunction(func) static LuaFunctionList g_##func( #func, LuaFunc_##func ) |
Variables | |
LuaFunctionList * | g_LuaFunctionList |
|
|
|
|
|
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value:
|
|
Value: |
|
Value: |
|
Value:
|
|
Value:
|
|
Value:
|
|
|