aboutsummaryrefslogtreecommitdiff
path: root/build/android
Commit message (Expand)AuthorAge
...
* Bump version to 0.4.14sfan52016-05-15
* Fix android build by fixing patch line endingsest312016-05-14
* Fix locked hardware buttons on AndroidMaksim Gamarnik2016-05-14
* Android: download deps using httpsest312016-05-12
* Android: update openssl to 1.0.2hest312016-05-12
* Upgrade Android build to Gradle build systemShadowNinja2016-04-28
* Android: Update dependencies, GMP was required as a dependencyMaksim Gamarnik2016-04-26
* Move AreaStore to utilShadowNinja2016-03-07
* Update Android dependencies, -O3 optimization, remove old ARMv5 configMaksim Gamarnik2016-03-05
* Fix android buildest312016-02-23
* Android: hardcode leveldb revisionest312016-02-22
* Fix compilation warning if compiling for android with c++11est312016-01-23
* Add Valleys mapgen.Duane Robertson2016-01-14
* Android: shorten initial progress bar text way more simpleSapier2015-12-23
* Android: Tell make about sub-makes to speed up buildest312015-12-23
* Android: Fix extra files being copied to the APKShadowNinja2015-12-20
* Android: Remove unused build target curl_binarySapier2015-12-17
* Android: Don't put html docs to apkSapier2015-12-17
* Android: Remove non freetype fonts from apkSapier2015-12-17
* Fix android buildest312015-12-11
* Android: hardcode irrlicht revision, update other dependenciesest312015-11-16
* Mapgen: Add flat mapgen in hidden formparamat2015-11-11
* Android: statically load iconv libraryest312015-10-24
* Android/Mapgen: Add fractal mapgen file to android makefilesparamat2015-10-06
* Update leveldb git urlest312015-09-08
* Add setting for mods to copy to Android appShadowNinja2015-08-24
* Fix Android build of threading sourcesShadowNinja2015-08-24
* Clean up threadingShadowNinja2015-08-23
* Fix wrong android versionNameest312015-08-21
* Bump version to 0.4.13est312015-08-20
* Android: fix sound issue, and gitignoreest312015-08-02
* Android: Add githash header to spare rebuilds after new commitsest312015-08-01
* Android: speed up rebuild, and prevent race condition failest312015-07-31
* Fix 0.4.11 githash for androidest312015-07-31
* Android: fix horrible libiconv buildest312015-07-29
* Android: Fix minor makefile bugsest312015-07-29
* Add AreaStore data structureest312015-07-27
* Add minimap featureRealBadAngel2015-06-27
* Android: use loop inside makefile to spare repetitionest312015-06-20
* Add utf-8 conversion utilities and re-add intlGUIEditBoxest312015-06-13
* Reposition irrlicht timestamp in makefileest312015-06-11
* Split ObjDef/ObjDefManager out to objdef.cppkwolekr2015-05-18
* Add mod securityShadowNinja2015-05-16
* Fix libgmp for Androidest312015-05-15
* Make early protocol auth mechanism generic, and add SRPest312015-05-11
* Add LibGMPest312015-05-11
* Tests: Add schematic unittestskwolekr2015-05-08
* Tests: Add NodeResolver unittestskwolekr2015-05-05
* Tests: Add ObjDef unittestskwolekr2015-05-03
* Fix MSVC compatibilitykwolekr2015-04-29
hl kwd">setting_get("bind_address")) .. "]" .. "field[2.8,5.2;1.25,0.5;te_serverport;" .. fgettext("Port") .. ";" .. core.formspec_escape(core.setting_get("port")) .. "]" else retval = retval .. "field[0.55,5.2;3.5,0.5;te_serverport;" .. fgettext("Server Port") .. ";" .. core.formspec_escape(core.setting_get("port")) .. "]" end retval = retval .. "textlist[4,0.25;7.5,3.7;srv_worlds;" .. menu_render_worldlist() .. ";" .. index .. "]" return retval end -------------------------------------------------------------------------------- local function main_button_handler(this, fields, name, tabdata) local world_doubleclick = false if fields["srv_worlds"] ~= nil then local event = core.explode_textlist_event(fields["srv_worlds"]) local selected = core.get_textlist_index("srv_worlds") menu_worldmt_legacy(selected) 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("srv_worlds"))) return true end end if menu_handle_key_up_down(fields,"srv_worlds","mainmenu_last_selected_world") then return true end if fields["cb_creative_mode"] then core.setting_set("creative_mode", fields["cb_creative_mode"]) local selected = core.get_textlist_index("srv_worlds") menu_worldmt(selected, "creative_mode", fields["cb_creative_mode"]) return true end if fields["cb_enable_damage"] then core.setting_set("enable_damage", fields["cb_enable_damage"]) local selected = core.get_textlist_index("srv_worlds") menu_worldmt(selected, "enable_damage", fields["cb_enable_damage"]) return true end if fields["cb_server_announce"] then core.setting_set("server_announce", fields["cb_server_announce"]) local selected = core.get_textlist_index("srv_worlds") menu_worldmt(selected, "server_announce", fields["cb_server_announce"]) return true end if fields["start_server"] ~= nil or world_doubleclick or fields["key_enter"] then local selected = core.get_textlist_index("srv_worlds") gamedata.selected_world = menudata.worldlist:get_raw_index(selected) if selected ~= nil and gamedata.selected_world ~= 0 then gamedata.playername = fields["te_playername"] gamedata.password = fields["te_passwd"] gamedata.port = fields["te_serverport"] gamedata.address = "" core.setting_set("port",gamedata.port) if fields["te_serveraddr"] ~= nil then core.setting_set("bind_address",fields["te_serveraddr"]) end --update last game local world = menudata.worldlist:get_raw_element(gamedata.selected_world) if world then local game, index = gamemgr.find_by_gameid(world.gameid) core.setting_set("menu_last_game", game.id) end core.start() else gamedata.errormessage = fgettext("No world created or selected!") 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) create_world_dlg:show() this:hide() return true end if fields["world_delete"] ~= nil then local selected = core.get_textlist_index("srv_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) delete_world_dlg:show() this:hide() end end return true end if fields["world_configure"] ~= nil then local selected = core.get_textlist_index("srv_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) configdialog:show() this:hide() end end return true end return false end -------------------------------------------------------------------------------- return { name = "server", caption = fgettext("Server"), cbf_formspec = get_formspec, cbf_button_handler = main_button_handler, on_change = nil }