Waypoint viewer: use an animate flag

This commit is contained in:
Jean-Patrick Guerrero 2022-10-02 13:49:06 +02:00
parent 34fa63519e
commit dd8657ab56
4 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ local function get_isometric_view(fs, pos, X, Y, t, cubes, depth, high)
end end
shift += (base_depth and 0.45 or 0.95) shift += (base_depth and 0.45 or 0.95)
image(2.7, Y + shift, 0.3, 0.3, PNG.flag) animated_image(2.75, Y + shift, 3/14, 0.3, "i3_flag_anim.png", 4, 150)
end end
local function get_waypoint_fs(fs, data, player, yextra, ctn_len) local function get_waypoint_fs(fs, data, player, yextra, ctn_len)

View File

@ -44,7 +44,7 @@ local PNG = {
nonvisible = "i3_non_visible.png", nonvisible = "i3_non_visible.png",
exit = "i3_exit.png", exit = "i3_exit.png",
home = "i3_home.png", home = "i3_home.png",
flag = "i3_flag.png", flag = "i3_flag_anim.png",
edit = "i3_edit.png", edit = "i3_edit.png",
no_result = "i3_no_result.png", no_result = "i3_no_result.png",
find_more = "i3_find_more.png", find_more = "i3_find_more.png",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 745 B

BIN
textures/i3_flag_anim.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B