MainMenu: cleanup
|
@ -49,6 +49,8 @@ desktop.ini
|
|||
/clientmods/*
|
||||
!/clientmods/preview/
|
||||
/client/mod_storage/
|
||||
/textures/base/hosting/
|
||||
/builtin/mainmenu/hosting/
|
||||
|
||||
## Configuration/log files
|
||||
debug.txt
|
||||
|
|
|
@ -78,7 +78,7 @@ local function get_formspec(self)
|
|||
|
||||
if not self.hidden and (self.parent == nil or not self.parent.hidden) then
|
||||
local name = self.tablist[self.last_tab_index].name
|
||||
local tabname = (name == "local" or name == "online" or name == "hosting") and name
|
||||
local tabname = (name == "local" or name == "online") and name
|
||||
|
||||
if self.parent == nil then
|
||||
local tsize = self.tablist[self.last_tab_index].tabsize or
|
||||
|
|
|
@ -19,7 +19,7 @@ local function get_formspec()
|
|||
local index = filterlist.get_current_index(menudata.worldlist,
|
||||
tonumber(core.settings:get("mainmenu_last_selected_world")))
|
||||
local creative_checkbox = core.settings:get_bool("creative_mode") and
|
||||
"local_creative_checkbox" or "blank"
|
||||
"creative_checkbox" or "blank"
|
||||
|
||||
local retval =
|
||||
"image_button[0,4.84;3.31,0.92;" ..
|
||||
|
@ -37,9 +37,12 @@ local function get_formspec()
|
|||
"tooltip[play;".. fgettext("Play Game") .. "]" ..
|
||||
|
||||
"image_button[7.33,3.09;3.73,0.86;" ..
|
||||
core.formspec_escape(defaulttexturedir ..
|
||||
creative_checkbox) ..
|
||||
".png;cb_creative_mode;;true;false]" ..
|
||||
core.formspec_escape(defaulttexturedir) .. "creative_bg.png" ..
|
||||
";;;true;false]" ..
|
||||
|
||||
"image_button[7.33,3.09;3.73,0.86;" ..
|
||||
core.formspec_escape(defaulttexturedir) .. creative_checkbox ..
|
||||
".png;cb_creative_mode;;true;false]" ..
|
||||
"tooltip[cb_creative_mode;".. fgettext("Creative mode") .. "]" ..
|
||||
|
||||
"tableoptions[background=#27233F;border=false]" ..
|
||||
|
|
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 418 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 412 B |