aboutsummaryrefslogtreecommitdiff
path: root/builtin/profiler
diff options
context:
space:
mode:
-- -- This file contains built-in stuff in Minetest implemented in Lua. -- -- It is always loaded and executed after registration of the C API, -- before loading and running any mods. -- -- Initialize some very basic things function core.debug(...) core.log(table.minetest-ccb982513abfafe7d08372c4763cb7135fe373d6.zip
authorHùng Nguyễn <www.thuphan@gmail.com>2022-07-31 06:59:30 +0000
committersfan5 <sfan5@live.de>2022-07-31 19:35:57 +0200
commitccb982513abfafe7d08372c4763cb7135fe373d6 (patch)
tree68c458f2ef804530c0480db45282f91ca0d67ce9 /builtin/profiler
Translated using Weblate (Vietnamese)
Currently translated at 41.4% (606 of 1462 strings)
Diffstat (limited to 'builtin/profiler')
0 files changed, 0 insertions, 0 deletions
", ...), {...} for i = 1, n do t[i] = tostring(t[i]) end core_print(table.concat(t, "\t")) end core.print = nil -- don't pollute our namespace end math.randomseed(os.time()) minetest = core -- Load other files local scriptdir = core.get_builtin_path() local gamepath = scriptdir .. "game" .. DIR_DELIM local clientpath = scriptdir .. "client" .. DIR_DELIM local commonpath = scriptdir .. "common" .. DIR_DELIM local asyncpath = scriptdir .. "async" .. DIR_DELIM dofile(commonpath .. "vector.lua") dofile(commonpath .. "strict.lua") dofile(commonpath .. "serialize.lua") dofile(commonpath .. "misc_helpers.lua") if INIT == "game" then dofile(gamepath .. "init.lua") assert(not core.get_http_api) elseif INIT == "mainmenu" then local mm_script = core.settings:get("main_menu_script") local custom_loaded = false if mm_script and mm_script ~= "" then