#include "Script.h"#include <stdio.h>#include <string.h>#include "lualib.h"Include dependency graph for Script.cpp:

Go to the source code of this file.
Functions | |
| int | Script_LOG (lua_State* state) |
| void | FatalError () |
| void | IndentFile (FILE* file, unsigned int indentLevel) |
| Adds [indentLevel] number of spaces to the file. | |
| void | WriteObject (Script& script, FILE* file, const char* name, Script::Object value, unsigned int indentLevel) |
| Writes a Lua object to a text file. | |
Variables | |
| const char* | LuaScript_CopyTable |
|
|
|
|
|
Adds [indentLevel] number of spaces to the file.
|
|
|
|
|
|
Writes a Lua object to a text file.
|
|
|
Initializer: "function CopyTable(table) "
"local newTable = {} "
"for key, value in table do "
"if type(value) == \"table\" then "
"newTable[key] = CopyTable(value) "
"else "
"newTable[key] = value "
"end "
"end "
"return newTable "
"end" |
1.2.2 written by Dimitri van Heesch,
© 1997-2000