hedgewars/uScript.pas
changeset 4767 4ee4a49549e2
parent 4682 0fc1ff341482
child 4780 8571151411b3
equal deleted inserted replaced
4764:674cdcf8b661 4767:4ee4a49549e2
   355             lua_pushinteger(L, vg^.Frame);
   355             lua_pushinteger(L, vg^.Frame);
   356             lua_pushinteger(L, vg^.FrameTicks);
   356             lua_pushinteger(L, vg^.FrameTicks);
   357             lua_pushinteger(L, vg^.State);
   357             lua_pushinteger(L, vg^.State);
   358             lua_pushinteger(L, vg^.Timer);
   358             lua_pushinteger(L, vg^.Timer);
   359             lua_pushinteger(L, vg^.Tint);
   359             lua_pushinteger(L, vg^.Tint);
       
   360             end
       
   361         else
       
   362             begin
       
   363             lua_pushnil(L); lua_pushnil(L); lua_pushnil(L); lua_pushnil(L); lua_pushnil(L);
       
   364             lua_pushnil(L); lua_pushnil(L); lua_pushnil(L); lua_pushnil(L); lua_pushnil(L)
   360             end
   365             end
   361         end;
   366         end;
   362     lc_getvisualgearvalues:= 10;
   367     lc_getvisualgearvalues:= 10;
   363 end;
   368 end;
   364 
   369