aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAge
...
* Log server announce on updates and deletes too (#10177)Tyler Schwend2020-09-26
* Remove null bytes from TOCLIENT_BLOCKDATA (#10433)luk3yx2020-09-26
* Correct erroneous reported max lag with prometheus (#10427)Buckaroo Banzai2020-09-25
* Fix horizontal/vertical merging bug of hardware-colored framed glass (#10417)Paramat2020-09-24
* Replace MyEventReceiver KeyList with std::unordered_set (#10419)Vincent Robinson2020-09-23
* Settings: Fix unittest memory leak, change input typesSmallJoker2020-09-22
* Fix chat/infotext overlap if many chat lines (#10399)Wuzzy2020-09-22
* Settings: Fix crash on exit due to group double-freeSmallJoker2020-09-21
* Record player existence in dymmy database.Lars2020-09-20
* Clean up server-side translations, remove global variable (#10075)rubenwardy2020-09-16
* Remove "generate normal maps" feature (#10313)hecks2020-09-14
* Remove Thread::kill() and related unittest (#10317)Sebastien Marie2020-09-10
* Add NetBSD cpu affinity support code (#10378)David CARLIER2020-09-09
* Darwin platform build fix (#10376)David CARLIER2020-09-09
* Inventory: Protect Craft and Drop actions (#10353)SmallJoker2020-09-07
* Prevent interacting with items out of the hotbar (#10359)Lejo2020-09-04
* Scale inventory image for scaled allfaces nodes (#10225)Wuzzy2020-09-04
* Fix inventory swapping not calling all callbacks (#9923)Lars Müller2020-09-04
* Add 'ores' global mapgen flag (#10276)Paramat2020-09-03
* Change default ambient occlusion gamma to 1.8 (#10185)sfan52020-09-01
* [2] Code cleanup in serverpackethandler (#9349)HybridDog2020-09-01
* Add compass HUD element (#9312)EvidenceB2020-08-29
* Make bgcolor tint button background images (#9818)Hugues Ross2020-08-29
* Prevent players accessing inventories of other players (#10341)Lars Müller2020-08-29
* Mapgen: Fix on-by-default flags broken since eca6ee9 (#10318)SmallJoker2020-08-29
* Lua API: Register missing get_texture_mod function (#10338)karamel592020-08-27
* Android: drop simple MainMenu (#10227)Maksim2020-08-27
* NetBSD build fix proposal. (#10308)David CARLIER2020-08-25
* shaders: Fix transparency on GC7000L (#10036)mntmn2020-08-25
* Properly handle mod-errors in on_shutdownDesour2020-08-24
* darken tabheader background color (#10299)Kezi2020-08-23
* Avoid drawing clipped out formspec elements (#10095)EvidenceB2020-08-23
* Fix MSVC compiler warnings (#10197)adrido2020-08-23
* Fix light overflow of u8 if light is saturated at 255 (#10305)BenjaminRi2020-08-23
* Complete Haiku platform support. (#10311)David CARLIER2020-08-23
* Load media from subfolders (#9065)DS2020-08-20
* Define environ variable on OpenBSD (#10302)Sebastien Marie2020-08-20
* Fix missing translation call in hypertext (#10296)Pierre-Yves Rollo2020-08-20
* Add gradients and borders to FormSpec boxes (#8676)v-rob2020-08-19
* Optimize formspec form size (#10144)v-rob2020-08-19
* Clean up sound_fade (#10119)hecks2020-08-19
* Allow the ABM time budget to be configurable.Lars2020-08-18
* ContentDB: Add Update All and download queuing (#9995)rubenwardy2020-08-17
* Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND2020-08-15
* Render nodeboxes with opaque material if possible (#10122)sfan52020-08-12
* Fix precision not working in hud_change (#10186)Lars Müller2020-08-12
* Add font styling options to tables and textlists (#10203)v-rob2020-08-11
* Mapgen Flat: Add caverns, disabled by default (#9913)Paramat2020-08-05
* Implement override.txt support for special tiles (#10140)Hugues Ross2020-08-04
* Fix build for Visual Studio (explicitly cast pointers) (#10256)Seeker2020-08-03
t;tab_simple_main.lua") else tabs.singleplayer = dofile(menupath .. DIR_DELIM .. "tab_singleplayer.lua") tabs.multiplayer = dofile(menupath .. DIR_DELIM .. "tab_multiplayer.lua") tabs.server = dofile(menupath .. DIR_DELIM .. "tab_server.lua") tabs.texturepacks = dofile(menupath .. DIR_DELIM .. "tab_texturepacks.lua") end -------------------------------------------------------------------------------- local function main_event_handler(tabview, event) if event == "MenuQuit" then core.close() end return true end -------------------------------------------------------------------------------- local function init_globals() -- Init gamedata gamedata.worldindex = 0 if PLATFORM == "Android" then local world_list = core.get_worlds() local world_index local found_singleplayerworld = false for i, world in ipairs(world_list) do if world.name == "singleplayerworld" then found_singleplayerworld = true world_index = i break end end if not found_singleplayerworld then core.create_world("singleplayerworld", 1) world_list = core.get_worlds() for i, world in ipairs(world_list) do if world.name == "singleplayerworld" then world_index = i break end end end gamedata.worldindex = world_index else menudata.worldlist = filterlist.create( core.get_worlds, compare_worlds, -- Unique id comparison function function(element, uid) return element.name == uid end, -- Filter function function(element, gameid) return element.gameid == gameid end ) menudata.worldlist:add_sort_mechanism("alphabetic", sort_worlds_alphabetic) menudata.worldlist:set_sortmode("alphabetic") if not core.setting_get("menu_last_game") then local default_game = core.setting_get("default_game") or "minetest" core.setting_set("menu_last_game", default_game) end mm_texture.init() end -- Create main tabview local tv_main = tabview_create("maintab", {x = 12, y = 5.4}, {x = 0, y = 0}) if PLATFORM == "Android" then tv_main:add(tabs.simple_main) tv_main:add(tabs.settings) else tv_main:set_autosave_tab(true) tv_main:add(tabs.singleplayer) tv_main:add(tabs.multiplayer) tv_main:add(tabs.server) tv_main:add(tabs.settings) tv_main:add(tabs.texturepacks) end tv_main:add(tabs.mods) tv_main:add(tabs.credits) tv_main:set_global_event_handler(main_event_handler) tv_main:set_fixed_size(false) if PLATFORM ~= "Android" then tv_main:set_tab(core.setting_get("maintab_LAST")) end ui.set_default("maintab") tv_main:show() -- Create modstore ui if PLATFORM == "Android" then modstore.init({x = 12, y = 6}, 3, 2) else modstore.init({x = 12, y = 8}, 4, 3) end ui.update() core.sound_play("main_menu", true) end init_globals()