소스 검색

sample commented

mikymod 12 년 전
부모
커밋
fbb59227c8
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 6 1
      samples/lua/lua.cpp

+ 6 - 1
samples/lua/lua.cpp

@@ -10,7 +10,7 @@ StringSetting g_boot("boot_file", "lua main file", "lua/game.raw");
 lua_State* L;
 
 void init()
-{
+{/*
 	L = luaL_newstate();
 	luaL_openlibs(L);
 
@@ -26,24 +26,29 @@ void init()
 	lua_getglobal(L, "init");
 
 	lua_pcall(L, 0, 0, 0);
+	*/
 }
 
 void shutdown()
 {
+	/*
 	lua_getglobal(L, "shutdown");
 
 	lua_pcall(L, 0, 0, 0);
 
 	lua_close(L);
+	*/
 }
 
 void frame(float dt)
 {
+	/*
 	lua_getglobal(L, "frame");
 
 	lua_pushnumber(L, dt);
 
 	lua_pcall(L, 1, 0, 0);
+	*/
 }
 
 }