scummvm/engines/grim/lua.h

52 lines
1.4 KiB
C
Raw Normal View History

2009-05-26 14:13:08 +00:00
/* Residual - A 3D game interpreter
*
* Residual is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the AUTHORS
* file distributed with this source distribution.
2006-04-02 14:20:45 +00:00
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*
* $URL$
* $Id$
*
*/
2003-08-15 18:00:22 +00:00
2009-05-26 09:39:42 +00:00
#ifndef GRIM_LUA_HH
#define GRIM_LUA_HH
2003-08-15 18:00:22 +00:00
#include "engines/grim/lua/lua.h"
2009-05-09 17:44:05 +00:00
namespace Graphics {
class Vector3d;
2009-05-25 14:00:38 +00:00
}
2003-08-15 18:00:22 +00:00
2009-05-25 06:49:57 +00:00
namespace Grim {
2003-08-15 18:00:22 +00:00
// Register Residual builtin functions and structures
void register_lua();
// Like dofile, except it loads the file to execute from a bundle file
int bundle_dofile(const char *filename);
// Set system.frameTime
2004-12-10 07:26:03 +00:00
void setFrameTime(float frameTime);
2003-08-15 18:00:22 +00:00
// Set smush.movieTime
2004-12-10 07:26:03 +00:00
void setMovieTime(float movieTime);
2009-05-25 06:49:57 +00:00
} // end of namespace Grim
2003-08-15 18:00:22 +00:00
#endif