aboutsummaryrefslogtreecommitdiff
path: root/assets/blender/mbb/modern_japanlocomotive_anim_uv.blend
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2019-01-15 17:23:03 +0100
committerorwell96 <orwell@bleipb.de>2019-01-15 17:23:03 +0100
commit3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d (patch)
tree6427527fd2d3fe84ad41b49368fe0b3b868f6980 /assets/blender/mbb/modern_japanlocomotive_anim_uv.blend
parent12f8e26cb47f2dc365c69ff721b4c3faf348c61d (diff)
downloadadvtrains-3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d.tar.gz
advtrains-3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d.tar.bz2
advtrains-3ce98cae9aa588fba0be1e86fc81e7ca6040bd9d.zip
Actual working ARS
Diffstat (limited to 'assets/blender/mbb/modern_japanlocomotive_anim_uv.blend')
0 files changed, 0 insertions, 0 deletions
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com> This program 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 program 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 program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "lua_api/l_nodetimer.h" #include "lua_api/l_internal.h" #include "serverenvironment.h" #include "map.h" int NodeTimerRef::gc_object(lua_State *L) { NodeTimerRef *o = *(NodeTimerRef **)(lua_touserdata(L, 1)); delete o; return 0; } NodeTimerRef* NodeTimerRef::checkobject(lua_State *L, int narg) { luaL_checktype(L, narg, LUA_TUSERDATA); void *ud = luaL_checkudata(L, narg, className); if(!ud) luaL_typerror(L, narg, className); return *(NodeTimerRef**)ud; // unbox pointer } int NodeTimerRef::l_set(lua_State *L) { MAP_LOCK_REQUIRED; NodeTimerRef *o = checkobject(L, 1); f32 t = readParam<float>(L,2); f32 e = readParam<float>(L,3); o->m_map->setNodeTimer(NodeTimer(t, e, o->m_p)); return 0;