quantumde1 1 settimana fa
parent
commit
0c9620eedd
2 ha cambiato i file con 9 aggiunte e 9 eliminazioni
  1. 1 1
      readme.md
  2. 8 8
      source/scripts/lua.d

+ 1 - 1
readme.md

@@ -4,7 +4,7 @@ Himmel(equal to Heaven, but in German) is an engine for Visual Novels, written u
 
 ## Getting Started
 
-### Getting needed components(besides VLC)
+### Getting needed components
 
 Build system currently assumes POSIX like system. For building, you need first install next components on:
 

+ 8 - 8
source/scripts/lua.d

@@ -589,14 +589,14 @@ extern (C) nothrow void luaL_loader(lua_State* L)
     lua_register(L, "stopSfx", &luaL_stopSfx);
     lua_register(L, "Begin2D", &luaL_2dModeEnable);
     lua_register(L, "End2D", &luaL_2dModeDisable);
-    lua_register(L, "load2Dcharacter", &luaL_load2Dcharacter);
-    lua_register(L, "draw2Dcharacter", &luaL_draw2Dcharacter);
-    lua_register(L, "stopDraw2Dcharacter", &luaL_stopDraw2Dcharacter);
-    lua_register(L, "unload2Dcharacter", &luaL_unload2Dcharacter);
-    lua_register(L, "load2Dtexture", &luaL_load2Dbackground);
-    lua_register(L, "draw2Dtexture", &luaL_draw2Dbackground);
-    lua_register(L, "stopDraw2Dtexture", &luaL_stopDraw2Dbackground);
-    lua_register(L, "unload2Dtexture", &luaL_unload2Dbackground);
+    lua_register(L, "loadCharacter", &luaL_load2Dcharacter);
+    lua_register(L, "drawCharacter", &luaL_draw2Dcharacter);
+    lua_register(L, "stopDrawCharacter", &luaL_stopDraw2Dcharacter);
+    lua_register(L, "unloadCharacter", &luaL_unload2Dcharacter);
+    lua_register(L, "loadBackground", &luaL_load2Dbackground);
+    lua_register(L, "drawBackground", &luaL_draw2Dbackground);
+    lua_register(L, "stopDrawBackground", &luaL_stopDraw2Dbackground);
+    lua_register(L, "unloadBackground", &luaL_unload2Dbackground);
     lua_register(L, "getTime", &luaL_getTime);
     lua_register(L, "loadScript", &luaL_loadScript);
     lua_register(L, "setFont", &luaL_setGameFont);