[Moeng-cvs] BBRpg/src/editor script.cpp,1.7,1.8
Status: Alpha
Brought to you by:
b_lindeijer
From: Bjørn L. <b_l...@us...> - 2007-01-27 02:14:51
|
Update of /cvsroot/moeng/BBRpg/src/editor In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv13247/src/editor Modified Files: script.cpp Log Message: Upgraded BBRpg to work with Lua 5.1. Index: script.cpp =================================================================== RCS file: /cvsroot/moeng/BBRpg/src/editor/script.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** script.cpp 23 Oct 2004 11:54:18 -0000 1.7 --- script.cpp 27 Jan 2007 02:14:47 -0000 1.8 *************** *** 96,100 **** lua_register(L, "import", l_import); ! handleLuaError(lua_dostring(L, lua_include), "lua_include"); --- 96,100 ---- lua_register(L, "import", l_import); ! handleLuaError(luaL_dostring(L, lua_include), "lua_include"); *************** *** 450,454 **** const char *name; getLuaArguments(L, "s", &name); ! BITMAP* found_bitmap = found_bitmap = module->findBitmap(name); if (found_bitmap) { --- 450,454 ---- const char *name; getLuaArguments(L, "s", &name); ! BITMAP* found_bitmap = module->findBitmap(name); if (found_bitmap) { |