Put the extra animation event in the struct def, also adding Jan's VFS script wrapper.

This was SVN commit r2218.
This commit is contained in:
MarkT
2005-05-03 04:27:07 +00:00
parent d2410624e4
commit c8cd52578a
11 changed files with 133 additions and 26 deletions
+8
View File
@@ -29,6 +29,7 @@
#include "scripting/JSInterface_Selection.h"
#include "scripting/JSInterface_Camera.h"
#include "scripting/JSInterface_Console.h"
#include "scripting/JSInterface_VFS.h"
#include "scripting/JSConversions.h"
#ifndef NO_GUI
@@ -72,6 +73,13 @@ JSFunctionSpec ScriptFunctionTable[] =
{"getFPS", getFPS, 0, 0, 0 },
{"buildTime", buildTime, 0, 0, 0 },
// VFS:
{"buildFileList", JSI_VFS::BuildFileList, 1, 0, 0 },
{"getFileMTime", JSI_VFS::GetFileMTime, 1, 0, 0 },
{"getFileSize", JSI_VFS::GetFileSize, 1, 0, 0 },
{"readFile", JSI_VFS::ReadFile, 1, 0, 0 },
{"readFileLines", JSI_VFS::ReadFileLines, 1, 0, 0 },
{"v3dist", v3dist, 2, 0, 0 },
{"exit", exitProgram, 0, 0, 0 },