aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorAge
...
| * Made the initial loading screen slightly more alivePerttu Ahola2011-06-26
| * added screenshot key F12 (from spongie)Perttu Ahola2011-06-26
| * Added CPT_FACEDIR_SIMPLE calculation, finally, as figured out by spongiePerttu Ahola2011-06-26
| * changed one "if" to "else if" in content_mapblock.cppPerttu Ahola2011-06-26
| * reorganized stuffPerttu Ahola2011-06-26
| * tuned mapgenPerttu Ahola2011-06-26
| * changed water color in farmeshPerttu Ahola2011-06-26
| * updated noise stuffPerttu Ahola2011-06-26
| * reorganized a lot of stuff and modified mapgen and objects slightly while doi...Perttu Ahola2011-06-26
| * improved player fall damage detectionPerttu Ahola2011-06-26
| * added and commented out some debug outputPerttu Ahola2011-06-26
| * even more code refactoringPerttu Ahola2011-06-26
| * more reorganizing of map codePerttu Ahola2011-06-26
| * cleaned map stuffPerttu Ahola2011-06-26
* | * possibly improved water flow, by flyx86Nils Dagsson Moskopp2011-07-14
* | * possible fix for large cubic holes in mapNils Dagsson Moskopp2011-07-13
* | * slightly different values for 3d perlin noiseNils Dagsson Moskopp2011-07-13
* | * regression fix, papyrus should appear again nowNils Dagsson Moskopp2011-07-13
* | * README updatedNils Dagsson Moskopp2011-07-11
* | + farmesh config optionsJiří Procházka2011-07-11
* | * amended upstream branch notesNils Dagsson Moskopp2011-07-09
* | + notes regarding upstream conversion from mercurial using hg-fast-exportNils Dagsson Moskopp2011-07-09
* | Merge pull request #13 from Bahamada/upstream_mergeNils Dagsson Moskopp2011-06-27
|\ \
| * | backported cactus, papyrus and claySebastian Rühl2011-06-26
| * | small fixSebastian Rühl2011-06-26
| * | Merge branch 'master' of https://github.com/erlehmann/minetest-delta.git into...Sebastian Rühl2011-06-26
| |\ \ | |/ / |/| / | |/
* | + rail block bounding boxNils Dagsson Moskopp2011-06-08
* | * README updatedNils Dagsson Moskopp2011-06-07
* | + railNils Dagsson Moskopp2011-06-07
* | * README updatedNils Dagsson Moskopp2011-06-03
* | + bookshelf in minetestmapper, same color as woodNils Dagsson Moskopp2011-06-03
* | * point out setInventoryTextureCube() is broken with a FIXMENils Dagsson Moskopp2011-06-03
* | + paper, book, bookshelfNils Dagsson Moskopp2011-06-03
* | * README updatedNils Dagsson Moskopp2011-06-03
* | + papyrus in minetestmapperNils Dagsson Moskopp2011-06-03
* | + papyrusNils Dagsson Moskopp2011-06-03
* | * made cactus color darkerNils Dagsson Moskopp2011-06-03
* | + check if sectors/sectors2 directories exist before attempting to read themNils Dagsson Moskopp2011-06-02
* | * encoding fixNils Dagsson Moskopp2011-06-02
* | * tabs to spacesNils Dagsson Moskopp2011-06-02
* | * ignore minetestmapper outputNils Dagsson Moskopp2011-06-02
* | + sandstone color value now in minetestmapperNils Dagsson Moskopp2011-06-02
* | + minetestmapper2, colors modified for Minetest ΔNils Dagsson Moskopp2011-06-02
* | * README updatedNils Dagsson Moskopp2011-06-02
* | Merge pull request #1 from TeddyDesTodes/masterNils Dagsson Moskopp2011-06-01
|\ \
| * \ Merge remote-tracking branch 'upstream/master'teddydestodes2011-06-01
| |\ \ | |/ / |/| |
* | | * README updatedNils Dagsson Moskopp2011-06-01
* | | Merge pull request #5 from bucket-T/masterNils Dagsson Moskopp2011-06-01
|\ \ \
* | | | * README updatedNils Dagsson Moskopp2011-06-01
| | * | added new submenu for key assignmentteddydestodes2011-06-01
s="hl kwa">end local function get_formspec(tabview, name, tabdata) local retval = "" local index = filterlist.get_current_index(menudata.worldlist, tonumber(core.setting_get("mainmenu_last_selected_world")) ) retval = retval .. "button[4,4.15;2.6,0.5;world_delete;".. fgettext("Delete") .. "]" .. "button[6.5,4.15;2.8,0.5;world_create;".. fgettext("New") .. "]" .. "button[9.2,4.15;2.55,0.5;world_configure;".. fgettext("Configure") .. "]" .. "button[8.5,4.95;3.25,0.5;play;".. fgettext("Play") .. "]" .. "label[4,-0.25;".. fgettext("Select World:") .. "]".. "checkbox[0.25,0.25;cb_creative_mode;".. fgettext("Creative Mode") .. ";" .. dump(core.setting_getbool("creative_mode")) .. "]".. "checkbox[0.25,0.7;cb_enable_damage;".. fgettext("Enable Damage") .. ";" .. dump(core.setting_getbool("enable_damage")) .. "]".. "textlist[4,0.25;7.5,3.7;sp_worlds;" .. menu_render_worldlist() .. ";" .. index .. "]" return retval end local function main_button_handler(this, fields, name, tabdata) assert(name == "singleplayer") local world_doubleclick = false if fields["sp_worlds"] ~= nil then local event = core.explode_textlist_event(fields["sp_worlds"]) if event.type == "DCL" then world_doubleclick = true end if event.type == "CHG" then core.setting_set("mainmenu_last_selected_world", menudata.worldlist:get_raw_index(core.get_textlist_index("sp_worlds"))) return true end end if menu_handle_key_up_down(fields,"sp_worlds","mainmenu_last_selected_world") then return true end if fields["cb_creative_mode"] then core.setting_set("creative_mode", fields["cb_creative_mode"]) return true end if fields["cb_enable_damage"] then core.setting_set("enable_damage", fields["cb_enable_damage"]) return true end if fields["play"] ~= nil or world_doubleclick or fields["key_enter"] then local selected = core.get_textlist_index("sp_worlds") if selected ~= nil then gamedata.selected_world = menudata.worldlist:get_raw_index(selected) gamedata.singleplayer = true core.start() end return true end if fields["world_create"] ~= nil then local create_world_dlg = create_create_world_dlg(true) create_world_dlg:set_parent(this) this:hide() create_world_dlg:show() mm_texture.update("singleplayer",current_game()) return true end if fields["world_delete"] ~= nil then local selected = core.get_textlist_index("sp_worlds") if selected ~= nil and selected <= menudata.worldlist:size() then local world = menudata.worldlist:get_list()[selected] if world ~= nil and world.name ~= nil and world.name ~= "" then local index = menudata.worldlist:get_raw_index(selected) local delete_world_dlg = create_delete_world_dlg(world.name,index) delete_world_dlg:set_parent(this) this:hide() delete_world_dlg:show() mm_texture.update("singleplayer",current_game()) end end return true end if fields["world_configure"] ~= nil then local selected = core.get_textlist_index("sp_worlds") if selected ~= nil then local configdialog = create_configure_world_dlg( menudata.worldlist:get_raw_index(selected)) if (configdialog ~= nil) then configdialog:set_parent(this) this:hide() configdialog:show() mm_texture.update("singleplayer",current_game()) end end return true end end local function on_change(type, old_tab, new_tab) local buttonbar = ui.find_by_name("game_button_bar") if ( buttonbar == nil ) then singleplayer_refresh_gamebar() buttonbar = ui.find_by_name("game_button_bar") end