Skip to content
Snippets Groups Projects
Commit 448d044d authored by dg's avatar dg
Browse files

mhh

git-svn-id: http://svn.net-core.org/repos/t-engine4@5756 51575b47-30f0-44d4-a5cc-537603b46e54
parent 46f2c32a
No related branches found
No related tags found
No related merge requests found
game/engines/default/data/gfx/background/tome2.png

734 KiB

......@@ -398,13 +398,14 @@ function _M:loadScreen(mod)
local has_max = mod.loading_wait_ticks
if has_max then core.wait.addMaxTicks(has_max) end
local i, max, dir = has_max or 20, has_max or 20, -1
local backname = util.getval(mod.background_name)
local bkgs = core.display.loadImage("/data/gfx/background/"..mod.short_name..".png") or core.display.loadImage("/data/gfx/background/tome.png")
local bkgs = core.display.loadImage("/data/gfx/background/"..backname..".png") or core.display.loadImage("/data/gfx/background/tome.png")
local sw, sh = core.display.size()
local bw, bh = bkgs:getSize()
local bkg = {bkgs:glTexture()}
local logo = {(core.display.loadImage("/data/gfx/background/"..mod.short_name.."-logo.png") or core.display.loadImage("/data/gfx/background/tome-logo.png")):glTexture()}
local logo = {(core.display.loadImage("/data/gfx/background/"..backname.."-logo.png") or core.display.loadImage("/data/gfx/background/tome-logo.png")):glTexture()}
local left = {core.display.loadImage("/data/gfx/waiter/left.png"):glTexture()}
local right = {core.display.loadImage("/data/gfx/waiter/right.png"):glTexture()}
......
......@@ -30,3 +30,4 @@ Bootmenu!
]]
starter = "mod.load"
loading_wait_ticks = 1600
background_name = {"tome","tome2"}
......@@ -56,6 +56,7 @@ loading_wait_ticks = 260
profile_stats_fields = {"artifacts", "characters", "deaths", "uniques", "scores", "lore", "escorts"}
allow_userchat = true -- We can talk to the online community
no_get_name = true -- Name setting for new characters is done by the module itself
background_name = {"tome","tome2"}
load_tips = {
{image="/data/gfx/shockbolt/npc/humanoid_human_linaniil_supreme_archmage.png", img_y_off=-50, text=[[Though magic is still shunned in Maj'Eyal, rumours abound of secret havens of mages.]]},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment