aboutsummaryrefslogtreecommitdiff
path: root/src/database-leveldb.cpp
Commit message (Expand)AuthorAge
* Add ability to delete MapBlocks from mapkwolekr2015-01-15
* Split settings into seperate source and header filesShadowNinja2014-09-21
* Move MapBlock (de)serializing code out of Database classsfan52014-07-12
* Don't unload blocks if save failedkwolekr2014-07-07
* Fix regression in leveldb backendsapier2014-07-07
* Improve error reporting in leveldb backendsfan52014-07-06
* Fix LevelDB mapsSfan52013-12-03
* Don't continue trying to deserialize blank block datakwolekr2013-11-24
* Do the same for LevelDB interfacekwolekr2013-11-17
* Add license headers and remove useless includesKahrl2013-09-10
* Use STL containers instead of irr::core::listSfan52013-09-09
* Make it compileSfan52013-09-09
* Add dummy and LevelDB database backendsIlya Zhuravlev2013-09-09
= 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 .. "strict.lua") dofile(commonpath .. "serialize.lua") dofile(commonpath .. "misc_helpers.lua") if INIT == "game" then dofile(gamepath .. "init.lua") elseif INIT == "mainmenu" then local mm_script = core.settings:get("main_menu_script") if mm_script and mm_script ~= "" then dofile(mm_script) else dofile(core.get_mainmenu_path() .. DIR_DELIM .. "init.lua") end elseif INIT == "async" then dofile(asyncpath .. "init.lua") elseif INIT == "client" then dofile(clientpath .. "init.lua") else error(("Unrecognized builtin initialization type %s!"):format(tostring(INIT))) end