Polyphase Game Engine
Loading...
Searching...
No Matches
Scene_Lua.h
Go to the documentation of this file.
1#pragma once
2
3#include "EngineTypes.h"
4#include "Log.h"
5
6#include "Assets/Scene.h"
7
10
11#if LUA_ENABLED
12
13#define SCENE_LUA_NAME "Scene"
14#define SCENE_LUA_FLAG "cfScene"
15#define CHECK_SCENE(L, arg) CheckAssetLuaType<Scene>(L, arg, SCENE_LUA_NAME, SCENE_LUA_FLAG)
16
17struct Scene_Lua
18{
19 static int Capture(lua_State* L);
20 static int Instantiate(lua_State* L);
21
22 static void Bind();
23};
24
25#endif