Libraries imported?...
Posted: Tue Jan 19, 2010 9:43 am
I recall that I couldn't use a function from the one of the libraries (it was ages ago though - a quick way to insert and remove elements from a list?), can you confirm which libraries you make available for use in DSB.EXE?
Table library for shorcuts working with arrays, etc.
The IO library could be useful for someone to create their own dungeon specific properties file.
The String library is useful for... Oh never mind.
I'm not asking you to add these, just to know which are available to us!
Thanks
Code: Select all
lua_State *L = lua_open(); /* opens Lua */
luaopen_base(L); /* opens the basic library */
luaopen_table(L); /* opens the table library */
luaopen_io(L); /* opens the I/O library */
luaopen_string(L); /* opens the string lib. */
luaopen_math(L); /* opens the math lib. */
The IO library could be useful for someone to create their own dungeon specific properties file.
The String library is useful for... Oh never mind.
I'm not asking you to add these, just to know which are available to us!
Thanks