Skip to content
Snippets Groups Projects
Commit 9794b6c0 authored by DarkGod's avatar DarkGod
Browse files

Upscaled the size of many lore pictures

parent 2df0c37f
No related branches found
No related tags found
No related merge requests found
Pipeline #
Showing
with 19 additions and 4 deletions
game/engines/default/data/gfx/background/tome2.png

1.37 MiB | W: | H:

game/engines/default/data/gfx/background/tome2.png

1.3 MiB | W: | H:

game/engines/default/data/gfx/background/tome2.png
game/engines/default/data/gfx/background/tome2.png
game/engines/default/data/gfx/background/tome2.png
game/engines/default/data/gfx/background/tome2.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -165,6 +165,13 @@ function _M:makeFrame(base, w, h, iw, ih)
f.b5 = self:getUITexture(base.."5.png")
if not w then w = iw + f.b4.w + f.b6.w end
if not h then h = ih + f.b8.h + f.b2.h end
if self.ui_conf[self.ui].specifics and self.ui_conf[self.ui].specifics[base] then
local conf = self.ui_conf[self.ui].specifics[base]
w = w + (conf.offset_w or 0)
h = h + (conf.offset_h or 0)
f.ox = conf.offset_x or 0
f.oy = conf.offset_y or 0
end
end
f.w = math.floor(w)
f.h = math.floor(h)
......@@ -179,8 +186,8 @@ function _M:drawFrame(f, x, y, r, g, b, a, w, h, total_w, total_h, loffset_x, lo
total_w = total_w or 0
total_h = total_h or 0
x = math.floor(x)
y = math.floor(y)
x = math.floor(x) + (f.ox or 0)
y = math.floor(y) + (f.oy or 0)
f.w = math.floor(w or f.w)
f.h = math.floor(h or f.h)
......
......@@ -602,10 +602,16 @@ function _M:setupUI(resizex, resizey, on_resize, addmw, addmh)
mw = mw + self.frame.ox1 - self.frame.ox2
end
if on_resize then on_resize(resizex and mw or self.w, resizey and mh or self.h) end
if on_resize then
local rw, rh = on_resize(resizex and mw or self.w, resizey and mh or self.h)
if rw and rh then resizex, resizey = true, true mw, mh = rw, rh end
end
nw, nh = resizex and mw or self.w, resizey and mh or self.h
else
if on_resize then on_resize(self.w, self.h) end
if on_resize then
local rw, rh = on_resize(self.w, self.h)
if rw and rh then self.w, self.h = rw, rh end
end
nw, nh = self.w, self.h
end
......
......@@ -2087,6 +2087,7 @@ function _M:setupCommands()
print("===============")
end end,
[{"_g","ctrl"}] = function() if config.settings.cheat then
package.loaded["engine.ui.Textzone"] = nil
package.loaded["engine.ui.Dialog"] = nil
package.loaded["engine.dialogs.Chat"] = nil
package.loaded["mod.dialogs.Chat"] = nil
......
......@@ -109,6 +109,7 @@ function _M:relearningLore(v)
end
function _M:learnLore(lore, nopopup, silent, nostop, after_learn_cb)
print("[LORE] learning..", lore)
local l = self:getLore(lore, silent)
if not l then return end
local learnt = false
......
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_down.png

27.4 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_down.png

25.7 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_down.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_down.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_down.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_down.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_up.png

34.2 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_up.png

31.2 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_up.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_up.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_up.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_left_up.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_down.png

27.6 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_down.png

25.7 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_down.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_down.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_down.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_down.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_up.png

34.2 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_up.png

31.3 KiB | W: | H:

game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_up.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_up.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_up.png
game/modules/tome/data/gfx/chat-ui/chat_ui_deco_padding_right_up.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/closing_farportal.png

300 KiB | W: | H:

game/modules/tome/data/gfx/lore/closing_farportal.png

628 KiB | W: | H:

game/modules/tome/data/gfx/lore/closing_farportal.png
game/modules/tome/data/gfx/lore/closing_farportal.png
game/modules/tome/data/gfx/lore/closing_farportal.png
game/modules/tome/data/gfx/lore/closing_farportal.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/farportal_entering.png

483 KiB | W: | H:

game/modules/tome/data/gfx/lore/farportal_entering.png

1.05 MiB | W: | H:

game/modules/tome/data/gfx/lore/farportal_entering.png
game/modules/tome/data/gfx/lore/farportal_entering.png
game/modules/tome/data/gfx/lore/farportal_entering.png
game/modules/tome/data/gfx/lore/farportal_entering.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/fortress_takeoff.png

464 KiB | W: | H:

game/modules/tome/data/gfx/lore/fortress_takeoff.png

685 KiB | W: | H:

game/modules/tome/data/gfx/lore/fortress_takeoff.png
game/modules/tome/data/gfx/lore/fortress_takeoff.png
game/modules/tome/data/gfx/lore/fortress_takeoff.png
game/modules/tome/data/gfx/lore/fortress_takeoff.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/inside_caldizar_fortress.png

388 KiB | W: | H:

game/modules/tome/data/gfx/lore/inside_caldizar_fortress.png

810 KiB | W: | H:

game/modules/tome/data/gfx/lore/inside_caldizar_fortress.png
game/modules/tome/data/gfx/lore/inside_caldizar_fortress.png
game/modules/tome/data/gfx/lore/inside_caldizar_fortress.png
game/modules/tome/data/gfx/lore/inside_caldizar_fortress.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/kryl_feijan_sacrificial_altar.png

312 KiB | W: | H:

game/modules/tome/data/gfx/lore/kryl_feijan_sacrificial_altar.png

581 KiB | W: | H:

game/modules/tome/data/gfx/lore/kryl_feijan_sacrificial_altar.png
game/modules/tome/data/gfx/lore/kryl_feijan_sacrificial_altar.png
game/modules/tome/data/gfx/lore/kryl_feijan_sacrificial_altar.png
game/modules/tome/data/gfx/lore/kryl_feijan_sacrificial_altar.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/nur-barrier.png

524 KiB | W: | H:

game/modules/tome/data/gfx/lore/nur-barrier.png

729 KiB | W: | H:

game/modules/tome/data/gfx/lore/nur-barrier.png
game/modules/tome/data/gfx/lore/nur-barrier.png
game/modules/tome/data/gfx/lore/nur-barrier.png
game/modules/tome/data/gfx/lore/nur-barrier.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/shertul_fortress_lore1.png

578 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore1.png

930 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore1.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore1.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore1.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore1.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/shertul_fortress_lore2.png

542 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore2.png

883 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore2.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore2.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore2.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore2.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/shertul_fortress_lore3.png

532 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore3.png

850 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore3.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore3.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore3.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore3.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/shertul_fortress_lore4.png

485 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore4.png

808 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore4.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore4.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore4.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore4.png
  • 2-up
  • Swipe
  • Onion skin
game/modules/tome/data/gfx/lore/shertul_fortress_lore5.png

541 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore5.png

883 KiB | W: | H:

game/modules/tome/data/gfx/lore/shertul_fortress_lore5.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore5.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore5.png
game/modules/tome/data/gfx/lore/shertul_fortress_lore5.png
  • 2-up
  • Swipe
  • Onion skin
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