aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAge
...
* Right mouse button behaviour for craft/inventory If right mousebutton clicked...Craig Robbins2014-12-04
* Make dropped items larger and rotate fasterCalinou2014-12-04
* Settings: Various setting group fixes and enhancementskwolekr2014-12-04
* Add definable node_stone to biome API, mgv5, mgv7. Reduce and correct depth o...paramat2014-12-03
* Settings: Fix getNoiseParamsFromValue()kwolekr2014-12-02
* Use setting groups for NoiseParamskwolekr2014-12-02
* Fix style of comment in minetest.conf.exampleKahrl2014-12-01
* Add fontengine.cpp to Android.mkKahrl2014-12-01
* Fix settings callback "call" lost on rebasesapier2014-12-01
* Fix node 0,0,0 being highlighted when enable_node_highlighting == falseCraig Robbins2014-12-01
* Fix buildCraig Robbins2014-12-01
* LuaSettings: Sanitize setting name stringskwolekr2014-11-30
* Fix segfault at exit caused by non grabbed fontKahrl2014-11-30
* settings: Add setting groups and multiline entrieskwolekr2014-11-30
* Make hud use fontengine toosapier2014-11-30
* Scale form elements consistentlyZefram2014-11-30
* Implement proper font handlingsapier2014-11-30
* noise: Throw exception on noise allocation failurekwolekr2014-11-29
* Fix MSVC compiling error (argc/argv not available to pass to init_gettext)SmallJoker2014-11-29
* Improve Lua API documentationCiaran Gultnieks2014-11-28
* Update minetest.po (Japanese)Rui2014-11-28
* Fix regression with command line --go optionCraig Robbins2014-11-28
* Add minetest.copy_table(table) To get rid off the "table references"SmallJoker2014-11-27
* Don't corrupt stepheight when setting other propertiesCiaran Gultnieks2014-11-26
* Wield: always obey anisotropic_filter setting, not just for hi res texturesKahrl2014-11-26
* EMF_USE_MIP_MAPS was introduced in Irrlicht 1.8, don't use in 1.7.3 or belowKahrl2014-11-26
* added enable_build_where_you_stand optionSokomine2014-11-27
* Wieldmesh: don't force anisotropic filtering on, instead disable mipmapsKahrl2014-11-26
* Fix some undeclared global variablesCraig Davison2014-11-26
* Only set the camera update keymap when using a debug buildrubenwardy2014-11-26
* Fix Android main menu crash, and user data directory check.Kodexky2014-11-26
* Increase step smoothing to fit 1:1 stairs (works well on slabs too)Calinou2014-11-26
* Fix client "double saving" simple singleplayer local mapsCraig Robbins2014-11-26
* Fixes for Android build errors. Enable sensor landscape rotation.KodexKy2014-11-25
* Adjust the values of dirs1 and dirs2 so that rotate_and_place orients texture...dvere2014-11-25
* Make duplicate warning checks file and line specificShadowNinja2014-11-23
* Fix console spaming by debug function on mod checking for global variable to ...sapier2014-11-23
* Port createForsythOptimizedMesh from Irrlicht 1.8RealBadAngel2014-11-23
* Fix regression with USE_REDIS (refactor_main)Craig Robbins2014-11-23
* refactor main.cppCraig Robbins2014-11-23
* Fix smooth lighting (ambient occlusion)Craig Robbins2014-11-22
* Fix compiling if no endian.h foundPavel Puchkin2014-11-22
* Update credits menuShadowNinja2014-11-21
* serialize.h: use machine native byte swapping if available, fall-back to prev...Rafael Reilova2014-11-21
* Optimise functions from CNodeDefManager and VoxelManipulatorCraig Robbins2014-11-21
* Optimise getTileInfo()Craig Robbins2014-11-21
* Mgv5 1 up 1 down overgeneration for biome surface continuityparamat2014-11-20
* Mgv5 get ground level at point function. Fast spawn player versionparamat2014-11-20
* Simplify loading of Android version of menuShadowNinja2014-11-20
* Fix leaking global in texture pack menuShadowNinja2014-11-20
an class="hl kwa">elseif clients_percent <= 90 then clients_color = '#ffdc97' -- 60-90%: yellow else clients_color = '#ffba97' -- 90-100%: orange end details = details .. clients_color .. ',' .. render_client_count(spec.clients) .. ',' .. '/,' .. render_client_count(spec.clients_max) .. ',' else details = details .. ',?,/,?,' end if spec.creative then details = details .. "1," else details = details .. "0," end if spec.damage then details = details .. "1," else details = details .. "0," end if spec.pvp then details = details .. "1," else details = details .. "0," end return details .. text end -------------------------------------------------------------------------------- os.tempfolder = function() if core.setting_get("TMPFolder") then return core.setting_get("TMPFolder") .. DIR_DELIM .. "MT_" .. math.random(0,10000) end local filetocheck = os.tmpname() os.remove(filetocheck) local randname = "MTTempModFolder_" .. math.random(0,10000) if DIR_DELIM == "\\" then local tempfolder = os.getenv("TEMP") return tempfolder .. filetocheck else local backstring = filetocheck:reverse() return filetocheck:sub(0,filetocheck:len()-backstring:find(DIR_DELIM)+1) ..randname end end -------------------------------------------------------------------------------- function menu_render_worldlist() local retval = "" local current_worldlist = menudata.worldlist:get_list() for i,v in ipairs(current_worldlist) do if retval ~= "" then retval = retval .."," end retval = retval .. core.formspec_escape(v.name) .. " \\[" .. core.formspec_escape(v.gameid) .. "\\]" end return retval end -------------------------------------------------------------------------------- function menu_handle_key_up_down(fields,textlist,settingname) if fields["key_up"] then local oldidx = core.get_textlist_index(textlist) if oldidx ~= nil and oldidx > 1 then local newidx = oldidx -1 core.setting_set(settingname, menudata.worldlist:get_raw_index(newidx)) end return true end if fields["key_down"] then local oldidx = core.get_textlist_index(textlist) if oldidx ~= nil and oldidx < menudata.worldlist:size() then local newidx = oldidx + 1 core.setting_set(settingname, menudata.worldlist:get_raw_index(newidx)) end return true end return false end -------------------------------------------------------------------------------- function asyncOnlineFavourites() menudata.favorites = {} core.handle_async( function(param) return core.get_favorites("online") end, nil, function(result) menudata.favorites = result core.event_handler("Refresh") end ) end -------------------------------------------------------------------------------- function text2textlist(xpos,ypos,width,height,tl_name,textlen,text,transparency) local textlines = core.splittext(text,textlen) local retval = "textlist[" .. xpos .. "," .. ypos .. ";" .. width .. "," .. height .. ";" .. tl_name .. ";" for i=1, #textlines, 1 do textlines[i] = textlines[i]:gsub("\r","") retval = retval .. core.formspec_escape(textlines[i]) .. "," end retval = retval .. ";0;" if transparency then retval = retval .. "true" end retval = retval .. "]" return retval end