added movieTime stuff, now it try handle subtitles for smush

This commit is contained in:
Pawel Kolodziejski 2004-03-03 21:43:34 +00:00
parent 1c3e5443cc
commit 397d822587
6 changed files with 24 additions and 2 deletions

View file

@ -844,6 +844,13 @@ void set_frameTime(float frameTime) {
lua_settable();
}
void set_movieTime(float movieTime) {
lua_pushobject(lua_getglobal("system"));
lua_pushstring("movieTime");
lua_pushnumber(movieTime);
lua_settable();
}
void PerSecond() {
float rate = luaL_check_number(1);
lua_pushnumber(Engine::instance()->perSecond(rate));